Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cmd2/
Date: Thu, 22 Feb 2018 19:59:22
Message-Id: 1519329539.d907e07d560ce398517371dce01368efb5f5480d.prometheanfire@gentoo
1 commit: d907e07d560ce398517371dce01368efb5f5480d
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 22 19:27:53 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 22 19:58:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d907e07d
7
8 dev-python/cmd2: 0.7.9
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/cmd2/Manifest | 1 +
13 dev-python/cmd2/cmd2-0.7.9.ebuild | 37 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest
17 index b4a28f2b2ab..b0bd2169591 100644
18 --- a/dev-python/cmd2/Manifest
19 +++ b/dev-python/cmd2/Manifest
20 @@ -1 +1,2 @@
21 DIST cmd2-0.7.5.tar.gz 64939 BLAKE2B 57c8d3f4c7c94e8e2627fb5d2cf8c164da72c531808a53118f950ee79fcc2e0f431621ffbd74d275bf508c8646ded761d2d38c2b99570fdadbbaddf095e422a1 SHA512 14376ee283ac1c153ab0194a5dfa168eca36174783322ff72e190ed96b8c315518fef4f3ef09d77633851cb53b32f71fe380042ee3c0ef8ef2cbdfa16dabf704
22 +DIST cmd2-0.7.9.tar.gz 71298 BLAKE2B d1623e2d6a7ac66058b5a43a9688ba850962fa7b5659c3287a9aef9a7deb16338d71a2c07ef15ec72ee5e62aae0ce3cdf2f202d0d423040b734dee059f1d4876 SHA512 39086794ea57cdfdc7388aaa485770f1a76457bf2b2f58cd4703dc0c082f58a8343aa777304e833133040fdab8ef8451d85bc3c19721432514bb380330823abd
23
24 diff --git a/dev-python/cmd2/cmd2-0.7.9.ebuild b/dev-python/cmd2/cmd2-0.7.9.ebuild
25 new file mode 100644
26 index 00000000000..d988f981f34
27 --- /dev/null
28 +++ b/dev-python/cmd2/cmd2-0.7.9.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
35 +
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Extra features for standard library's cmd module"
39 +HOMEPAGE="https://github.com/python-cmd2/cmd2"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
45 +IUSE="test"
46 +
47 +# restrict tests because pyperclip is fairly unstable...
48 +RESTRICT="test"
49 +
50 +RDEPEND="
51 + >=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}]
52 + dev-python/pyperclip[${PYTHON_USEDEP}]
53 + dev-python/six[${PYTHON_USEDEP}]
54 +"
55 +DEPEND="${RDEPEND}
56 + dev-python/setuptools[${PYTHON_USEDEP}]
57 + test? (
58 + dev-python/mock[${PYTHON_USEDEP}]
59 + dev-python/pytest[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +python_test() {
64 + py.test -vv || die
65 + ${EPYTHON} example/example.py --test example/exampleSession.txt || die
66 +}