Last change
on this file was
148976,
checked in by raimue@…, 2 years 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 raimue@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-oauth2client |
---|
8 | set realname oauth2client |
---|
9 | version 2.0.2 |
---|
10 | |
---|
11 | python.versions 27 34 35 |
---|
12 | |
---|
13 | categories-append www |
---|
14 | maintainers nomaintainer |
---|
15 | license Apache-2 |
---|
16 | description client library for OAuth 2.0 |
---|
17 | long_description ${description} |
---|
18 | |
---|
19 | platforms darwin |
---|
20 | supported_archs noarch |
---|
21 | |
---|
22 | homepage http://pypi.python.org/pypi/${realname} |
---|
23 | master_sites pypi:o/${realname} |
---|
24 | distname ${realname}-${version} |
---|
25 | |
---|
26 | checksums rmd160 b8f80c2d87718e7db5d8ce4bd05957c365e730a8 \ |
---|
27 | sha256 c9f7bf68e9d0f9ec055f1f2f487e5ea53b97b7a2b82f01d48d9a9bb68239535a |
---|
28 | |
---|
29 | if {${name} ne ${subport}} { |
---|
30 | depends_build-append port:py${python.version}-setuptools |
---|
31 | depends_lib-append port:py${python.version}-httplib2 \ |
---|
32 | port:py${python.version}-uritemplate |
---|
33 | |
---|
34 | post-destroot { |
---|
35 | delete ${destroot}${python.pkgd}/uritemplate |
---|
36 | |
---|
37 | set egg-info ${destroot}${python.pkgd}/${realname}-${version}-py${python.branch}.egg-info |
---|
38 | foreach d [glob -dir ${egg-info} *] { |
---|
39 | file attributes ${d} -permissions 0644 |
---|
40 | } |
---|
41 | } |
---|
42 | livecheck.type none |
---|
43 | } else { |
---|
44 | livecheck.type pypi |
---|
45 | livecheck.name ${realname} |
---|
46 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.