git: 6d730fb223f7 - main - devel/py-geocoder: New port: Python geocoder

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 30 Apr 2023 00:33:30 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d730fb223f79e652c332e54449a30e99a89d814

commit 6d730fb223f79e652c332e54449a30e99a89d814
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-29 23:52:00 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-29 23:52:00 +0000

    devel/py-geocoder: New port: Python geocoder
    
    Simple and consistent geocoding library written in Python
---
 devel/Makefile              |  1 +
 devel/py-geocoder/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-geocoder/distinfo  |  3 +++
 devel/py-geocoder/pkg-descr |  1 +
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8ad10b2bbd4c..c861f06a69a8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4665,6 +4665,7 @@
     SUBDIR += py-gelidum
     SUBDIR += py-genson
     SUBDIR += py-genty
+    SUBDIR += py-geocoder
     SUBDIR += py-geojson
     SUBDIR += py-get-reader
     SUBDIR += py-gevent
diff --git a/devel/py-geocoder/Makefile b/devel/py-geocoder/Makefile
new file mode 100644
index 000000000000..8e8f64de4ea5
--- /dev/null
+++ b/devel/py-geocoder/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	geocoder
+PORTVERSION=	1.38.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	Python geocoder
+WWW=		https://github.com/DenisCarriere/geocoder
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ratelim>0:devel/py-ratelim@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-geocoder/distinfo b/devel/py-geocoder/distinfo
new file mode 100644
index 000000000000..e1180afdcfc8
--- /dev/null
+++ b/devel/py-geocoder/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1680320108
+SHA256 (geocoder-1.38.1.tar.gz) = c9925374c961577d0aee403b09e6f8ea1971d913f011f00ca70c76beaf7a77e7
+SIZE (geocoder-1.38.1.tar.gz) = 64345
diff --git a/devel/py-geocoder/pkg-descr b/devel/py-geocoder/pkg-descr
new file mode 100644
index 000000000000..1d76cb38991b
--- /dev/null
+++ b/devel/py-geocoder/pkg-descr
@@ -0,0 +1 @@
+Simple and consistent geocoding library written in Python