science/py-mercantile: Move science/mercantile to science/py-mercantile

- Change MASTER_SITES from GitHub to PYPI
- Add LICENSE_FILE
- Fix version requirement of RUN_DEPENDS
- Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
- Take maintainership
This commit is contained in:
Po-Chuan Hsieh 2024-08-05 00:48:39 +08:00
parent 11cc85b90a
commit 1608be4a86
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
7 changed files with 29 additions and 26 deletions

1
MOVED
View file

@ -3423,3 +3423,4 @@ graphics/svg2pdf||2024-08-04|Has expired: Depends on deprecated library graphics
audio/libsidplay2||2024-08-04|Has expired: Abandonware and superseded by audio/libsidplayfp
www/py-imdbpy|www/py-cinemagoer|2024-08-04|Has expired: IMDbPY is now cinemagoer. Use www/py-cinemagoer instead
dns/dnrd||2024-08-04|Has expired: Abandonware, last release in 2007 and last activity in 2010. Consider using Unbound, dns/dnsmasq or dns/blocky
science/mercantile|science/py-mercantile|2024-08-04|Move science/mercantile to science/py-mercantile

View file

@ -183,7 +183,6 @@
SUBDIR += mdynamix
SUBDIR += medit
SUBDIR += meep
SUBDIR += mercantile
SUBDIR += metaphysicl
SUBDIR += minc2
SUBDIR += mmdb2
@ -364,6 +363,7 @@
SUBDIR += py-libpysal
SUBDIR += py-lifelines
SUBDIR += py-mdp
SUBDIR += py-mercantile
SUBDIR += py-meshio
SUBDIR += py-mmcif
SUBDIR += py-mmtf-python

View file

@ -1,22 +0,0 @@
PORTNAME= mercantile
DISTVERSION= 1.2.1
CATEGORIES= science
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Spherical mercator coordinate and tile utilities
WWW= https://github.com/mapbox/mercantile
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0:devel/py-click@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
GH_ACCOUNT= mapbox
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1662722235
SHA256 (mapbox-mercantile-1.2.1_GH0.tar.gz) = 4437c29cf8ecf96f68e2dfa9e0abe1a125bd9d772d9ee7413d48cbf6092d9e01
SIZE (mapbox-mercantile-1.2.1_GH0.tar.gz) = 36690

View file

@ -0,0 +1,24 @@
PORTNAME= mercantile
DISTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Web mercator XYZ tile utilities
WWW= https://github.com/mapbox/mercantile
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=3.0:devel/py-click@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1662722235
SHA256 (mercantile-1.2.1.tar.gz) = fa3c6db15daffd58454ac198b31887519a19caccee3f9d63d17ae7ff61b3b56b
SIZE (mercantile-1.2.1.tar.gz) = 26352