git: db1c3e41b3c8 - main - misc/py-placekey: Add py-placekey 0.0.12

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:04:46 UTC
The branch main has been updated by sunpoet:

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

commit db1c3e41b3c8a385b20e47875739c679a56846fe
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:21:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:58:48 +0000

    misc/py-placekey: Add py-placekey 0.0.12
    
    Placekey-py is a Python library for working with Placekeys. Documentation for
    this package can be found here [1], and documentation for the Placekey service
    API can be found here [2]. The Plackey design specification is available here
    [3].
    
    [1] https://placekey.github.io/placekey-py/
    [2] https://docs.placekey.io/
    [3] https://docs.placekey.io/Placekey_Technical_White_Paper.pdf
---
 misc/Makefile              |  1 +
 misc/py-placekey/Makefile  | 25 +++++++++++++++++++++++++
 misc/py-placekey/distinfo  |  3 +++
 misc/py-placekey/pkg-descr |  8 ++++++++
 4 files changed, 37 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index bcc9b73bcdd3..aae619ca966b 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -432,6 +432,7 @@
     SUBDIR += py-palettable
     SUBDIR += py-papermill
     SUBDIR += py-pexpect
+    SUBDIR += py-placekey
     SUBDIR += py-powerline-status
     SUBDIR += py-progressbar
     SUBDIR += py-progressbar2
diff --git a/misc/py-placekey/Makefile b/misc/py-placekey/Makefile
new file mode 100644
index 000000000000..436ed8a19943
--- /dev/null
+++ b/misc/py-placekey/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	placekey
+PORTVERSION=	0.0.12
+CATEGORIES=	misc geography python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Utilities for working with Placekeys
+WWW=		https://github.com/Placekey/placekey-py
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backoff>=0:devel/py-backoff@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}h3>=0:graphics/py-h3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ratelimiter>=0:devel/py-ratelimiter@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Shapely>=0:devel/py-shapely@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-placekey/distinfo b/misc/py-placekey/distinfo
new file mode 100644
index 000000000000..ed7905431b20
--- /dev/null
+++ b/misc/py-placekey/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674588060
+SHA256 (placekey-0.0.12.tar.gz) = 3a53150094b3765e0e7fab97fe411d52230177ad70e7429d53308cf3daba9486
+SIZE (placekey-0.0.12.tar.gz) = 15578
diff --git a/misc/py-placekey/pkg-descr b/misc/py-placekey/pkg-descr
new file mode 100644
index 000000000000..bd1bcdc2565d
--- /dev/null
+++ b/misc/py-placekey/pkg-descr
@@ -0,0 +1,8 @@
+Placekey-py is a Python library for working with Placekeys. Documentation for
+this package can be found here [1], and documentation for the Placekey service
+API can be found here [2]. The Plackey design specification is available here
+[3].
+
+[1] https://placekey.github.io/placekey-py/
+[2] https://docs.placekey.io/
+[3] https://docs.placekey.io/Placekey_Technical_White_Paper.pdf