summaryrefslogtreecommitdiff
path: root/textproc/py-roman-numerals-py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/py-roman-numerals-py/Makefile9
-rw-r--r--textproc/py-roman-numerals-py/distinfo6
-rw-r--r--textproc/py-roman-numerals-py/files/patch-pyproject.toml18
3 files changed, 26 insertions, 7 deletions
diff --git a/textproc/py-roman-numerals-py/Makefile b/textproc/py-roman-numerals-py/Makefile
index b27c5e7aee88..b7799b0aed35 100644
--- a/textproc/py-roman-numerals-py/Makefile
+++ b/textproc/py-roman-numerals-py/Makefile
@@ -1,5 +1,5 @@
PORTNAME= roman-numerals-py
-PORTVERSION= 3.1.0
+PORTVERSION= 4.0.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,11 @@ WWW= https://github.com/AA-Turner/roman-numerals/tree/master/python \
https://github.com/AA-Turner/roman-numerals
LICENSE= BSD0CLAUSE CC0-1.0
-LICENSE_COMB= multi
-LICENSE_FILE= ${WRKSRC}/LICENCE.rst
+LICENSE_COMB= dual
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.7<4:devel/py-flit-core@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}roman-numerals>=${PORTVERSION}<${PORTVERSION}_99:textproc/py-roman-numerals@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517 pytest
diff --git a/textproc/py-roman-numerals-py/distinfo b/textproc/py-roman-numerals-py/distinfo
index 5197e6c3b92e..c9a15b18caac 100644
--- a/textproc/py-roman-numerals-py/distinfo
+++ b/textproc/py-roman-numerals-py/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749813114
-SHA256 (roman_numerals_py-3.1.0.tar.gz) = be4bf804f083a4ce001b5eb7e3c0862479d10f94c936f6c4e5f250aa5ff5bd2d
-SIZE (roman_numerals_py-3.1.0.tar.gz) = 9017
+TIMESTAMP = 1766036511
+SHA256 (roman_numerals_py-4.0.0.tar.gz) = f7fa8dff5b7b7251d3a7586b97c57a0698e2e28898fa42c23bcc0cf51b02aee9
+SIZE (roman_numerals_py-4.0.0.tar.gz) = 1119
diff --git a/textproc/py-roman-numerals-py/files/patch-pyproject.toml b/textproc/py-roman-numerals-py/files/patch-pyproject.toml
new file mode 100644
index 000000000000..2b3d64df1d5b
--- /dev/null
+++ b/textproc/py-roman-numerals-py/files/patch-pyproject.toml
@@ -0,0 +1,18 @@
+--- pyproject.toml.orig 2025-12-16 01:53:13 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=77"]
++requires = ["setuptools>=61"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+@@ -17,7 +17,7 @@ urls.Download = "https://pypi.org/project/roman-numera
+ ]
+ urls.Code = "https://github.com/AA-Turner/roman-numerals/"
+ urls.Download = "https://pypi.org/project/roman-numerals-py/"
+-license = "0BSD or CC0-1.0"
++license = {text = "0BSD or CC0-1.0"}
+ requires-python = ">=3.10"
+
+ [[project.authors]]