summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-10-08 23:25:38 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-10-09 09:34:14 +0300
commit7a4b01967300e904091cb4ad1a18d6a0c3af4163 (patch)
treede7e0758b95cc5250092bf7bd7ac7a6c5f3c22e1 /dev-python/csvkit
parentdev-python/agate-sql: clean deps (diff)
downloadgentoo-7a4b01967300e904091cb4ad1a18d6a0c3af4163.tar.gz
gentoo-7a4b01967300e904091cb4ad1a18d6a0c3af4163.tar.bz2
gentoo-7a4b01967300e904091cb4ad1a18d6a0c3af4163.zip
dev-python/csvkit: clean deps
Remove IUSE=xml and use lxml as test dep Closes: https://github.com/gentoo/gentoo/pull/22519 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/csvkit')
-rw-r--r--dev-python/csvkit/csvkit-1.0.6-r1.ebuild (renamed from dev-python/csvkit/csvkit-1.0.6.ebuild)19
1 files changed, 5 insertions, 14 deletions
diff --git a/dev-python/csvkit/csvkit-1.0.6.ebuild b/dev-python/csvkit/csvkit-1.0.6-r1.ebuild
index 899bb8fae0d8..9c13bf83576a 100644
--- a/dev-python/csvkit/csvkit-1.0.6.ebuild
+++ b/dev-python/csvkit/csvkit-1.0.6-r1.ebuild
@@ -15,27 +15,18 @@ 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/csvkit[xml] )"
-AGATE_VERSION_DEP=">=dev-python/agate-1.6.1"
-TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
RDEPEND="
- ${AGATE_VERSION_DEP}[${PYTHON_USEDEP}]
+ >=dev-python/agate-1.6.1[${PYTHON_USEDEP}]
>=dev-python/agate-excel-0.2.2[${PYTHON_USEDEP}]
>=dev-python/agate-dbf-0.2.0[${PYTHON_USEDEP}]
>=dev-python/agate-sql-0.5.3[${PYTHON_USEDEP}]
>=dev-python/six-1.6.1[${PYTHON_USEDEP}]
-
- ${TEST_AGAINST_RDEPEND}
"
-BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
+BDEPEND="test? ( dev-python/lxml[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
-python_test() {
- local deselect=(
- tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_dbf
- )
- epytest ${deselect[@]/#/--deselect }
-}
+EPYTEST_DESELECT=(
+ tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_dbf
+)