commit: d683b1d20bba790c05244b9b53925170ad6457b7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 29 17:23:59 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 29 18:09:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d683b1d2
dev-python/openpyxl: Fix python_requires in metadata
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/openpyxl/files/openpyxl-3.0.7-metadata.patch | 12 ++++++++++++
.../{openpyxl-3.0.7.ebuild => openpyxl-3.0.7-r1.ebuild} | 4 ++++
2 files changed, 16 insertions(+)
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 00000000000..08349787e6f
--- /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
similarity index 92%
rename from dev-python/openpyxl/openpyxl-3.0.7.ebuild
rename to dev-python/openpyxl/openpyxl-3.0.7-r1.ebuild
index d78f064d072..b5ef708e1be 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
+)