math/py-fraction: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-05-13 22:02:33 +08:00
parent 5a910ffd72
commit 499f21bf5c
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 16 additions and 1 deletions

View file

@ -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

View file

@ -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",