source: trunk/dports/python/py-paver/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.9 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-paver
8version             1.2.1
9license             BSD MIT
10
11platforms           darwin
12categories-append   devel
13maintainers         nomaintainer
14supported_archs     noarch
15
16description         Easy build, distribution and deployment scripting
17long_description    Paver is a Python-based build/distribution/deployment \
18    scripting tool along the lines of Make or Rake. What makes Paver unique \
19    is its integration with commonly used Python libraries. Common tasks that \
20    were easy before remain easy. More importantly, dealing with your \
21    applications specific needs and requirements is also easy.
22
23homepage            http://www.blueskyonmars.com/projects/paver/
24master_sites        pypi:P/Paver/
25distname            Paver-${version}
26
27checksums           md5    78d0cea13e41a31fcb347cf37ea4577f \
28                    rmd160 bde2ffebe80a49facd7b1cc40a673fb9b6009793 \
29                    sha256 1e281faaef479674299ba00031f95e04b6d3bff0c33778790ef1053de51020ac
30
31python.versions         26 27
32
33if {${name} ne ${subport}} {
34
35# Paver's setup.py isn't a distutils-based one and doesn't \
36# support --no-user-cfg
37    build.cmd           ${python.bin} setup.py
38    destroot.cmd        ${python.bin} setup.py
39
40    depends_lib-append  port:py${python.version}-setuptools
41    post-destroot {
42        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
43        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.rst \
44            ${destroot}${prefix}/share/doc/${subport}
45    }
46    livecheck.type      none
47}
48
49if {${name} eq ${subport}} {
50    livecheck.type      regex
51    livecheck.url       http://pypi.python.org/pypi/Paver/
52    livecheck.regex     Paver/(\[0-9.\]+)
53} else {
54    livecheck.type      none
55}
Note: See TracBrowser for help on using the repository browser.