git: 9698ad19e0c4 - main - devel/py-importlib-resources: Minor fixes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Nov 2021 18:30:09 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9698ad19e0c450f2c05184e308e0aee262c4a827
commit 9698ad19e0c450f2c05184e308e0aee262c4a827
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-21 18:24:46 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-21 18:24:46 +0000
devel/py-importlib-resources: Minor fixes
- Remove unneeded BUILD_DEPENDS
- Fix USES=python
- Add NO_ARCH
- Update WWW
Approved by: portmgr (blanket)
---
devel/py-importlib-resources/Makefile | 7 +++----
devel/py-importlib-resources/pkg-descr | 2 +-
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/devel/py-importlib-resources/Makefile b/devel/py-importlib-resources/Makefile
index 526b6df0c1e3..9c09ab6b72a6 100644
--- a/devel/py-importlib-resources/Makefile
+++ b/devel/py-importlib-resources/Makefile
@@ -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
diff --git a/devel/py-importlib-resources/pkg-descr b/devel/py-importlib-resources/pkg-descr
index e45fda272695..6d93a965db9a 100644
--- a/devel/py-importlib-resources/pkg-descr
+++ b/devel/py-importlib-resources/pkg-descr
@@ -1,3 +1,3 @@
Read resources from Python packages
-WWW: https://gitlab.com/python-devs/importlib_resources
+WWW: https://github.com/python/importlib_resources