git: ae236ad7481b - main - devel/py-autopage: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:26:47 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ae236ad7481b5c5c7d849ff88ad00d9073c942f6
commit ae236ad7481b5c5c7d849ff88ad00d9073c942f6
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:42:33 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:20:31 +0000
devel/py-autopage: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
---
devel/py-autopage/Makefile | 9 +++++----
devel/py-autopage/files/setup.py | 3 ---
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/devel/py-autopage/Makefile b/devel/py-autopage/Makefile
index 4add08272771..caf628182b37 100644
--- a/devel/py-autopage/Makefile
+++ b/devel/py-autopage/Makefile
@@ -1,5 +1,6 @@
PORTNAME= autopage
PORTVERSION= 0.5.1
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +12,12 @@ WWW= https://github.com/zaneb/autopage
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=43:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-post-patch:
- @${CP} ${FILESDIR}/setup.py ${WRKSRC}/
-
.include <bsd.port.mk>
diff --git a/devel/py-autopage/files/setup.py b/devel/py-autopage/files/setup.py
deleted file mode 100644
index 606849326a40..000000000000
--- a/devel/py-autopage/files/setup.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from setuptools import setup
-
-setup()