summaryrefslogtreecommitdiff
path: root/dev-python/csvkit
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/csvkit')
-rw-r--r--dev-python/csvkit/Manifest2
-rw-r--r--dev-python/csvkit/csvkit-2.2.0.ebuild47
-rw-r--r--dev-python/csvkit/metadata.xml17
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest
new file mode 100644
index 000000000000..62d16892b62b
--- /dev/null
+++ b/dev-python/csvkit/Manifest
@@ -0,0 +1,2 @@
+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..672cbfe46ca6
--- /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_{13..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
+}
diff --git a/dev-python/csvkit/metadata.xml b/dev-python/csvkit/metadata.xml
new file mode 100644
index 000000000000..d3501ced3016
--- /dev/null
+++ b/dev-python/csvkit/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <bugs-to>https://github.com/wireservice/csvkit/issues</bugs-to>
+ <changelog>https://github.com/wireservice/csvkit/blob/master/CHANGELOG.rst</changelog>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>