summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-21 02:13:40 +0000
committerSam James <sam@gentoo.org>2021-12-21 02:14:41 +0000
commitee35be1dc88fca67d3845bf583d886912ca9bb73 (patch)
tree990c26ce1565ba97c6ed1970a0e15e9a10461bbd /dev-python/certifi/files
parentsys-fs/zfs: fix test build failure on musl in 2.1.2 (diff)
downloadgentoo-ee35be1dc88fca67d3845bf583d886912ca9bb73.tar.gz
gentoo-ee35be1dc88fca67d3845bf583d886912ca9bb73.tar.bz2
gentoo-ee35be1dc88fca67d3845bf583d886912ca9bb73.zip
dev-python/certifi: needs setuptools at runtime
Bug: https://github.com/tiran/certifi-system-store/pull/17 Closes: https://bugs.gentoo.org/822777 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/certifi/files')
-rw-r--r--dev-python/certifi/files/certifi-3021.3.16-setuptools.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/certifi/files/certifi-3021.3.16-setuptools.patch b/dev-python/certifi/files/certifi-3021.3.16-setuptools.patch
new file mode 100644
index 000000000000..57154fd0eed9
--- /dev/null
+++ b/dev-python/certifi/files/certifi-3021.3.16-setuptools.patch
@@ -0,0 +1,21 @@
+https://github.com/tiran/certifi-system-store/pull/17
+https://bugs.gentoo.org/822777
+
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Tue, 23 Nov 2021 15:56:33 +0100
+Subject: [PATCH] Add missing install_requires on setuptools
+
+This package is using pkg_resources explicitly, it should therefore
+declare an explicit dependency on setuptools. The missing dependency
+has lead me to actually miss the runtime dependency which caused issues
+for Gentoo users for whom setuptools were cleaned.
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -40,6 +40,7 @@ zip_safe = True
+ setup_requires = setuptools
+ # hack to prevent installation on unsupported platforms Windows and macOS
+ install_requires =
++ setuptools
+ certifi-system-store > 4000; sys_platform == "win32" or sys_platform == "darwin"
+ python_requires = >=3.6
+