Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (36 sloc) 1.34 KB
# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-zopfli
version 0.1.6
revision 0
platforms darwin
license Apache-2
maintainers nomaintainer
description Zopfli module for python
long_description ${description}
homepage https://github.com/obp/py-zopfli
master_sites pypi:z/zopfli
use_zip yes
distname zopfli-${version}
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
}
You can’t perform that action at this time.