diff options
Diffstat (limited to 'textproc/py-elementpath')
| -rw-r--r-- | textproc/py-elementpath/Makefile | 9 | ||||
| -rw-r--r-- | textproc/py-elementpath/distinfo | 6 | ||||
| -rw-r--r-- | textproc/py-elementpath/files/patch-pyproject.toml | 20 |
3 files changed, 28 insertions, 7 deletions
diff --git a/textproc/py-elementpath/Makefile b/textproc/py-elementpath/Makefile index 72ebc583a741..6ca8cb43c4b3 100644 --- a/textproc/py-elementpath/Makefile +++ b/textproc/py-elementpath/Makefile @@ -1,6 +1,5 @@ PORTNAME= elementpath -DISTVERSION= 4.8.0 -PORTREVISION= 1 +DISTVERSION= 5.0.4 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +11,13 @@ WWW= https://github.com/sissaschool/elementpath LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmlschema>=2.0.0:textproc/py-xmlschema@${PY_FLAVOR} USES= python -USE_PYTHON= distutils concurrent autoplist pytest +USE_PYTHON= pep517 concurrent autoplist pytest NO_ARCH= yes diff --git a/textproc/py-elementpath/distinfo b/textproc/py-elementpath/distinfo index af616c9dd7aa..ffeae34991e2 100644 --- a/textproc/py-elementpath/distinfo +++ b/textproc/py-elementpath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1741826177 -SHA256 (elementpath-4.8.0.tar.gz) = 5822a2560d99e2633d95f78694c7ff9646adaa187db520da200a8e9479dc46ae -SIZE (elementpath-4.8.0.tar.gz) = 358528 +TIMESTAMP = 1762410495 +SHA256 (elementpath-5.0.4.tar.gz) = 85ed93565d6e94aefa160b12f36b12cbe4be6bf9bbde06b80f2c5c94829a25fb +SIZE (elementpath-5.0.4.tar.gz) = 365851 diff --git a/textproc/py-elementpath/files/patch-pyproject.toml b/textproc/py-elementpath/files/patch-pyproject.toml new file mode 100644 index 000000000000..c80e182f755a --- /dev/null +++ b/textproc/py-elementpath/files/patch-pyproject.toml @@ -0,0 +1,20 @@ +--- pyproject.toml.orig 2025-11-06 06:48:39 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools >= 77.0"] ++requires = ["setuptools >= 63.0"] + build-backend = "setuptools.build_meta" + + [project] +@@ -7,8 +7,8 @@ readme = "README.rst" + version = "5.0.4" + description = "XPath 1.0/2.0/3.0/3.1 parsers and selectors for ElementTree and lxml" + readme = "README.rst" +-license = "MIT" +-license-files = ["LICENSE"] ++license = {text="MIT"} ++#license-files = ["LICENSE"] + requires-python = ">=3.9" + authors = [ + { name = "Davide Brunato", email = "brunato@sissa.it" }, |
