source: trunk/dports/python/py-meta/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.2 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-meta
8version             0.4.1
9revision            0
10categories-append   devel
11platforms           darwin
12license             BSD
13supported_archs     noarch
14
15python.versions     26 27
16
17maintainers         stromnov openmaintainer
18
19description         A Pure Python module containing a framework to manipulate \
20                    and analyze python ast's and bytecode.
21
22long_description    ${description}
23
24homepage            http://srossross.github.com/Meta
25master_sites        pypi:m/meta/
26
27distname            meta-${version}
28
29checksums           rmd160  894cd7c3c91b923e7d61b6b485278702566a587e \
30                    sha256  58d2c012beea9f2aaea82fbf67d0d6b3124e66c79cbc31829beb2005c3372885
31
32if {${name} ne ${subport}} {
33    conflicts           port:py${python.version}-meta-devel
34
35    depends_lib-append  port:py${python.version}-setuptools
36
37    livecheck.type      none
38} else {
39    livecheck.type      regex
40    livecheck.url       https://pypi.python.org/pypi/meta/json
41    livecheck.regex     "meta-(\\d+(?:\\.\\d+)*)${extract.suffix}"
42}
Note: See TracBrowser for help on using the repository browser.