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 @@ -1,28 +1,24 @@ PORTNAME= datrie PORTVERSION= 0.8.2 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Super-fast, efficiently stored Trie for Python 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} USES= python USE_PYTHON= distutils cython autoplist do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest .include 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"])