git: c48952dbfdb3 - main - devel/py-datrie: Remove unnecessary dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Mar 2025 23:48:21 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c48952dbfdb3380ebac91a841275cea4a63008aa
commit c48952dbfdb3380ebac91a841275cea4a63008aa
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-03-16 21:13:17 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-03-16 23:48:13 +0000
devel/py-datrie: Remove unnecessary dependency
---
devel/py-datrie/Makefile | 6 +-----
devel/py-datrie/files/patch-setup.py | 9 +++++++++
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/devel/py-datrie/Makefile b/devel/py-datrie/Makefile
index 14a13e7ecddd..5cef637f7fd6 100644
--- a/devel/py-datrie/Makefile
+++ b/devel/py-datrie/Makefile
@@ -11,11 +11,7 @@ WWW= https://github.com/pytries/datrie
LICENSE= GPLv2
-DEPRECATED= Depends on expired devel/py-pytest-runner
-EXPIRATION_DATE=2025-03-31
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
diff --git a/devel/py-datrie/files/patch-setup.py b/devel/py-datrie/files/patch-setup.py
new file mode 100644
index 000000000000..01f9929e9e89
--- /dev/null
+++ b/devel/py-datrie/files/patch-setup.py
@@ -0,0 +1,9 @@
+--- setup.py.orig 2025-03-16 21:08:30 UTC
++++ setup.py
+@@ -60,5 +60,5 @@ setup(name="datrie",
+ "include_dirs": [LIBDATRIE_DIR]})],
+ ext_modules=ext_modules,
+ python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
+- setup_requires=["pytest-runner", 'Cython>=0.28'],
++ setup_requires=['Cython>=0.28'],
+ tests_require=["pytest", "hypothesis"])