[148649] trunk/dports/python/py-google-api/Portfile
khindenburg at macports.org
khindenburg at macports.org
Fri May 13 06:59:42 PDT 2016
Revision: 148649
https://trac.macports.org/changeset/148649
Author: khindenburg at macports.org
Date: 2016-05-13 06:59:42 -0700 (Fri, 13 May 2016)
Log Message:
-----------
py-google-api: update to 1.5.0 add py34/35 #51283
Modified Paths:
--------------
trunk/dports/python/py-google-api/Portfile
Modified: trunk/dports/python/py-google-api/Portfile
===================================================================
--- trunk/dports/python/py-google-api/Portfile 2016-05-13 13:57:04 UTC (rev 148648)
+++ trunk/dports/python/py-google-api/Portfile 2016-05-13 13:59:42 UTC (rev 148649)
@@ -6,10 +6,9 @@
name py-google-api
set realname google-api-python-client
-version 1.2
+version 1.5.0
-# There are no py3x-uritemplate subports (#38502).
-python.versions 27
+python.versions 27 34 35
categories-append www devel
maintainers nomaintainer
@@ -22,11 +21,12 @@
supported_archs noarch
homepage http://pypi.python.org/pypi/${realname}
-master_sites googlecode:${realname}
+master_sites https://pypi.python.org/packages/source/g/${realname}/
distname ${realname}-${version}
-distfiles ${distname}${extract.suffix} \
- ${realname}-samples-${version}${extract.suffix}
+checksums rmd160 c6cbb670bd402e9b466e404c709d3655a5e861e7 \
+ sha256 ffb89782c74702bd47d217709741717f0e4812d87f6cea04783f991d3eb51abd
+
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-httplib2 \
@@ -43,17 +43,9 @@
}
xinstall -d -m 555 ${destroot}${prefix}/share/examples
- copy ${workpath}/samples ${destroot}${prefix}/share/examples/${subport}
}
+ livecheck.type none
+} else {
+ livecheck.type pypi
+ livecheck.name ${realname}
}
-
-checksums ${realname}-${version}${extract.suffix} \
- rmd160 785756e2b3a0c76f60f590574bb71834690dd921 \
- sha256 3cb3f39c4a634950aee34f52e2a160b9a064b15210f7196ba364f670780aa675 \
- ${realname}-samples-${version}${extract.suffix} \
- rmd160 f7f86fe566438e8d1e972153a40ae4f79f024003 \
- sha256 4c7a469caebe4926967b00ac3e14eadd28fbb3b10ec2672dd993028fd2add6bd
-
-livecheck.type regex
-livecheck.url http://pypi.python.org/pypi/${realname}
-livecheck.regex "${realname} (\[1-9\]+\.\[0-9\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160513/0cde0152/attachment.html>
More information about the macports-changes
mailing list