From: Michał Górny Date: Fri, 5 Jul 2019 09:35:13 +0000 (+0200) Subject: dev-python/docopt: Fix running tests, switch to GitHub archive X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b74f44cb49108fb12bc8c2c1ec567d7e556de728;p=gentoo.git dev-python/docopt: Fix running tests, switch to GitHub archive Signed-off-by: Michał Górny --- diff --git a/dev-python/docopt/Manifest b/dev-python/docopt/Manifest index 28d518d3affe..0a5a95e75a03 100644 --- a/dev-python/docopt/Manifest +++ b/dev-python/docopt/Manifest @@ -1 +1,2 @@ +DIST docopt-0.6.2.gh.tar.gz 26345 BLAKE2B e2a4b2030239387b6e7985c7e4ca15b001ec86f0d7a8c8f316c2321ccb18ed8cc94060a6c8eee4e84916d5f42e4a304551fae69b47abe2e173fa5e2409e9835d SHA512 228661924329682786b143f414c9df911016963cdc91ae6eba833285144e71744df507321a476b51f779e3ea270af6dc4e50edb8b0ee99674c19acccaab57a03 DIST docopt-0.6.2.tar.gz 25901 BLAKE2B b44308bb4a6571ddd092de63401d16e31a9d9b93be9b132fb45503eb9d84273d7c1f20bc5b2e3e2d969506fcf760fff142c37197e0b92dc9e7f6f431fb0abcc0 SHA512 af138feccf8c37b374ee44fcda4938a88107d434df13c173214021b1a3348b152a595095a86982b66ac03a11db8e0f1e9e6a3a65c98deea92330311daeb831a3 diff --git a/dev-python/docopt/docopt-0.6.2-r3.ebuild b/dev-python/docopt/docopt-0.6.2-r3.ebuild new file mode 100644 index 000000000000..1ea687432a5c --- /dev/null +++ b/dev-python/docopt/docopt-0.6.2-r3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pythonic argument parser, that will make you smile" +HOMEPAGE="https://pypi.org/project/docopt/ https://github.com/docopt/docopt" +SRC_URI="https://github.com/docopt/docopt/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + pytest -vv || die "Tests fail with ${EPYTHON}" +}