source: trunk/dports/python/py-yolk/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.6 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-yolk
8version             0.4.1
9categories-append   devel
10license             GPL-2
11platforms           darwin
12supported_archs     noarch
13maintainers         nomaintainer
14homepage            http://tools.assembla.com/yolk
15description         Command-line tool querying PyPI and Python \
16                    packages installed on your system
17long_description    Yolk is a Python tool for obtaining information \
18                    about packages installed by distutils, setuptools \
19                    and easy_install and querying packages on PyPI \
20                    (Python Package Index a.k.a. The Cheese Shop).
21master_sites        pypi:y/yolk/
22distname            yolk-${version}
23checksums           md5     100b0f20aaf66aacd53987714cc91c3d \
24                    sha1    004e7bf297ac9a752d4d41c3f7eeea7adaa7a675 \
25                    rmd160  5a672ab6ba8f121787c008b2e1e5d2b4fd8270d0
26
27python.versions     27
28
29if {${name} ne ${subport}} {
30    depends_build       port:py${python.version}-setuptools
31
32    post-destroot {
33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
34        foreach f [glob -directory ${worksrcpath}/docs *] {
35            copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
36        }
37    }
38    livecheck.type      none
39} else {
40    livecheck.type      regex
41    livecheck.url       http://pypi.python.org/pypi/yolk
42    livecheck.regex     virtualenv (1\.\[0-9\]+\.\[0-9\]+)
43}
Note: See TracBrowser for help on using the repository browser.