Files

38 lines
1.1 KiB
Tcl

# -*- 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
PortGroup compiler_wrapper 1.0
name py-zopfli
version 0.4.3
revision 0
license Apache-2
maintainers nomaintainer
description Zopfli module for python
long_description {*}${description}
homepage https://github.com/fonttools/py-zopfli
checksums rmd160 4e61b8174ffc08ed8ea20f562441deec42b769fd \
sha256 d3a50f91a13cea9bafe025de8fd87a005eb26de02a4f0c193127ddbf23ac8ebe \
size 179156
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools_scm
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst COPYING \
${destroot}${docdir}
}
}