source: trunk/dports/python/py-oauth2/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# -*- 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-oauth2
8version             1.5.211
9categories-append   devel
10license             MIT
11maintainers         nomaintainer
12supported_archs     noarch
13
14description         Python library for oauth2
15long_description    ${description}
16
17platforms           darwin
18
19homepage            https://github.com/simplegeo/python-oauth2
20master_sites        pypi:o/oauth2/
21distname            oauth2-${version}
22
23checksums           rmd160  70baee500d03210cf30125be0cb3281185c70626 \
24                    sha256  82a38f674da1fa496c0fc4df714cbb058540bed72a30c50a2e344b0d984c4d21
25
26python.versions     27
27
28if {${name} ne ${subport}} {
29    depends_build   port:py${python.version}-setuptools
30    depends_lib-append \
31                    port:py${python.version}-httplib2
32    post-destroot {
33        if {[file exists ${destroot}${python.pkgd}/tests]} {
34            delete ${destroot}${python.pkgd}/tests
35        }
36    }
37}
Note: See TracBrowser for help on using the repository browser.