source: trunk/dports/python/py-axiom/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.7 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-axiom
8set gname           Axiom
9version             0.7.5
10license             MIT
11categories-append   databases
12platforms           darwin
13supported_archs     noarch
14
15maintainers         devans openmaintainer
16
17description         Axiom is an object database, or alternatively, an object-relational \
18                    mapper, implemented on top of Python.
19
20long_description    ${description} \
21                    Its primary goal is to provide an object-oriented layer with the key \
22                    aspects of OOP (Object Oriented Programming), i.e. polymorphism and \
23                    message dispatch, without hindering the power of an RDBMS \
24                    (Relational DataBase Management System).
25
26homepage            https://pypi.python.org/pypi/${gname}
27master_sites        pypi:A/${gname}/
28
29distname            ${gname}-${version}
30
31checksums           rmd160  bdd7c0df230c2b2aaa1a9426f5976cc16e6c62cf \
32                    sha256  82b227cb8ab270d8132416ddfe2c98c662cf548f3f741d73ac077c52aa08af8d
33
34worksrcdir          ${gname}-${version}
35
36python.default_version  27
37python.versions     27
38
39if {${name} ne ${subport}} {
40    depends_build-append    port:py${python.version}-setuptools
41    depends_lib-append      port:py${python.version}-epsilon \
42                            port:py${python.version}-sqlite \
43                            port:py${python.version}-twisted
44    livecheck.type          none
45} else {
46    livecheck.type          regex
47    livecheck.url           ${homepage}
48    livecheck.regex         "${gname} (\\d+(?:\\.\\d+)*)"
49}
Note: See TracBrowser for help on using the repository browser.