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

Last change on this file was 148976, checked in by raimue@…, 18 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.0 KB
Line 
1# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
2
3PortSystem                      1.0
4PortGroup                       python 1.0
5
6name                            py-pastescript
7version                         1.7.5
8revision            1
9python.versions     27
10categories-append               www
11license                         MIT
12maintainers                     nomaintainer
13description                     Paste Script is a pluggable command-line \
14                                frontend, to the Paste system.
15long_description                ${description}
16
17platforms                       darwin
18supported_archs         noarch
19
20homepage                        http://pythonpaste.org/paste/
21master_sites                    pypi:P/PasteScript/
22distname                        PasteScript-${version}
23checksums           rmd160  58f48f8bd85f8c708503235cd5dad6df002b55e2 \
24                    sha256  2b685be69d6ac8bc0fe6f558f119660259db26a15e16a4943c515fbee8093539
25
26if {${name} ne ${subport}} {
27    depends_lib-append \
28                    port:py${python.version}-paste \
29                    port:py${python.version}-pastedeploy
30
31post-destroot {
32        if {[file exists ${destroot}${python.pkgd}/tests]} {
33                delete ${destroot}${python.pkgd}/tests
34        }
35        foreach f [glob -directory ${worksrcpath}/docs *] {
36                copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
37        }
38}
39
40}
Note: See TracBrowser for help on using the repository browser.