Signed-off-by: Michał Górny <mgorny@gentoo.org>
-DIST csv23-0.3.zip 42230 BLAKE2B b0d008b7f40c395f3d838d0b0521734f0bcfc578b391ba2d03fd4719e05b68df8777587eedea05b429da40a79f323c0afbbde7586533a912466a49c989ff0039 SHA512 271758876149d846011b463d4ed541beee6a2c11d3867f92ae09a1a725b14f17cfbc19fa4a506c9dd52e6be23105664b7118068991e6f4679ce998790645691c
+DIST csv23-0.3.tar.gz 23625 BLAKE2B 88df927acb1910a2ada69cf0aa8855a2cda93a006e05cfa270ee86ddbea3a5fa4df52607d320fcdecd67ff3e4e5a0f900f74bbd56e75b5e44baa46ba9d26836a SHA512 7581aef25878d2c6f7aaea4cfd8af8c2062a3d18469c176a9a09513beac34299e9456f77581025e207a814311bad7becd621ebf4e0f759a8f7ca16f55fd2731f
HOMEPAGE="
https://pypi.org/project/csv23/
https://github.com/xflr6/csv23/"
-SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.zip"
+SRC_URI="https://github.com/xflr6/csv23/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
# note: upstream really uses mock at runtime
RDEPEND="
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2)"
-BDEPEND="app-arch/unzip
+BDEPEND="
test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest