summaryrefslogtreecommitdiff
path: root/geography/py-google-maps-services-python
diff options
context:
space:
mode:
authorkleink <kleink>2016-01-10 13:42:02 +0000
committerkleink <kleink>2016-01-10 13:42:02 +0000
commit0b73138e1d4495e4008f96c47c1953c2a62c66b6 (patch)
treeede68f5071ff535aac99e5c9d79a17f52ecc24cf /geography/py-google-maps-services-python
parent5916470270a5083fba611aa5abb3140a94759d43 (diff)
downloadpkgsrc-0b73138e1d4495e4008f96c47c1953c2a62c66b6.tar.gz
Update py-google-maps-services-python to 2.4.2.
In lieu of a change log: * Roads API support * Place API support * rate limiting * bug fixes
Diffstat (limited to 'geography/py-google-maps-services-python')
-rw-r--r--geography/py-google-maps-services-python/DESCR2
-rw-r--r--geography/py-google-maps-services-python/Makefile6
-rw-r--r--geography/py-google-maps-services-python/PLIST8
-rw-r--r--geography/py-google-maps-services-python/distinfo11
-rw-r--r--geography/py-google-maps-services-python/patches/patch-setup.py16
5 files changed, 34 insertions, 9 deletions
diff --git a/geography/py-google-maps-services-python/DESCR b/geography/py-google-maps-services-python/DESCR
index ae1fbd3736e..a9944725dbe 100644
--- a/geography/py-google-maps-services-python/DESCR
+++ b/geography/py-google-maps-services-python/DESCR
@@ -10,6 +10,8 @@ for the following Google Maps APIs:
- Elevation API
- Geocoding API
- Time Zone API
+ - Roads API
+ - Places API
Keep in mind that the same terms and conditions apply to usage of
the APIs when they're accessed through this library.
diff --git a/geography/py-google-maps-services-python/Makefile b/geography/py-google-maps-services-python/Makefile
index 0823c48f504..c43bdf8aefa 100644
--- a/geography/py-google-maps-services-python/Makefile
+++ b/geography/py-google-maps-services-python/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2015/03/02 13:29:16 kleink Exp $
+# $NetBSD: Makefile,v 1.5 2016/01/10 13:42:02 kleink Exp $
-DISTNAME= google-maps-services-python-2.1.1
+DISTNAME= google-maps-services-python-2.4.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= geography python
MASTER_SITES= -https://github.com/googlemaps/google-maps-services-python/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
@@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/googlemaps/google-maps-services-python/
COMMENT= Python client library for Google Maps API Web Services
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-requests<=2.9.1:../../devel/py-requests
EGG_NAME= googlemaps-${PKGVERSION_NOREV}
PYTHON_VERSIONS_INCOMPATIBLE= 33
diff --git a/geography/py-google-maps-services-python/PLIST b/geography/py-google-maps-services-python/PLIST
index 0410b2b21a1..22d970fdf2d 100644
--- a/geography/py-google-maps-services-python/PLIST
+++ b/geography/py-google-maps-services-python/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2015/01/21 13:22:20 kleink Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/01/10 13:42:02 kleink Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -28,6 +28,12 @@ ${PYSITELIB}/googlemaps/exceptions.pyo
${PYSITELIB}/googlemaps/geocoding.py
${PYSITELIB}/googlemaps/geocoding.pyc
${PYSITELIB}/googlemaps/geocoding.pyo
+${PYSITELIB}/googlemaps/places.py
+${PYSITELIB}/googlemaps/places.pyc
+${PYSITELIB}/googlemaps/places.pyo
+${PYSITELIB}/googlemaps/roads.py
+${PYSITELIB}/googlemaps/roads.pyc
+${PYSITELIB}/googlemaps/roads.pyo
${PYSITELIB}/googlemaps/timezone.py
${PYSITELIB}/googlemaps/timezone.pyc
${PYSITELIB}/googlemaps/timezone.pyo
diff --git a/geography/py-google-maps-services-python/distinfo b/geography/py-google-maps-services-python/distinfo
index 411c8857c8f..f3aed6576d2 100644
--- a/geography/py-google-maps-services-python/distinfo
+++ b/geography/py-google-maps-services-python/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 00:08:44 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/01/10 13:42:02 kleink Exp $
-SHA1 (google-maps-services-python-2.1.1.tar.gz) = b502965560ec29d49eaa115e51173d78f8672e76
-RMD160 (google-maps-services-python-2.1.1.tar.gz) = 59165b8af44315c21134ba17d11b84906130357b
-SHA512 (google-maps-services-python-2.1.1.tar.gz) = db219172d826e7d107f6ea087d9dc1f6f7104970c149e73a02fc287eb2441086610463fc8216ed3f6615a844847ec3ca1561417ec7d80ad8a01f68fbe15e6d88
-Size (google-maps-services-python-2.1.1.tar.gz) = 25636 bytes
+SHA1 (google-maps-services-python-2.4.2.tar.gz) = 622d94dbd3e375ed87369bc48e580b17ac36bc30
+RMD160 (google-maps-services-python-2.4.2.tar.gz) = f1c275851a52c738fd7dcecc67692bb1a91ca6e0
+SHA512 (google-maps-services-python-2.4.2.tar.gz) = 8b0f926b33acf9f12fa425bd2e5bc72593c12292e805e805d9811fe2d5bb59c28e861bf62666deb3f29d72d844bbfff39dcd789143f1eb10ed1266fb22f0c60d
+Size (google-maps-services-python-2.4.2.tar.gz) = 30895 bytes
+SHA1 (patch-setup.py) = efca23a1a4d08138165e191318e20394c1f7aeeb
diff --git a/geography/py-google-maps-services-python/patches/patch-setup.py b/geography/py-google-maps-services-python/patches/patch-setup.py
new file mode 100644
index 00000000000..8566a558774
--- /dev/null
+++ b/geography/py-google-maps-services-python/patches/patch-setup.py
@@ -0,0 +1,16 @@
+$NetBSD: patch-setup.py,v 1.1 2016/01/10 13:42:02 kleink Exp $
+
+Update to latest version of requests. Closes #89.
+commit 7c9a1584aaa3a41008b182df45df8bf74cb26613
+
+--- setup.py.orig 2015-12-03 03:52:12.000000000 +0000
++++ setup.py
+@@ -14,7 +14,7 @@ if sys.version_info <= (2, 4):
+
+
+ requirements = [
+- 'requests<=2.6',
++ 'requests<=2.9.1'
+ ]
+
+ setup(name='googlemaps',