git: f51bf171c0e7 - main - devel/py-represent: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:20:18 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f51bf171c0e7c1a40a56b0b2f52a860cff306021
commit f51bf171c0e7c1a40a56b0b2f52a860cff306021
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:03:58 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:03:58 +0000
devel/py-represent: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
devel/py-represent/Makefile | 6 ++++--
devel/py-represent/files/patch-setup.py | 11 +++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/devel/py-represent/Makefile b/devel/py-represent/Makefile
index 9905783375b8..2eab9921c18e 100644
--- a/devel/py-represent/Makefile
+++ b/devel/py-represent/Makefile
@@ -1,7 +1,7 @@
PORTNAME= represent
PORTVERSION= 1.6.0
DISTVERSIONSUFFIX= .post0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,12 +15,14 @@ LICENSE= BSD3CLAUSE MIT
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8.0:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython>=0:devel/ipython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=3.0.5:devel/py-pytest@${PY_FLAVOR}
USES= dos2unix python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/devel/py-represent/files/patch-setup.py b/devel/py-represent/files/patch-setup.py
new file mode 100644
index 000000000000..b62c833a5f76
--- /dev/null
+++ b/devel/py-represent/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2020-12-22 00:50:20 UTC
++++ setup.py
+@@ -31,7 +31,7 @@ extras_require = {
+
+
+ setup(
+- name='Represent',
++ name='represent',
+ version=VERSION,
+ description=DESCRIPTION,
+ long_description=open('README.md').read(),