Files
Renee Otten c6dfb3274b py-pyx: update to 0.15, add py3[78] subports
- pin to 0.12.1 for PY27
- update homepage / description
2020-02-14 12:15:47 -05:00

59 lines
1.9 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-pyx
python.rootname PyX
version 0.15
revision 0
categories-append tex
platforms darwin
supported_archs noarch
license GPL-2+
maintainers nomaintainer
description Python package for the creation of PostScript, PDF, and SVG files
long_description PyX is a ${description}. It combines an abstraction of the PostScript \
drawing model with a TeX/LaTeX interface. Complex tasks like 2d and 3d \
plots in publication-ready quality are built out of these primitives.
homepage https://pyx-project.org/
checksums rmd160 61ec70ac7fb7b7b8a6fdac5cdb5c9328775c7018 \
sha256 0fc3b00c5e7fb6f4aefbf63b95f624297dde47700a82b8b5ad6ebb346b5e4977 \
size 2559840
python.versions 27 35 36 37 38
if {${name} ne ${subport}} {
if {${python.version} == 27} {
version 0.12.1
revision 0
checksums rmd160 ca48a8e85c9fcd24c9050d7938ec952d410b099a \
sha256 e837b26a8b1c27524cf3f3dd6c0d563451249159edaa2e366d87e7143a867e8e \
size 561989
}
depends_lib-append \
bin:tex:texlive
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
if {${python.version} == 27} {
xinstall -m 0644 -W ${worksrcpath} \
INSTALL CHANGES README AUTHORS LICENSE \
${destroot}${docdir}
} else {
xinstall -m 0644 -W ${worksrcpath} \
INSTALL.md CHANGES README.md AUTHORS LICENSE \
${destroot}${docdir}
}
}
livecheck.type none
}