Files
macports-ports/python/py-pyrex/Portfile
T
2022-11-21 03:44:50 +11:00

45 lines
1.5 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-pyrex
version 0.9.9
revision 0
categories-append devel
license {Permissive Apache-2}
maintainers nomaintainer
platforms {darwin any}
supported_archs noarch
description A language for writing Python extension modules.
long_description Pyrex lets you write code that mixes Python and C \
data types any way you want, and compiles it into a C extension \
for Python.
homepage http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
master_sites ${homepage} \
${homepage}oldtar/
distname Pyrex-${version}
checksums rmd160 e703edf68bcb4afc31e70d5cebac2304a59460fb \
sha256 5f87df06831d0b3412eb4bc9d3fc2ee7bfae1b913d7da8c23ab2bf5699fb6b50 \
size 255272
python.versions 27
if {${name} ne ${subport}} {
post-destroot {
xinstall -m 0644 -W ${worksrcpath}/Doc About.html FAQ.html \
index.html primes.c ${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 -W ${worksrcpath} CHANGES.txt INSTALL.txt README.txt \
ToDo.txt USAGE.txt ${destroot}${prefix}/share/doc/${subport}
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {Pyrex-(\d+(?:\.\d+)*).tar.gz}
}