You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
38 lines
1.2 KiB
Tcl
38 lines
1.2 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 gitlab 1.0
|
|
|
|
name py-pypng
|
|
gitlab.setup drj11 pypng 0.20250521.0 pypng-
|
|
revision 0
|
|
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
license MIT
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
|
|
description Pure Python PNG image encoder/decoder
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 aace36629787cce35a096940ee3875b4291904e9 \
|
|
sha256 4fa01612e6a5f88051ebf7e533173004879cb6033028c630039202814817142c \
|
|
size 117946
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
test.run yes
|
|
test.env-append PYTHONPATH=${destroot}${python.pkgd} \
|
|
PATH=${destroot}${python.prefix}/bin:$env(PATH)
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENCE \
|
|
${destroot}${docdir}
|
|
}
|
|
}
|