mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/csv23: Bump to 0.3.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
32
dev-python/csv23/csv23-0.3.2.ebuild
Normal file
32
dev-python/csv23/csv23-0.3.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user