mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
1.3 KiB
Tcl
47 lines
1.3 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
|
|
|
|
name py-lz4
|
|
version 4.4.4
|
|
revision 0
|
|
|
|
license BSD
|
|
maintainers nomaintainer
|
|
|
|
description LZ4 bindings for Python
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/python-lz4/python-lz4
|
|
|
|
checksums rmd160 ec26380f5536ef534990f8d4eaf8f5c6d9a7515b \
|
|
sha256 070fd0627ec4393011251a094e08ed9fdcc78cb4e7ab28f507638eee4e39abda \
|
|
size 171884
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-pkgconfig \
|
|
port:py${python.version}-setuptools_scm
|
|
|
|
depends_lib-append \
|
|
port:lz4
|
|
|
|
build.env-append \
|
|
PYLZ4_EXPERIMENTAL=TRUE
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-psutil
|
|
|
|
test.run yes
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
|
|
${destroot}${docdir}
|
|
}
|
|
}
|