1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

devel/py-importlib-resources: Minor fixes

- Remove unneeded BUILD_DEPENDS
- Fix USES=python
- Add NO_ARCH
- Update WWW

Approved by:	portmgr (blanket)
This commit is contained in:
Po-Chuan Hsieh 2021-11-22 02:24:46 +08:00
parent c3e0f7ee44
commit 9698ad19e0
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 4 additions and 5 deletions

View File

@ -11,12 +11,11 @@ COMMENT= Read resources from Python packages
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= python:3.5+
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31000

View File

@ -1,3 +1,3 @@
Read resources from Python packages
WWW: https://gitlab.com/python-devs/importlib_resources
WWW: https://github.com/python/importlib_resources