aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2022-09-09 17:38:38 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2022-09-09 17:50:30 +0000
commit32bbc9b61b7fe1ce4751d33cbc063b3990a608df (patch)
treef5a075c67497210ba85b829797fd7d5f2295c6da
parentbc54b671f233652cccd92b3f3acf37c4ef96a820 (diff)
downloadports-32bbc9b61b7fe1ce4751d33cbc063b3990a608df.tar.gz
ports-32bbc9b61b7fe1ce4751d33cbc063b3990a608df.zip
science/mercantile: Add mercantile, a spherical mercator coordinate and tile utilities
-rw-r--r--science/Makefile1
-rw-r--r--science/mercantile/Makefile21
-rw-r--r--science/mercantile/distinfo3
-rw-r--r--science/mercantile/pkg-descr5
4 files changed, 30 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index fd58073dc13c..bfad12c50cd6 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -173,6 +173,7 @@
SUBDIR += mdynamix
SUBDIR += medit
SUBDIR += meep
+ SUBDIR += mercantile
SUBDIR += metaphysicl
SUBDIR += minc2
SUBDIR += mmdb2
diff --git a/science/mercantile/Makefile b/science/mercantile/Makefile
new file mode 100644
index 000000000000..4b2f24c36a57
--- /dev/null
+++ b/science/mercantile/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= mercantile
+DISTVERSION= 1.2.1
+CATEGORIES= science
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= bland@FreeBSD.org
+COMMENT= Spherical mercator coordinate and tile utilities
+
+LICENSE= BSD3CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0:devel/py-click@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+USE_GITHUB= yes
+GH_ACCOUNT= mapbox
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/science/mercantile/distinfo b/science/mercantile/distinfo
new file mode 100644
index 000000000000..e3088cf7c11c
--- /dev/null
+++ b/science/mercantile/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1662722235
+SHA256 (mapbox-mercantile-1.2.1_GH0.tar.gz) = 4437c29cf8ecf96f68e2dfa9e0abe1a125bd9d772d9ee7413d48cbf6092d9e01
+SIZE (mapbox-mercantile-1.2.1_GH0.tar.gz) = 36690
diff --git a/science/mercantile/pkg-descr b/science/mercantile/pkg-descr
new file mode 100644
index 000000000000..efb66460078b
--- /dev/null
+++ b/science/mercantile/pkg-descr
@@ -0,0 +1,5 @@
+Mercantile is a module of utilities for working with XYZ style spherical
+mercator tiles (as in Google Maps, OSM, Mapbox, etc.) and includes a set of
+command line programs built on these utilities.
+
+WWW: https://github.com/mapbox/mercantile