Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/docopt/
Date: Thu, 30 Mar 2017 18:15:30
Message-Id: 1490897715.5504c682b8ab4aec97572f4a8902ea1a65f58474.grozin@gentoo
1 commit: 5504c682b8ab4aec97572f4a8902ea1a65f58474
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 30 18:15:15 2017 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 30 18:15:15 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5504c682
7
8 dev-python/docopt: python3_6 added
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/docopt/docopt-0.6.2-r2.ebuild | 31 +++++++++++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
14
15 diff --git a/dev-python/docopt/docopt-0.6.2-r2.ebuild b/dev-python/docopt/docopt-0.6.2-r2.ebuild
16 new file mode 100644
17 index 00000000000..7fa8b559234
18 --- /dev/null
19 +++ b/dev-python/docopt/docopt-0.6.2-r2.ebuild
20 @@ -0,0 +1,31 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=5
25 +
26 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
27 +
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Pythonic argument parser, that will make you smile"
31 +HOMEPAGE="https://pypi.python.org/pypi/docopt https://github.com/docopt/docopt"
32 +SRC_URI="
33 + mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
34 + https://github.com/docopt/docopt/archive/${PV}.tar.gz -> ${P}.tar.gz"
35 +
36 +SLOT="0"
37 +LICENSE="MIT"
38 +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
39 +IUSE="test"
40 +
41 +RDEPEND=""
42 +DEPEND="${RDEPEND}
43 + dev-python/setuptools[${PYTHON_USEDEP}]
44 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
45 +
46 +# not implemented in this version, git already has it
47 +RESTRICT=test
48 +
49 +python_test() {
50 + esetup.py test
51 +}