summaryrefslogtreecommitdiff
path: root/repo/python-wheel/use-system-packaging.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
commitccc722b7ed330198d82a3cf28ead76d6d107a70a (patch)
tree7611b3cc4f3ca681524fa28b174a0253eb802e0e /repo/python-wheel/use-system-packaging.patch
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
Diffstat (limited to 'repo/python-wheel/use-system-packaging.patch')
-rw-r--r--repo/python-wheel/use-system-packaging.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/python-wheel/use-system-packaging.patch b/repo/python-wheel/use-system-packaging.patch
new file mode 100644
index 0000000..8944566
--- /dev/null
+++ b/repo/python-wheel/use-system-packaging.patch
@@ -0,0 +1,21 @@
+Upstream vendors packaging, use system packaging instead
+
+diff --git a/src/wheel/bdist_wheel.py b/src/wheel/bdist_wheel.py
+index 80e43d0..6bb272c 100644
+--- a/src/wheel/bdist_wheel.py
++++ b/src/wheel/bdist_wheel.py
+@@ -19,13 +19,13 @@ from glob import iglob
+ from shutil import rmtree
+ from sysconfig import get_config_var
+ from zipfile import ZIP_DEFLATED, ZIP_STORED
++from packaging import tags
+
+ import pkg_resources
+
+ from .pkginfo import write_pkg_info
+ from .macosx_libfile import calculate_macosx_platform_tag
+ from .metadata import pkginfo_to_metadata
+-from .vendored.packaging import tags
+ from .wheelfile import WheelFile
+ from . import __version__ as wheel_version
+