source: trunk/dports/python/py-tastypie/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.1 KB
Line 
1# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
2# -*- 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
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name                py-tastypie
8set long_name       django-tastypie
9version             0.9.9
10python.versions     27
11categories-append   www
12license             BSD
13platforms           darwin
14supported_archs     noarch
15maintainers         nomaintainer
16description         flexible & capable API layer for Django
17long_description    ${description}
18homepage            http://pypi.python.org/pypi/${long_name}/
19master_sites        pypi:d/${long_name}
20distname            ${long_name}-${version}
21
22checksums           rmd160  fdd26231fe42caceda5393e86f4b8a75b44e438f \
23                    sha256  c72ac7eea348b0be9c4cf517312be4904f68706fa021148d858f44b5e44e64d9
24
25if {${name} ne ${subport}} {
26    depends_lib     port:py${python.version}-django \
27                    port:py${python.version}-dateutil \
28                    port:py${python.version}-mimeparse
29}
30
31livecheck.type      regex
32livecheck.regex     {${long_name}-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.