diff --git a/devel/py-setuptools44/Makefile b/devel/py-setuptools44/Makefile index 673af0627c0bc5d0bd74366c6e863ec77d39a484..cc1003bdc7f380720f098326db828a868b4ee125 100644 --- a/devel/py-setuptools44/Makefile +++ b/devel/py-setuptools44/Makefile @@ -1,5 +1,6 @@ PORTNAME= setuptools PORTVERSION= 44.1.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-setuptools44/files/patch-setuptools_package__index.py b/devel/py-setuptools44/files/patch-setuptools_package__index.py new file mode 100644 index 0000000000000000000000000000000000000000..85b8319a0b09c9de2dec271781cf3e86a14867e8 --- /dev/null +++ b/devel/py-setuptools44/files/patch-setuptools_package__index.py @@ -0,0 +1,11 @@ +--- setuptools/package_index.py.orig 2022-07-04 02:25:25 UTC ++++ setuptools/package_index.py +@@ -197,7 +197,7 @@ def unique_values(func): + return wrapper + + +-REL = re.compile(r"""<([^>]*\srel\s*=\s*['"]?([^'">]+)[^>]*)>""", re.I) ++REL = re.compile(r"""<([^>]*\srel\s{0,10}=\s{0,10}['"]?([^'" >]+)[^>]*)>""", re.I) + # this line is here to fix emacs' cruddy broken syntax highlighting + + diff --git a/devel/py-setuptools58/Makefile b/devel/py-setuptools58/Makefile index c6e1695a54d1bc96203a27f0f4358bcf971fc649..40e9a8c756d6a2ea2d9a80b38d93dac50acf798a 100644 --- a/devel/py-setuptools58/Makefile +++ b/devel/py-setuptools58/Makefile @@ -1,6 +1,6 @@ PORTNAME= setuptools PORTVERSION= 58.5.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-setuptools58/files/patch-setuptools_package__index.py b/devel/py-setuptools58/files/patch-setuptools_package__index.py new file mode 100644 index 0000000000000000000000000000000000000000..85b8319a0b09c9de2dec271781cf3e86a14867e8 --- /dev/null +++ b/devel/py-setuptools58/files/patch-setuptools_package__index.py @@ -0,0 +1,11 @@ +--- setuptools/package_index.py.orig 2022-07-04 02:25:25 UTC ++++ setuptools/package_index.py +@@ -197,7 +197,7 @@ def unique_values(func): + return wrapper + + +-REL = re.compile(r"""<([^>]*\srel\s*=\s*['"]?([^'">]+)[^>]*)>""", re.I) ++REL = re.compile(r"""<([^>]*\srel\s{0,10}=\s{0,10}['"]?([^'" >]+)[^>]*)>""", re.I) + # this line is here to fix emacs' cruddy broken syntax highlighting + + diff --git a/security/vuxml/vuln/2023.xml b/security/vuxml/vuln/2023.xml index 388fb3f656d9d792792fe344e560222397dc8d60..5cd8ec24d829ea85397fba63216c62b8567ccc55 100644 --- a/security/vuxml/vuln/2023.xml +++ b/security/vuxml/vuln/2023.xml @@ -2833,6 +2833,8 @@ <affects> <package> <name>py39-setuptools</name> + <range><lt>44.1.1</lt></range> + <range><ge>57.0.0</ge><lt>58.5.3_3</lt></range> <range><lt>63.1.0_1</lt></range> </package> </affects>