aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-05-09 19:54:39 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-05-09 19:54:39 +0000
commitc565b7332646574e3e439dc6fc4f56e79f3cd3ed (patch)
tree2cd5f6fc28ef6e6feca45c3877d71559732dbf91
parente8262660c648f8636d301c9055ed1bcee26a6ba5 (diff)
downloadports-c565b7332646574e3e439dc6fc4f56e79f3cd3ed.tar.gz
ports-c565b7332646574e3e439dc6fc4f56e79f3cd3ed.zip
www/py-xyzservices: add new port
xyzservices is a lightweight library providing a repository of available XYZ services offering raster basemap tiles. The repository is provided via Python API and as a compressed JSON file. XYZ tiles can be used as background for your maps to provide necessary spatial context. xyzservices offer specifications of many tile services and provide an easy-to-use tools to plug them into your work, no matter if interactive or static.
-rw-r--r--www/Makefile1
-rw-r--r--www/py-xyzservices/Makefile22
-rw-r--r--www/py-xyzservices/distinfo3
-rw-r--r--www/py-xyzservices/pkg-descr8
4 files changed, 34 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 91f5c2cc9379..d02dbb523811 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1838,6 +1838,7 @@
SUBDIR += py-wsaccel
SUBDIR += py-wsgidav
SUBDIR += py-xandikos
+ SUBDIR += py-xyzservices
SUBDIR += py-yarl
SUBDIR += pydio-cells
SUBDIR += qdecoder
diff --git a/www/py-xyzservices/Makefile b/www/py-xyzservices/Makefile
new file mode 100644
index 000000000000..a8bff0e3134d
--- /dev/null
+++ b/www/py-xyzservices/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= xyzservices
+PORTVERSION= 2023.2.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= pkubaj@FreeBSD.org
+COMMENT= Source of XYZ tiles providers
+WWW= https://xyzservices.readthedocs.io/
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python:3.8+
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-xyzservices/distinfo b/www/py-xyzservices/distinfo
new file mode 100644
index 000000000000..17983545e799
--- /dev/null
+++ b/www/py-xyzservices/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1683567050
+SHA256 (xyzservices-2023.2.0.tar.gz) = 3342bba410d7941290eed0e58a2e5aadb0f7b97863ec4283b283c406ee723a28
+SIZE (xyzservices-2023.2.0.tar.gz) = 50452
diff --git a/www/py-xyzservices/pkg-descr b/www/py-xyzservices/pkg-descr
new file mode 100644
index 000000000000..a3da430a1cac
--- /dev/null
+++ b/www/py-xyzservices/pkg-descr
@@ -0,0 +1,8 @@
+xyzservices is a lightweight library providing a repository of available XYZ
+services offering raster basemap tiles. The repository is provided via Python
+API and as a compressed JSON file.
+
+XYZ tiles can be used as background for your maps to provide necessary spatial
+context. xyzservices offer specifications of many tile services and provide an
+easy-to-use tools to plug them into your work, no matter if interactive or
+static.