summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-04 15:01:55 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-04 15:12:21 +0100
commit95ae9681b2d08646d46c9a4b7f435fb7e3e3c1c6 (patch)
tree5020ff33a7df831ab4651c5974c59b5378987e92 /dev-python/csvkit
parentdev-python/agate-dbf: PEP517, py3.11 (diff)
downloadgentoo-95ae9681b2d08646d46c9a4b7f435fb7e3e3c1c6.tar.gz
gentoo-95ae9681b2d08646d46c9a4b7f435fb7e3e3c1c6.tar.bz2
gentoo-95ae9681b2d08646d46c9a4b7f435fb7e3e3c1c6.zip
dev-python/csvkit: Bump to 1.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/csvkit')
-rw-r--r--dev-python/csvkit/Manifest1
-rw-r--r--dev-python/csvkit/csvkit-1.1.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest
index dcc54b367dba..709b285d4daa 100644
--- a/dev-python/csvkit/Manifest
+++ b/dev-python/csvkit/Manifest
@@ -1 +1,2 @@
DIST csvkit-1.0.7.tar.gz 3792335 BLAKE2B 6a9c5c1287648271eacf5f010a4b181f5e997a52d196ac4b73b95723e5ce2a3d90d0b51fe4f597b0b346292cefc16b7c283b02e9a8e56f26e10bca9b3f8622ea SHA512 c6275ed000639a1ddf15246eb1e0198787f832537a284900067e3ec65986be115709b3fd4aaf8e13a9b53160edd57ebb864ee1e73354712591c78297b6d293b7
+DIST csvkit-1.1.0.tar.gz 3791940 BLAKE2B 9ef69f1acde1cab9ed69ca62b8e94fc92207bba1967db17c4f2edbda7191d2783d075be004d5c6022d446921343938ed502812602b2ce1cb16c2c62b530a5027 SHA512 4cc9eb9c326bc38368149721777f0c14e89fa8e65b7553908120613ee233105a6ab324054382766c6838c1594960907373f59b33a285e92a62b6e6cd0f5f89b7
diff --git a/dev-python/csvkit/csvkit-1.1.0.ebuild b/dev-python/csvkit/csvkit-1.1.0.ebuild
new file mode 100644
index 000000000000..e820e8cd9f6e
--- /dev/null
+++ b/dev-python/csvkit/csvkit-1.1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A suite of utilities for converting to and working with CSV"
+HOMEPAGE="
+ https://github.com/wireservice/csvkit/
+ https://pypi.org/project/csvkit/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=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}]
+"
+BDEPEND="
+ test? (
+ dev-python/lxml[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # fails depending on locale, let's not force en_US
+ tests/test_utilities/test_csvstat.py::TestCSVStat::test_decimal_format
+ )
+ local -x LC_ALL=C.UTF-8
+ epytest
+}