1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_{6,7}} )
10 DESCRIPTION="A zip archive generator"
11 HOMEPAGE="https://github.com/allanlei/python-zipstream"
12 SRC_URI="https://github.com/allanlei/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
18 RESTRICT="!test? ( test )"
20 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
21 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
24 nosetests -v || die "tests failed under ${EPYTHON}"