From: Michał Górny Date: Thu, 28 May 2020 18:34:15 +0000 (+0200) Subject: dev-python/csv23: Bump to 0.3.2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8d88a7f11aa04f46016a53cb9889a611929224cb;p=gentoo.git dev-python/csv23: Bump to 0.3.2 Signed-off-by: Michał Górny --- diff --git a/dev-python/csv23/Manifest b/dev-python/csv23/Manifest index dd664de3a7ea..5a6eaba0258b 100644 --- a/dev-python/csv23/Manifest +++ b/dev-python/csv23/Manifest @@ -1 +1,2 @@ DIST csv23-0.3.1.tar.gz 23959 BLAKE2B 076c1a3f52d4cf6283716c366c3b44d3cae4012ae7613e24193aa7d8e0ac96e4ee9d1325219dd90ada26970cb3fde093730224f0f9bda3cadc921d9a5465b317 SHA512 25a0e06529edab89e4541cd7622a980af2cc31eff62db9f659af5305bfdbdcd388354b38a6f725d81e2f39fb48bec7adb287bb0577e973b5709a38ff03456037 +DIST csv23-0.3.2.tar.gz 24132 BLAKE2B 2c5eb231814e087dce9689c7075bdbc3875b3e200dc1273022d55661ec60f18a5bcb03e062b205fde13e845e5e50d530b07596b51ad7b2a89e41b45629bf3ce8 SHA512 289386cce5de4ae5bc42fc56d1639bbd1483034e5422f63142c1d188de735b1f5f18f9f69e3cb96f4ac3e1d7d0b371b1c45e720982c4f4b539fcf0d2da893f6a diff --git a/dev-python/csv23/csv23-0.3.2.ebuild b/dev-python/csv23/csv23-0.3.2.ebuild new file mode 100644 index 000000000000..afd6b765ddd2 --- /dev/null +++ b/dev-python/csv23/csv23-0.3.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python 2/3 unicode CSV compatibility layer" +HOMEPAGE=" + https://pypi.org/project/csv23/ + https://github.com/xflr6/csv23/" +SRC_URI="https://github.com/xflr6/csv23/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# note: upstream really uses mock at runtime +RDEPEND=" + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2)" +BDEPEND=" + test? ( + >=dev-python/pytest-4.6[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/--cov/d' setup.cfg || die + distutils-r1_src_prepare +}