commit:     d45c6afc60c8e54437f98f44887f9b99c8657067
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 27 05:19:06 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 27 05:50:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45c6afc

dev-python/csvkit: Bump to 2.1.0

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

 dev-python/csvkit/Manifest            |  1 +
 dev-python/csvkit/csvkit-2.1.0.ebuild | 45 +++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest
index b5b093a406a2..4bc880527dea 100644
--- a/dev-python/csvkit/Manifest
+++ b/dev-python/csvkit/Manifest
@@ -1 +1,2 @@
 DIST csvkit-2.0.1.tar.gz 3819039 BLAKE2B 
c67b20f77cd3cada4b940facf5ee246d37cf07499278293bb97cc62f2950677daf236394118ae8a69bdd8686e309ba178bdc3799fbae5b77ff3df7a9d32d70f8
 SHA512 
2a7b6887c3042becdacb58db7604518c65f07fac51faae268c769ea233961c3754bbed3581a6756d337e40b62b264f8da518f8dc81cd5d61babbec0c2c9eaf31
+DIST csvkit-2.1.0.tar.gz 3820430 BLAKE2B 
fc3ad12ecb8cedf69c41263733939c2bee4755076a227b50e60704a59f74bdca8e8280bc240fc22d11aaed6066f0f0abac7afad5a2c6e8a6187604416308b187
 SHA512 
7f34b346179b71bbb6519c8c58d5caf5c5a861997a249f2c438af3957c6beb913b5f7a3e05a0ae00754a0eba3314f86aba4d5f599ad04497e7a8df79be8c35b4

diff --git a/dev-python/csvkit/csvkit-2.1.0.ebuild 
b/dev-python/csvkit/csvkit-2.1.0.ebuild
new file mode 100644
index 000000000000..7428585a9a79
--- /dev/null
+++ b/dev-python/csvkit/csvkit-2.1.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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}]
+       )
+"
+
+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
+}

Reply via email to