-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 499f21bf5c98b697eb26322db0198867210330f0 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=499f21bf5c98b697eb26322db0198867210330f0 commit 499f21bf5c98b697eb26322db0198867210330f0 Author: Po-Chuan Hsieh AuthorDate: 2024-05-13 14:02:33 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-05-13 14:02:33 +0000 math/py-fraction: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- math/py-fraction/Makefile | 6 +++++- math/py-fraction/files/patch-setup.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/math/py-fraction/Makefile b/math/py-fraction/Makefile index 53623eb711ae..bdad3c75c1e5 100644 --- a/math/py-fraction/Makefile +++ b/math/py-fraction/Makefile @@ -1,5 +1,6 @@ PORTNAME= fraction PORTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= PYPI \ https://github.com/bradley101/fraction/releases/download/${PORTVERSION}/ @@ -13,8 +14,11 @@ WWW= https://github.com/bradley101/fraction LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/math/py-fraction/files/patch-setup.py b/math/py-fraction/files/patch-setup.py new file mode 100644 index 000000000000..7f8199f859ab --- /dev/null +++ b/math/py-fraction/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-05-21 10:47:22 UTC ++++ setup.py +@@ -4,7 +4,7 @@ setuptools.setup( + long_description = fh.read() + + setuptools.setup( +- name="Fraction", # Replace with your own username ++ name="fraction", # Replace with your own username + version="2.2.0", + author="Shantanu Banerjee", + author_email="hi@shantanubanerjee.com",