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