Skip to content

Commit

Permalink
nvchecker: update to 1.6
Browse files Browse the repository at this point in the history
- use Python 3.8
- add noarch
- enable livecheck
- do reinplace in post-patch phase
- assume maintainership
  • Loading branch information
reneeotten committed May 23, 2020
1 parent e53a894 commit db3eb13
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions devel/nvchecker/Portfile
Expand Up @@ -4,23 +4,30 @@ PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0

github.setup lilydjwg nvchecker 1.4.4 v
github.setup lilydjwg nvchecker 1.6 v
revision 0
github.tarball_from archive

platforms darwin
supported_archs noarch
categories-prepend devel
license MIT
maintainers nomaintainer
maintainers {reneeotten @reneeotten} openmaintainer

description New version checker for software
long_description nvchecker (short for new version checker) is for checking \
if a new version of some software has been released.

checksums rmd160 4bceed6757b295c0d9927c66a868516295c644a4 \
sha256 3875e0107af343e1836494017dde20e5848c60a2c7438aa7b8a612776fb95242 \
size 30671
checksums rmd160 db6851d381d4d21e247bbcc7d807c2e49a0af082 \
sha256 873908bec4ca55c4dc6f243b540855d96f63e6baef7b68d6d772166f8cb30e80 \
size 31977

python.default_version 38

python.default_version 37
post-patch {
# nvchecker uses `grep -P`, which is not available in BSD grep
reinplace "s# grep # ${prefix}/bin/ggrep #" ${worksrcpath}/nvchecker/source/vcs.sh
}

depends_lib-append \
port:py${python.version}-setuptools
Expand All @@ -30,10 +37,3 @@ depends_run-append \
port:py${python.version}-tornado \
port:py${python.version}-curl \
port:grep

post-extract {
# nvchecker uses `grep -P`, which is not available in BSD grep
reinplace "s# grep # ${prefix}/bin/ggrep #" ${worksrcpath}/nvchecker/source/vcs.sh
}

livecheck.type none

0 comments on commit db3eb13

Please sign in to comment.