Commits

Chih-Hsuan Yen authored ce547d9e943
nvchecker: move to a standalone port

nvchecker is more a program written in Python rather than a Python module. It's annoying to run `port select` to get scripts using the `nvchecker` command to work after installation. Other changes: * Swithed to GNU grep
No tags

devel/nvchecker/Portfile

Added
1 +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 +
3 +PortSystem 1.0
4 +PortGroup github 1.0
5 +PortGroup python 1.0
6 +
7 +github.setup lilydjwg nvchecker 1.4.4 v
8 +revision 0
9 +github.tarball_from archive
10 +platforms darwin
11 +license MIT
12 +maintainers {yan12125 @yan12125} openmaintainer
13 +
14 +description New version checker for software
15 +long_description nvchecker (short for new version checker) is for checking \
16 + if a new version of some software has been released.
17 +
18 +checksums rmd160 4bceed6757b295c0d9927c66a868516295c644a4 \
19 + sha256 3875e0107af343e1836494017dde20e5848c60a2c7438aa7b8a612776fb95242 \
20 + size 30671
21 +
22 +python.default_version 37
23 +
24 +depends_lib-append \
25 + port:py${python.version}-setuptools
26 +
27 +depends_run-append \
28 + port:py${python.version}-structlog \
29 + port:py${python.version}-tornado \
30 + port:py${python.version}-curl \
31 + port:grep
32 +
33 +post-extract {
34 + # nvchecker uses `grep -P`, which is not available in BSD grep
35 + reinplace "s# grep # ${prefix}/bin/ggrep #" ${worksrcpath}/nvchecker/source/vcs.sh
36 +}
37 +
38 +livecheck.type none

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut