mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
math/py-fraction: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
5a910ffd72
commit
499f21bf5c
2 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
11
math/py-fraction/files/patch-setup.py
Normal file
11
math/py-fraction/files/patch-setup.py
Normal 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",
|
Loading…
Add table
Reference in a new issue