From nobody Sun Aug 04 17:21:46 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WcRFR1qwgz5SgkB; Sun, 04 Aug 2024 17:21:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcRFQ6tK2z4vrr; Sun, 4 Aug 2024 17:21:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722792107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IjYaFtWk9I38I1UrIWrXPiwzSYTzun+dpHJzWPrjsFM=; b=IwBvM0c8/+Uc1JW0+fnt2WQHt/HTv3+G9Ce1+yvv+PMq5RZwX+nxv2scPxUhCyYbZSzPNw rG/yvjjAA0yetrzKicphvigH+K5rpTNTaXTNT0X5hojFJFtBBOsB43jff8e6ZssD5k7Vy1 vFE0rFPtHA+V5cKmN7CqELHd9U955gG/GgF0iZ2UM8wUVuBQwh6n+GHX19GB/nBUxlsrK6 RLedkzlYexIQWjCVAMxGgaIZl+Tm1bP//0fS15+KkAeAReM/2ttT9hr66hVEs0NcBNURW0 xA/36q0qRm9KGZ0pXIVIRQlx6ZtwIOXZh5NpywR88T/aIBMZsj/j/JDRCuXJrg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722792107; a=rsa-sha256; cv=none; b=YjMQ2AD4ERksXLIEvZwdVCT/VAnZ0NvY1f/Eog8jaT6rcAMLOsNLqDLo9C7LZQx4sVRbWO b1ZlbCnMRseB/mYBho8QLGrh2ee1bUR2ldzw2eN6xE0BpkWcZ0OxfGCwD3Sk/9JPxjXt1e Y+vrzDnwx6A6i2yv/wOhfWhYvz059jTYmIrcfi4aUSh7f0Yd1s80B/yiUEjCIECT/u1pal KMiqf+D9d5vGkYXPr8JmuljZE9AKowaDlT7L/USKJkCuQtHezLvO0zOMeC8V9Bv1L7fvkA V94/SStznJ6C/uB5L+JADBV6R5T2Fka2zMnIXq+ySXkFfT9EPBqwRewrxKwbsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722792107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IjYaFtWk9I38I1UrIWrXPiwzSYTzun+dpHJzWPrjsFM=; b=PdQm3YUJPn/xwQBeI61VVN1e9qnkyNm7pqEuAZ+ed8sY3qcaBFVkZYKIiMeI62U2wterPu uIwznbpqLHGz/2HTQUHmhBkQjwGz4DTMuCX7yjSEBTqiArsRQY6gIWSnlY6fTR+8trUyei GfrIAvumLhOE2CNfuE1vy4arJJvZvBOy4C6x3C5+fFurI2aN0H2BDkoXLv7H6Aj00ioytP aywuOM+H462/qwaQ8o1B5P7daVToYTuGgoh8BcMGjjU+GPil8rjD8nUkr8s/01zRQJIq+p m2L8gsr6itaj0ZvuQh/zgJ7SAsOXwAkQveDN8is7WJokU3EvZF/netA9pB0X1w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WcRFQ6Vvdz14Jk; Sun, 4 Aug 2024 17:21:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474HLkN6059045; Sun, 4 Aug 2024 17:21:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474HLkxh059042; Sun, 4 Aug 2024 17:21:46 GMT (envelope-from git) Date: Sun, 4 Aug 2024 17:21:46 GMT Message-Id: <202408041721.474HLkxh059042@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 8bb0e2808e8b - main - graphics/py-contextily: Add py-contextily 1.6.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8bb0e2808e8bda81ea5596ecd10ce41a1d4a35bd Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8bb0e2808e8bda81ea5596ecd10ce41a1d4a35bd commit 8bb0e2808e8bda81ea5596ecd10ce41a1d4a35bd Author: Po-Chuan Hsieh AuthorDate: 2024-08-04 16:44:07 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-04 17:13:52 +0000 graphics/py-contextily: Add py-contextily 1.6.0 contextily is a small Python 3 package to retrieve tile maps from the internet. It can add those tiles as basemap to matplotlib figures or write tile maps to disk into geospatial raster files. Bounding boxes can be passed in both WGS84 (EPSG:4326) and Spheric Mercator (EPSG:3857). See the notebook contextily_guide.ipynb for usage. The current tile providers that are available in contextily are the providers defined in the xyzservices package. This includes some popular tile maps, such as: - The standard OpenStreetMap map tiles - Toner, Terrain and Watercolor map tiles by Stamen Design --- graphics/Makefile | 1 + graphics/py-contextily/Makefile | 32 ++++++++++++++++++++++++++++++++ graphics/py-contextily/distinfo | 3 +++ graphics/py-contextily/pkg-descr | 11 +++++++++++ 4 files changed, 47 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index a234e4a9da43..3dbe0b7c506a 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -885,6 +885,7 @@ SUBDIR += py-colorthief SUBDIR += py-colorz SUBDIR += py-colour + SUBDIR += py-contextily SUBDIR += py-descartes SUBDIR += py-diplib SUBDIR += py-django-easy-thumbnails diff --git a/graphics/py-contextily/Makefile b/graphics/py-contextily/Makefile new file mode 100644 index 000000000000..6d3e786f49bb --- /dev/null +++ b/graphics/py-contextily/Makefile @@ -0,0 +1,32 @@ +PORTNAME= contextily +PORTVERSION= 1.6.0 +CATEGORIES= graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Context geo-tiles in Python +WWW= https://contextily.readthedocs.io/en/latest/ \ + https://github.com/geopandas/contextily + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geopy>=0:net/py-geopy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}joblib>=0:devel/py-joblib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mercantile>=0:science/py-mercantile@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rasterio>=0:graphics/py-rasterio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xyzservices>=0:www/py-xyzservices@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/graphics/py-contextily/distinfo b/graphics/py-contextily/distinfo new file mode 100644 index 000000000000..022049f96e7c --- /dev/null +++ b/graphics/py-contextily/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722711127 +SHA256 (contextily-1.6.0.tar.gz) = 8ab8ea9ec427c07960fae4964cfa6964b88c87546b97896422dbefc9fa8457f3 +SIZE (contextily-1.6.0.tar.gz) = 22461455 diff --git a/graphics/py-contextily/pkg-descr b/graphics/py-contextily/pkg-descr new file mode 100644 index 000000000000..d77c959e7690 --- /dev/null +++ b/graphics/py-contextily/pkg-descr @@ -0,0 +1,11 @@ +contextily is a small Python 3 package to retrieve tile maps from the internet. +It can add those tiles as basemap to matplotlib figures or write tile maps to +disk into geospatial raster files. Bounding boxes can be passed in both WGS84 +(EPSG:4326) and Spheric Mercator (EPSG:3857). See the notebook +contextily_guide.ipynb for usage. + +The current tile providers that are available in contextily are the providers +defined in the xyzservices package. This includes some popular tile maps, such +as: +- The standard OpenStreetMap map tiles +- Toner, Terrain and Watercolor map tiles by Stamen Design