Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/unicodecsv/
Date: Sat, 26 Feb 2022 07:49:22
Message-Id: 1645861724.a9e8a8a541511c1d6d20601c3051e902ffa956ef.mgorny@gentoo
1 commit: a9e8a8a541511c1d6d20601c3051e902ffa956ef
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 07:42:17 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 07:48:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e8a8a5
7
8 dev-python/unicodecsv: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild | 28 +++++++++++++++++++++++
13 1 file changed, 28 insertions(+)
14
15 diff --git a/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild b/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild
16 new file mode 100644
17 index 000000000000..7b08a0159317
18 --- /dev/null
19 +++ b/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild
20 @@ -0,0 +1,28 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Drop-in replacement for python stdlib csv module supporting unicode"
32 +HOMEPAGE="
33 + https://pypi.org/project/unicodecsv/
34 + https://github.com/jdunck/python-unicodecsv/
35 +"
36 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
37 +
38 +LICENSE="BSD"
39 +SLOT="0"
40 +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
41 +
42 +distutils_enable_tests unittest
43 +
44 +src_prepare() {
45 + # un-depend on unittest2
46 + sed -i -e 's:unittest2 as ::' unicodecsv/test.py || die
47 + distutils-r1_src_prepare
48 +}