Skip to content
Permalink
Browse files

py-pympler: update to 0.6, add py37

- fix livecheck / update homepage
- install files in post-destroot
  • Loading branch information
reneeotten authored and cjones051073 committed Apr 5, 2019
1 parent 5d983f8 commit 8f8a1dc74202d10e1825ceb178d7f95481ecfabb
Showing with 14 additions and 13 deletions.
  1. +14 −13 python/py-pympler/Portfile
@@ -5,8 +5,8 @@ PortGroup python 1.0

name py-pympler
set real_name Pympler
version 0.2.1
revision 1
version 0.6
revision 0
categories-append devel
license Apache-2 BSD MIT
maintainers nomaintainer
@@ -22,21 +22,22 @@ long_description \
platforms darwin
supported_archs noarch

homepage https://packages.python.org/${real_name}/
homepage https://github.com/pympler/pympler
master_sites pypi:P/${real_name}/
distname ${real_name}-${version}
checksums rmd160 47b2285eb5fe9ff01f50d71e57da896110865af2 \
sha256 292ee62bd50633af4d460d722c77e8c31647e936ae68e3c000e229312163becd
checksums rmd160 dd5394d53b662431a5027d745ce345182ed3add5 \
sha256 c262ceca4dac67b8b523956833c52443420eabc3321a07185990b358b8ba13a7 \
size 174276

python.versions 27 34 35 36
python.versions 27 34 35 36 37

if {${name} ne ${subport}} {
patch {
reinplace "s|data_path = cobj.install_data|data_path = '${python.prefix}/share/pympler'|" \
${worksrcpath}/setup.py
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} NOTICE LICENSE \
README.md ${destroot}${docdir}
}
}

livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
livecheck.type none
}

0 comments on commit 8f8a1dc

Please sign in to comment.
You can’t perform that action at this time.