source: trunk/dports/python/py-pymodels/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.4 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-pymodels
8version             0.18.3
9license             LGPL-3+
10maintainers         stromnov openmaintainer
11
12description         Python models for schema-less databases.
13
14long_description    \
15        PyModels is a lightweight framework for mapping Python classes \
16        to schema-less databases. It is not an ORM as it doesn't map \
17        existing schemata to Python objects but instead defines them \
18        on a higher layer built upon a schema-less storage (key/value \
19        or document-oriented).
20
21platforms           darwin
22supported_archs     noarch
23
24homepage            http://pypi.python.org/pypi/pymodels/
25master_sites        pypi:p/pymodels/
26distname            pymodels-${version}
27
28checksums           md5     13e10f5a4ec05b1590981905db5629e6 \
29                    sha1    eb21a8665bb5bc661d7d79e14850c62e29fcf814 \
30                    rmd160  f152f09c80aa60cff3750aa3b7a0a20e9875fe30
31
32python.versions     26
33
34if {${name} ne ${subport}} {
35    depends_build       port:py${python.version}-setuptools
36    livecheck.type      none
37} else {
38    livecheck.type      regex
39    livecheck.url       https://pypi.python.org/pypi/pymodels/json
40    livecheck.regex     "pymodels-(\\d+(?:\\.\\d+)*)${extract.suffix}"
41}
Note: See TracBrowser for help on using the repository browser.