source: trunk/dports/python/py-oauth/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.2 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-oauth
8version             1.0.1
9categories-append   net
10license             MIT
11maintainers         nomaintainer
12supported_archs     noarch
13platforms           darwin
14
15description         Python library for OAuth
16long_description    An open protocol to allow API authentication in a simple and standard \
17                    method from desktop and web applications.  NB, this provides OAuth \
18                    version 1 which is substantially different from version 2.
19
20homepage            http://code.google.com/p/oauth
21master_sites        pypi:o/oauth/
22distname            oauth-${version}
23
24checksums           rmd160  3d1dad6117aeb13392e35870716022e3a71897c3 \
25                    sha256  e769819ff0b0c043d020246ce1defcaadd65b9c21d244468a45a7f06cb88af5d
26
27python.versions     27
28
29if {${name} ne ${subport}} {
30    depends_build-append port:py${python.version}-setuptools
31}
32
33livecheck.url       [lindex ${master_sites} 0]
34livecheck.regex     >oauth-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.