commit:     e7100fa7841a53c7c36e18ed6e88f2ef8d725bea
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  4 16:21:37 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct  4 17:43:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7100fa7

dev-python/csvkit: Bump to 1.2.0

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

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

diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest
index 6a938249cbab..81b0a3aaf266 100644
--- a/dev-python/csvkit/Manifest
+++ b/dev-python/csvkit/Manifest
@@ -1 +1,2 @@
 DIST csvkit-1.1.1.tar.gz 3792699 BLAKE2B 
730dad274fd873af6903f815a6d2a7dc70d48a845347be644e573fe2772f53786cbf20a631bd8a7c81ffeac03c92f00607be582fda4cd1b6a7efe93d30070182
 SHA512 
16825ba629ba39022c7537c210f0c5e51f7b03c0552a16fd57b86b0cfd9ff883937d5be21a1a7ef583cf94ea56bff37de259684c84a50d5e9c3ec10f8a5f33dd
+DIST csvkit-1.2.0.tar.gz 3792364 BLAKE2B 
b5d26afc485fdfdd03d1b3036bb6f24dff63568333fb262bcab3086f546cfb72b6981d520d531219a01a4d99357d8067d1676779ff6be116f08724c1f6ac0faf
 SHA512 
3b59908e5c8afa5be2a71940ef9e04f9c55ab4703ca7827bb68975a1c43584797e75edcf3a6ea4861ca5214fbe45e11fd84560bb05f314508040dcde513f6178

diff --git a/dev-python/csvkit/csvkit-1.2.0.ebuild 
b/dev-python/csvkit/csvkit-1.2.0.ebuild
new file mode 100644
index 000000000000..375b9b2938e6
--- /dev/null
+++ b/dev-python/csvkit/csvkit-1.2.0.ebuild
@@ -0,0 +1,44 @@
+# 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_{10..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 ~arm64-macos ~x64-macos"
+
+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}]
+       dev-python/openpyxl[${PYTHON_USEDEP}]
+       dev-python/sqlalchemy[${PYTHON_USEDEP}]
+       dev-python/xlrd[${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
+}

Reply via email to