summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-29 19:23:59 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-29 20:09:43 +0200
commitd683b1d20bba790c05244b9b53925170ad6457b7 (patch)
treef2233e773c8a6581118e415445ee577787a7e7c1 /dev-python/openpyxl
parentdev-python/nltk: Fix python_requires in metadata (diff)
downloadgentoo-d683b1d20bba790c05244b9b53925170ad6457b7.tar.gz
gentoo-d683b1d20bba790c05244b9b53925170ad6457b7.tar.bz2
gentoo-d683b1d20bba790c05244b9b53925170ad6457b7.zip
dev-python/openpyxl: Fix python_requires in metadata
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/openpyxl')
-rw-r--r--dev-python/openpyxl/files/openpyxl-3.0.7-metadata.patch12
-rw-r--r--dev-python/openpyxl/openpyxl-3.0.7-r1.ebuild (renamed from dev-python/openpyxl/openpyxl-3.0.7.ebuild)4
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/openpyxl/files/openpyxl-3.0.7-metadata.patch b/dev-python/openpyxl/files/openpyxl-3.0.7-metadata.patch
new file mode 100644
index 000000000000..08349787e6fc
--- /dev/null
+++ b/dev-python/openpyxl/files/openpyxl-3.0.7-metadata.patch
@@ -0,0 +1,12 @@
+diff -dupr a/setup.py b/setup.py
+--- a/setup.py 2021-05-29 19:21:13.876463476 +0200
++++ b/setup.py 2021-05-29 19:21:21.986626313 +0200
+@@ -74,7 +74,7 @@ setup(
+ author_email=__author_email__,
+ url=__url__,
+ license=__license__,
+- python_requires=">=3.6, ",
++ python_requires=">=3.6",
+ install_requires=[
+ 'et_xmlfile',
+ ],
diff --git a/dev-python/openpyxl/openpyxl-3.0.7.ebuild b/dev-python/openpyxl/openpyxl-3.0.7-r1.ebuild
index d78f064d0725..b5ef708e1bec 100644
--- a/dev-python/openpyxl/openpyxl-3.0.7.ebuild
+++ b/dev-python/openpyxl/openpyxl-3.0.7-r1.ebuild
@@ -27,3 +27,7 @@ BDEPEND="
distutils_enable_sphinx doc
distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/openpyxl-3.0.7-metadata.patch
+)