You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
45 lines
1.4 KiB
Tcl
45 lines
1.4 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 github 1.0
|
|
PortGroup python 1.0
|
|
|
|
github.setup indygreg python-zstandard 0.25.0
|
|
revision 1
|
|
github.tarball_from archive
|
|
name py-zstd
|
|
|
|
license BSD
|
|
maintainers nomaintainer
|
|
|
|
description Zstandard compression
|
|
long_description This extension allows Zstandard compression from Python
|
|
|
|
homepage https://github.com/indygreg/python-zstandard
|
|
|
|
checksums rmd160 925cec59b0943bca6c77b66a397259e4173d8c21 \
|
|
sha256 851846ffe25681f7936ab2fd89130acf62b214a77b8c54e4319824f3510ab395 \
|
|
size 795455
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-cffi \
|
|
port:py${python.version}-packaging
|
|
|
|
depends_lib-append \
|
|
port:zstd
|
|
patchfiles-append \
|
|
patch-cffideps.diff
|
|
|
|
build.args-append \
|
|
-C='--global-option=--system-zstd'
|
|
|
|
post-destroot {
|
|
xinstall -d ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
|
|
${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
}
|