Ticket #51283: py-google-api.patch
File py-google-api.patch, 2.1 KB (added by david.e.pi.3.14@…, 9 years ago) |
---|
-
python/py-google-api/Portfile
6 6 7 7 name py-google-api 8 8 set realname google-api-python-client 9 version 1. 29 version 1.5.0 10 10 11 # There are no py3x-uritemplate subports (#38502). 12 python.versions 27 11 python.versions 27 33 34 35 13 12 14 13 categories-append www devel 15 14 maintainers nomaintainer … … 22 21 supported_archs noarch 23 22 24 23 homepage http://pypi.python.org/pypi/${realname} 25 master_sites googlecode:${realname}24 master_sites https://pypi.python.org/packages/source/g/${realname}/ 26 25 distname ${realname}-${version} 27 distfiles ${distname}${extract.suffix} \28 ${realname}-samples-${version}${extract.suffix}29 26 30 27 if {${name} ne ${subport}} { 31 28 depends_build port:py${python.version}-setuptools … … 43 40 } 44 41 45 42 xinstall -d -m 555 ${destroot}${prefix}/share/examples 46 copy ${workpath}/samples ${destroot}${prefix}/share/examples/${subport}47 43 } 48 44 } 49 45 50 checksums ${realname}-${version}${extract.suffix} \ 51 rmd160 785756e2b3a0c76f60f590574bb71834690dd921 \ 52 sha256 3cb3f39c4a634950aee34f52e2a160b9a064b15210f7196ba364f670780aa675 \ 53 ${realname}-samples-${version}${extract.suffix} \ 54 rmd160 f7f86fe566438e8d1e972153a40ae4f79f024003 \ 55 sha256 4c7a469caebe4926967b00ac3e14eadd28fbb3b10ec2672dd993028fd2add6bd 46 checksums rmd160 c6cbb670bd402e9b466e404c709d3655a5e861e7 \ 47 sha256 ffb89782c74702bd47d217709741717f0e4812d87f6cea04783f991d3eb51abd 56 48 57 livecheck.type regex 58 livecheck.url http://pypi.python.org/pypi/${realname} 59 livecheck.regex "${realname} (\[1-9\]+\.\[0-9\]+)" 49 if {${name} ne ${subport}} { 50 livecheck.type none 51 } else { 52 livecheck.url http://pypi.python.org/pypi/${realname}/json 53 livecheck.regex "${realname} (\[1-9\]+\.\[0-9\]+)" 54 }