summaryrefslogtreecommitdiff
path: root/dev-python/unicodecsv
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/unicodecsv')
-rw-r--r--dev-python/unicodecsv/Manifest1
-rw-r--r--dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/unicodecsv/Manifest b/dev-python/unicodecsv/Manifest
index 1f8c421a10f9..b94600e65f0b 100644
--- a/dev-python/unicodecsv/Manifest
+++ b/dev-python/unicodecsv/Manifest
@@ -1,3 +1,4 @@
DIST unicodecsv-0.14.1.tar.gz 10267 BLAKE2B 06a8dcd8de319422fe85b10e87fe759ae23f0f375bef3c03fd7b2bd37c25a8e2b46d632e1a4849f0799a9702fd8f1d2d0ddb8eb9e8f41d7b3113e92bec11828f SHA512 fdd7696c4ccfd478dbf1ff846714b7bab4711ca294fb212ae173b66becd2f9220cbcf69afb8e00162312373d9e59a6336bd7be2f5c270ac0dee359a830290bd9
EBUILD unicodecsv-0.14.1-r1.ebuild 645 BLAKE2B f3a39a0bbdb49ef5cc28054871cd434f9670ebeeebcbfd130a3d28207b7c1374bc4f165b37bd0c9a4086aee88ca13d6de002d6793a25349c26bb86dc684d00be SHA512 0fdbc2c172f6068e18f9b5bd326c22765b1f1fc014370062664811931312636e901e5e758e173d8eb47499ae7da3545b06b59c3efce1b54c9a97e17eadd93afe
+EBUILD unicodecsv-0.14.1-r2.ebuild 686 BLAKE2B 2974b9d261c86a3fb3044b79298ee28d2d4dd92a8e9deee81e9f55d89f6a55b8d0af535db08021166e79fbc665bf306f0fef7a7c62b2c422d11fb74ea460d1dc SHA512 62b593e0ebc316e606f6862e96e3cce3a50768c12c76fd5158b341f53860a3600890a3705790bf6ab7c69c97728f23d3a81fac2d063d927ee588384f096b0438
MISC metadata.xml 402 BLAKE2B cfdc79e02e047edae2f1b9542ace868ff7103131bd85d2563ea4a97c7bc82811cc93f523832502ad61d2f6bddb591a2d977e02154b549565a3914ae2388d5b9c SHA512 7f60cf22a3e47d85311905d0ced4a1efd984bc95dc351ae529dd016cc34ae70f88a38901625967cf15ba42895830693ed43976a93cc5cb1644884cf725bc7a95
diff --git a/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild b/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild
new file mode 100644
index 000000000000..7b08a0159317
--- /dev/null
+++ b/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Drop-in replacement for python stdlib csv module supporting unicode"
+HOMEPAGE="
+ https://pypi.org/project/unicodecsv/
+ https://github.com/jdunck/python-unicodecsv/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ # un-depend on unittest2
+ sed -i -e 's:unittest2 as ::' unicodecsv/test.py || die
+ distutils-r1_src_prepare
+}