Permalink
Browse files
py-stomper: update to 0.4.3, add py37
- use default PyPI livecheck
- install files in post-destroot
- Loading branch information
Showing
with
17 additions
and
9 deletions.
-
+17
−9
python/py-stomper/Portfile
|
|
@@ -4,7 +4,8 @@ PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
|
|
|
name py-stomper |
|
|
version 0.2.7 |
|
|
version 0.4.3 |
|
|
revision 0 |
|
|
platforms darwin |
|
|
supported_archs noarch |
|
|
license Apache-2 |
|
|
@@ -21,18 +22,25 @@ long_description This is a python client implementation of the STOMP protocol |
|
|
homepage https://github.com/oisinmulvihill/stomper |
|
|
master_sites pypi:s/stomper/ |
|
|
distname stomper-${version} |
|
|
checksums md5 b721d7557af2fc6a47e82ef4a40e87bf \ |
|
|
rmd160 679ff1721bf364a62d63c2e2eab1a118a8861a1d \ |
|
|
sha256 8978fd3421390abe3c1a8c8adc72346f4a8175b6fb154011fc8d37bb916e01ce |
|
|
checksums rmd160 9fb5fbb6c59ccb769e8d5bab8960b44e6bda09e8 \ |
|
|
sha256 3b4dbeadbb6d6cb958fe0c245779038ff0a08cd040971b69f770d779761661fa \ |
|
|
size 29260 |
|
|
|
|
|
python.versions 27 |
|
|
python.versions 27 37 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
depends_build-append \ |
|
|
port:py${python.version}-setuptools |
|
|
|
|
|
depends_lib-append \ |
|
|
port:py${python.version}-future |
|
|
|
|
|
post-destroot { |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \ |
|
|
${destroot}${docdir} |
|
|
} |
|
|
|
|
|
livecheck.type none |
|
|
} else { |
|
|
livecheck.type regex |
|
|
livecheck.url https://pypi.python.org/pypi/stomper/ |
|
|
livecheck.regex {stomper (\d+(?:\.\d+)*)} |
|
|
} |