svn commit: r567608 - in head/net: . py-geopy

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Mar 7 22:10:09 UTC 2021


Author: sunpoet
Date: Sun Mar  7 22:10:03 2021
New Revision: 567608
URL: https://svnweb.freebsd.org/changeset/ports/567608

Log:
  Add py-geopy 2.1.0
  
  geopy is a Python client for several popular geocoding web services.
  
  geopy makes it easy for Python developers to locate the coordinates of
  addresses, cities, countries, and landmarks across the globe using third-party
  geocoders and other data sources.
  
  geopy includes geocoder classes for the OpenStreetMap Nominatim, Google
  Geocoding API (V3), and many other geocoding services. The full list is
  available on the Geocoders doc section. Geocoder classes are located in
  geopy.geocoders.
  
  WWW: https://github.com/geopy/geopy

Added:
  head/net/py-geopy/
  head/net/py-geopy/Makefile   (contents, props changed)
  head/net/py-geopy/distinfo   (contents, props changed)
  head/net/py-geopy/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sun Mar  7 22:09:56 2021	(r567607)
+++ head/net/Makefile	Sun Mar  7 22:10:03 2021	(r567608)
@@ -1017,6 +1017,7 @@
     SUBDIR += py-eventlet
     SUBDIR += py-flask-xml-rpc
     SUBDIR += py-gdown
+    SUBDIR += py-geopy
     SUBDIR += py-gntp
     SUBDIR += py-gspread
     SUBDIR += py-h11

Added: head/net/py-geopy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-geopy/Makefile	Sun Mar  7 22:10:03 2021	(r567608)
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	geopy
+PORTVERSION=	2.1.0
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Python Geocoding Toolbox
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	geographiclib>=1.49<2:astro/geographiclib
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}async_generator>=0:devel/py-async_generator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>=3.10:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-aiohttp>=0:devel/py-pytest-aiohttp@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
+
+.include <bsd.port.mk>

Added: head/net/py-geopy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-geopy/distinfo	Sun Mar  7 22:10:03 2021	(r567608)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1614794184
+SHA256 (geopy-2.1.0.tar.gz) = 892b219413e7955587b029949af3a1949c6fbac9d5ad17b79d850718f6a9550f
+SIZE (geopy-2.1.0.tar.gz) = 107778

Added: head/net/py-geopy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-geopy/pkg-descr	Sun Mar  7 22:10:03 2021	(r567608)
@@ -0,0 +1,12 @@
+geopy is a Python client for several popular geocoding web services.
+
+geopy makes it easy for Python developers to locate the coordinates of
+addresses, cities, countries, and landmarks across the globe using third-party
+geocoders and other data sources.
+
+geopy includes geocoder classes for the OpenStreetMap Nominatim, Google
+Geocoding API (V3), and many other geocoding services. The full list is
+available on the Geocoders doc section. Geocoder classes are located in
+geopy.geocoders.
+
+WWW: https://github.com/geopy/geopy


More information about the svn-ports-all mailing list