git: c565b7332646 - main - www/py-xyzservices: add new port

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 09 May 2023 20:00:52 UTC
The branch main has been updated by pkubaj:

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

commit c565b7332646574e3e439dc6fc4f56e79f3cd3ed
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-05-09 19:54:39 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-05-09 19:54:39 +0000

    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.
---
 www/Makefile                 |  1 +
 www/py-xyzservices/Makefile  | 22 ++++++++++++++++++++++
 www/py-xyzservices/distinfo  |  3 +++
 www/py-xyzservices/pkg-descr |  8 ++++++++
 4 files changed, 34 insertions(+)

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.