dev-python/csv23: Bump to 0.3.1
authorMichał Górny <mgorny@gentoo.org>
Sat, 2 May 2020 10:27:05 +0000 (12:27 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 2 May 2020 10:32:50 +0000 (12:32 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/csv23/Manifest
dev-python/csv23/csv23-0.3.1.ebuild [new file with mode: 0644]

index 8b7cd0b4c3f3ff81b97b4f116eba841b5773c242..52c996b24c508cb8d8fbf3027e4492c6bc321f13 100644 (file)
@@ -1 +1,2 @@
+DIST csv23-0.3.1.tar.gz 23959 BLAKE2B 076c1a3f52d4cf6283716c366c3b44d3cae4012ae7613e24193aa7d8e0ac96e4ee9d1325219dd90ada26970cb3fde093730224f0f9bda3cadc921d9a5465b317 SHA512 25a0e06529edab89e4541cd7622a980af2cc31eff62db9f659af5305bfdbdcd388354b38a6f725d81e2f39fb48bec7adb287bb0577e973b5709a38ff03456037
 DIST csv23-0.3.tar.gz 23625 BLAKE2B 88df927acb1910a2ada69cf0aa8855a2cda93a006e05cfa270ee86ddbea3a5fa4df52607d320fcdecd67ff3e4e5a0f900f74bbd56e75b5e44baa46ba9d26836a SHA512 7581aef25878d2c6f7aaea4cfd8af8c2062a3d18469c176a9a09513beac34299e9456f77581025e207a814311bad7becd621ebf4e0f759a8f7ca16f55fd2731f
diff --git a/dev-python/csv23/csv23-0.3.1.ebuild b/dev-python/csv23/csv23-0.3.1.ebuild
new file mode 100644 (file)
index 0000000..449bf75
--- /dev/null
@@ -0,0 +1,30 @@
+# 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}} 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-mock[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       sed -i -e '/--cov/d' setup.cfg || die
+       distutils-r1_src_prepare
+}