source: trunk/dports/python/py-pyx/Portfile

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pyx
8version             0.14.1
9categories-append   tex
10platforms           darwin
11maintainers         twinleaf.com:maintainers
12license             GPL-2+
13description         PyX is a TeX/LaTeX interface for Python
14long_description    PyX is a Python package for the creation of \
15                    encapsulated PostScript figures. It provides both \
16                    an abstraction of PostScript and a TeX/LaTeX \
17                    interface. Complex tasks like 2d and 3d plots in \
18                    publication-ready quality are built out of these \
19                    primitives.
20homepage            http://pyx.sourceforge.net
21
22supported_archs     noarch
23
24master_sites        pypi:P/PyX/
25distname            PyX-${version}
26checksums           rmd160  1beb789478f6b93fdec25b101158a65a455f778c \
27                    sha256  05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912
28
29python.versions     27 35
30
31if {${name} ne ${subport}} {
32    depends_lib-append  bin:tex:texlive
33
34    post-destroot {
35        set docdir ${prefix}/share/doc/${subport}
36        xinstall -d ${destroot}${docdir}
37        xinstall -m 644 -W ${worksrcpath} \
38            INSTALL CHANGES README AUTHORS LICENSE \
39            ${destroot}${docdir}
40        delete ${destroot}/etc
41    }
42}
Note: See TracBrowser for help on using the repository browser.