summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-26 12:23:45 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-26 12:39:38 +0100
commit076c5ab6adc83d4c0937278b794d3816cedecc2e (patch)
treebac61fcad9aa196c5b306f755ff33ae6a3b15d1f /dev-python/openpyxl
parentmail-mta/sendmail: Stabilize 8.17.1-r1 ppc, #833700 (diff)
downloadgentoo-076c5ab6adc83d4c0937278b794d3816cedecc2e.tar.gz
gentoo-076c5ab6adc83d4c0937278b794d3816cedecc2e.tar.bz2
gentoo-076c5ab6adc83d4c0937278b794d3816cedecc2e.zip
dev-python/openpyxl: Migrate to PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/openpyxl')
-rw-r--r--dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild b/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild
new file mode 100644
index 000000000000..83a8c222caa7
--- /dev/null
+++ b/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure python reader and writer of Excel OpenXML files"
+HOMEPAGE="https://openpyxl.readthedocs.io/en/stable/"
+SRC_URI="https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/et_xmlfile[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP},tiff,jpeg]
+ )
+"
+
+distutils_enable_sphinx doc
+distutils_enable_tests pytest