From 7fcc66cded655714a4e4b82c4c04dc2f2dcb81c8 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 8 Oct 2021 23:11:44 +0300 Subject: dev-python/agate-excel: clean deps Remove IUSE=xml and use lxml as test dep Signed-off-by: Arthur Zamarin --- dev-python/agate-excel/agate-excel-0.2.5-r1.ebuild | 27 ++++++++++++++++++ dev-python/agate-excel/agate-excel-0.2.5.ebuild | 33 ---------------------- 2 files changed, 27 insertions(+), 33 deletions(-) create mode 100644 dev-python/agate-excel/agate-excel-0.2.5-r1.ebuild delete mode 100644 dev-python/agate-excel/agate-excel-0.2.5.ebuild (limited to 'dev-python') diff --git a/dev-python/agate-excel/agate-excel-0.2.5-r1.ebuild b/dev-python/agate-excel/agate-excel-0.2.5-r1.ebuild new file mode 100644 index 000000000000..826a51433560 --- /dev/null +++ b/dev-python/agate-excel/agate-excel-0.2.5-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Adds read support for Excel files (xls and xlsx) to agate." +HOMEPAGE="https://github.com/wireservice/agate-excel https://pypi.org/project/agate-excel/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/agate-1.5.0[${PYTHON_USEDEP}] + dev-python/olefile[${PYTHON_USEDEP}] + >=dev-python/openpyxl-2.3.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/xlrd-0.9.4[${PYTHON_USEDEP}] +" +BDEPEND="test? ( dev-python/lxml[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/agate-excel/agate-excel-0.2.5.ebuild b/dev-python/agate-excel/agate-excel-0.2.5.ebuild deleted file mode 100644 index 12349af68287..000000000000 --- a/dev-python/agate-excel/agate-excel-0.2.5.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Adds read support for Excel files (xls and xlsx) to agate." -HOMEPAGE="https://github.com/wireservice/agate-excel https://pypi.org/project/agate-excel/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+xml" - -# Other packages have BDEPEND="test? ( dev-python/agate-excel[xml] )" -AGATE_VERSION_DEP=">=dev-python/agate-1.5.0" -TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" -RDEPEND=" - ${AGATE_VERSION_DEP}[${PYTHON_USEDEP}] - dev-python/olefile[${PYTHON_USEDEP}] - >=dev-python/openpyxl-2.3.0[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/xlrd-0.9.4[${PYTHON_USEDEP}] - - ${TEST_AGAINST_RDEPEND} -" -BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest -- cgit v1.2.3