summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-20 00:18:10 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-20 01:15:48 +0800
commitf8b4b540f2736647c10a17aff9c339110e4c2f8e (patch)
tree13fbf107d95e37aa4d81dd45631b696cd1f0ff29 /dns
parentdevel/py-xarray: Update to 2024.5.0 (diff)
dns/py-dns-crawler: Allow build with py-setuptools-git-versioning 2.0.0+
- Bump PORTREVISION for package change
Diffstat (limited to 'dns')
-rw-r--r--dns/py-dns-crawler/Makefile3
-rw-r--r--dns/py-dns-crawler/files/patch-pyproject.toml11
2 files changed, 13 insertions, 1 deletions
diff --git a/dns/py-dns-crawler/Makefile b/dns/py-dns-crawler/Makefile
index c212f499b5df..1d65e57ccc5e 100644
--- a/dns/py-dns-crawler/Makefile
+++ b/dns/py-dns-crawler/Makefile
@@ -1,5 +1,6 @@
PORTNAME= dns-crawler
PORTVERSION= 1.6.3
+PORTREVISION= 1
CATEGORIES= dns python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +13,7 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=41:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools-git-versioning>=0<2:devel/py-setuptools-git-versioning@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-git-versioning>=0:devel/py-setuptools-git-versioning@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cert-human>=1.0.7:security/py-cert-human@${PY_FLAVOR} \
diff --git a/dns/py-dns-crawler/files/patch-pyproject.toml b/dns/py-dns-crawler/files/patch-pyproject.toml
new file mode 100644
index 000000000000..138b802801c3
--- /dev/null
+++ b/dns/py-dns-crawler/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2024-03-12 11:50:34 UTC
++++ pyproject.toml
+@@ -26,7 +26,7 @@ line-length = 120
+ line-length = 120
+
+ [build-system]
+-requires = ["setuptools>=41", "wheel", "setuptools-git-versioning<2"]
++requires = ["setuptools>=41", "wheel", "setuptools-git-versioning"]
+ build-backend = "setuptools.build_meta"
+
+ [tool.setuptools-git-versioning]