summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-23 06:35:52 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-23 07:18:05 +0100
commit5fa782c7052e2b9cce60272878f1bac606d31cfc (patch)
tree1eb7fb2285fe5868f71f9d3cdfbcb1d4aa28028b /dev-python/csvkit
parentdev-python/puremagic: Bump to 1.15 (diff)
downloadgentoo-5fa782c7052e2b9cce60272878f1bac606d31cfc.tar.gz
gentoo-5fa782c7052e2b9cce60272878f1bac606d31cfc.tar.bz2
gentoo-5fa782c7052e2b9cce60272878f1bac606d31cfc.zip
dev-python/csvkit: Bump to 1.1.1
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.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest
index b6726f0807a3..347144d2a046 100644
--- a/dev-python/csvkit/Manifest
+++ b/dev-python/csvkit/Manifest
@@ -1 +1,2 @@
DIST csvkit-1.1.0.tar.gz 3791940 BLAKE2B 9ef69f1acde1cab9ed69ca62b8e94fc92207bba1967db17c4f2edbda7191d2783d075be004d5c6022d446921343938ed502812602b2ce1cb16c2c62b530a5027 SHA512 4cc9eb9c326bc38368149721777f0c14e89fa8e65b7553908120613ee233105a6ab324054382766c6838c1594960907373f59b33a285e92a62b6e6cd0f5f89b7
+DIST csvkit-1.1.1.tar.gz 3792699 BLAKE2B 730dad274fd873af6903f815a6d2a7dc70d48a845347be644e573fe2772f53786cbf20a631bd8a7c81ffeac03c92f00607be582fda4cd1b6a7efe93d30070182 SHA512 16825ba629ba39022c7537c210f0c5e51f7b03c0552a16fd57b86b0cfd9ff883937d5be21a1a7ef583cf94ea56bff37de259684c84a50d5e9c3ec10f8a5f33dd
diff --git a/dev-python/csvkit/csvkit-1.1.1.ebuild b/dev-python/csvkit/csvkit-1.1.1.ebuild
new file mode 100644
index 000000000000..c65988ea5d16
--- /dev/null
+++ b/dev-python/csvkit/csvkit-1.1.1.ebuild
@@ -0,0 +1,41 @@
+# 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_{9..11} )
+
+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"
+
+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
+}