Skip to content

Commit

Permalink
www/py-xyzservices: add new port
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pkubaj committed May 9, 2023
1 parent e826266 commit c565b73
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/Makefile
Expand Up @@ -1838,6 +1838,7 @@
SUBDIR += py-wsaccel
SUBDIR += py-wsgidav
SUBDIR += py-xandikos
SUBDIR += py-xyzservices
SUBDIR += py-yarl
SUBDIR += pydio-cells
SUBDIR += qdecoder
Expand Down
22 changes: 22 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
8 changes: 8 additions & 0 deletions 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.

0 comments on commit c565b73

Please sign in to comment.