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

Last change on this file was 148976, checked in by raimue@…, 14 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.3 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-anyjson
8version             0.3.3
9categories          python www
10license             BSD
11platforms           darwin
12
13maintainers         blair
14
15description         Wrap the best available JSON implementation in a common API
16
17long_description    Anyjson wraps the best available JSON implementation \
18                    in a common interface.  Anyjson loads whichever is the \
19                    fastest JSON module installed and provides a uniform API \
20                    regardless of which JSON implementation is used.
21
22homepage            http://bitbucket.org/runeh/anyjson/
23master_sites        pypi:a/anyjson/
24
25distname            anyjson-${version}
26
27checksums           rmd160  c85bad7565e983077ea863ec99ca45048faecb18 \
28                    sha256  37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba
29
30python.versions     27 34 35
31
32if {${name} ne ${subport}} {
33    depends_build-append    port:py${python.version}-setuptools
34
35    livecheck.type          none
36} else {
37    livecheck.type          regex
38    livecheck.url           https://pypi.python.org/pypi/anyjson/json
39    livecheck.regex         {anyjson-(\d+(?:\.\d+)*)\.[tz]}
40}
Note: See TracBrowser for help on using the repository browser.