aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-01-30 12:21:07 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-01-30 12:58:48 +0000
commitdb1c3e41b3c8a385b20e47875739c679a56846fe (patch)
treef95b09bbfd3b6a9e41a388b96af963611281dcc5
parenta3799476601f1368ac8db901d5f1cd4b50a5eda7 (diff)
downloadports-db1c3e41b3c8a385b20e47875739c679a56846fe.tar.gz
ports-db1c3e41b3c8a385b20e47875739c679a56846fe.zip
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
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-placekey/Makefile25
-rw-r--r--misc/py-placekey/distinfo3
-rw-r--r--misc/py-placekey/pkg-descr8
4 files changed, 37 insertions, 0 deletions
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