commit:     076c5ab6adc83d4c0937278b794d3816cedecc2e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 11:23:45 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 11:39:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076c5ab6

dev-python/openpyxl: Migrate to PEP517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild | 30 ++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

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

Reply via email to