summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-12-16 04:31:12 +0100
committerMichał Górny <mgorny@gentoo.org>2025-12-16 04:52:46 +0100
commit6315cb8e4e40e0be87c75a45a6ddadd9799cc8fc (patch)
tree5be07ed4f59c2c076557b4d0a66f5e5791022098 /dev-python
parent0aa7e19f726fe2c60250111d797ea9ddf00ca26a (diff)
downloadgentoo-6315cb8e4e40e0be87c75a45a6ddadd9799cc8fc.tar.gz
gentoo-6315cb8e4e40e0be87c75a45a6ddadd9799cc8fc.tar.bz2
gentoo-6315cb8e4e40e0be87c75a45a6ddadd9799cc8fc.zip
dev-python/csvkit: Bump to 2.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/csvkit/Manifest2
-rw-r--r--dev-python/csvkit/csvkit-2.2.0.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest
index d08d6c033ae6..617051451100 100644
--- a/dev-python/csvkit/Manifest
+++ b/dev-python/csvkit/Manifest
@@ -1,2 +1,4 @@
DIST csvkit-2.1.0.tar.gz 3820430 BLAKE2B fc3ad12ecb8cedf69c41263733939c2bee4755076a227b50e60704a59f74bdca8e8280bc240fc22d11aaed6066f0f0abac7afad5a2c6e8a6187604416308b187 SHA512 7f34b346179b71bbb6519c8c58d5caf5c5a861997a249f2c438af3957c6beb913b5f7a3e05a0ae00754a0eba3314f86aba4d5f599ad04497e7a8df79be8c35b4
DIST csvkit-2.1.0.tar.gz.provenance 9020 BLAKE2B 8c613a0f1d3d3893510ad72c2108ef28d1bb5769be8b906d6e7e2494ba18fdbaefb71a9640e4e6a162d8c37675b18d4142b0b74d95d10eda8643e3b1320155f9 SHA512 8a536702e427e57b6cbc6410948ec885def9af1ad52df58b11c83df921fe4a3a6ee89c138c9294aa6441106c7b579b802ad3cc9706802aa3617b149eae49ce0c
+DIST csvkit-2.2.0.tar.gz 3820365 BLAKE2B 2aba709d37e3a6e618b72b12b326d077eef09564de80def8cc036fdeefbf632f7b847f30b50770c65ec9238eba252c75c10aa169438fb1b75d7606c1a39ac16e SHA512 e7afd61ae9af6c732b1bab4b7a1b990376b5bb39727a0d4159fe7040103089544c895d176837ec7b5960d50802080223cd3a2574011bcdbbe692b8284a182f3f
+DIST csvkit-2.2.0.tar.gz.provenance 9387 BLAKE2B dd08a2d4862cadd53b12a92455a1b8526038fce5144ce4845a5e23445a025d359ccc5c3ab618ceb17e533d6d775f59383f4de418b68d8e0c4ec39e6ab5128d01 SHA512 0d6ffb81909d366fe75b0bd3fb068f0e2be73ea2af3d664638b20a928c77c56918ecdbc2e50244488bbf8ed73b572dc8dcb239d0554b38384884c2cd7786edba
diff --git a/dev-python/csvkit/csvkit-2.2.0.ebuild b/dev-python/csvkit/csvkit-2.2.0.ebuild
new file mode 100644
index 000000000000..716179ee5c8f
--- /dev/null
+++ b/dev-python/csvkit/csvkit-2.2.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/wireservice/csvkit
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A suite of utilities for converting to and working with CSV"
+HOMEPAGE="
+ https://github.com/wireservice/csvkit/
+ https://pypi.org/project/csvkit/
+"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64-macos ~x64-macos"
+
+RDEPEND="
+ >=dev-python/agate-1.12.0[${PYTHON_USEDEP}]
+ >=dev-python/agate-excel-0.4.0[${PYTHON_USEDEP}]
+ >=dev-python/agate-dbf-0.2.3[${PYTHON_USEDEP}]
+ >=dev-python/agate-sql-0.7.0[${PYTHON_USEDEP}]
+ dev-python/openpyxl[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/xlrd[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/zstandard[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+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
+}