Permalink
Browse files
py-zopfli: update to 0.1.6
- enable tests
- install files in post-destroot
- Loading branch information
Showing
with
19 additions
and
4 deletions.
-
+19
−4
python/py-zopfli/Portfile
|
|
@@ -4,7 +4,8 @@ PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
|
|
|
name py-zopfli |
|
|
version 0.1.4 |
|
|
version 0.1.6 |
|
|
revision 0 |
|
|
platforms darwin |
|
|
license Apache-2 |
|
|
maintainers nomaintainer |
|
|
@@ -19,15 +20,29 @@ use_zip yes |
|
|
|
|
|
distname zopfli-${version} |
|
|
|
|
|
checksums rmd160 63545b71612e385da2cb018e81b281d89e129c10 \ |
|
|
sha256 95cdbadb8732ef0881aa310079e324c22a800d59ddd44456a1cddb1d42744b62 \ |
|
|
size 75793 |
|
|
checksums rmd160 b4bd0fc40bd6d7ee223c5c8b956fba2f3a138301 \ |
|
|
sha256 ed2293c11c2685bbd70bad0103285279406a77622e06de794d59c2180fecaa6a \ |
|
|
size 75549 |
|
|
|
|
|
python.versions 27 36 37 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
depends_build-append \ |
|
|
port:py${python.version}-setuptools |
|
|
|
|
|
pre-test { |
|
|
test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*] |
|
|
} |
|
|
test.run yes |
|
|
test.cmd ${python.bin} tests/tests.py |
|
|
test.target |
|
|
|
|
|
post-destroot { |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst COPYING \ |
|
|
${destroot}${docdir} |
|
|
} |
|
|
|
|
|
livecheck.type none |
|
|
} |