1 |
commit: 72cee56abf84dec59dc4bdcb30522b378563c6da |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 4 10:27:15 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 10:27:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72cee56a |
7 |
|
8 |
dev-python/cmd2: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/cmd2/Manifest | 2 -- |
13 |
dev-python/cmd2/cmd2-0.8.9.ebuild | 39 --------------------------------------- |
14 |
dev-python/cmd2/cmd2-1.0.1.ebuild | 35 ----------------------------------- |
15 |
3 files changed, 76 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest |
18 |
index f9d78c115eb..7a542ccbe94 100644 |
19 |
--- a/dev-python/cmd2/Manifest |
20 |
+++ b/dev-python/cmd2/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
DIST cmd2-0.10.1.tar.gz 574301 BLAKE2B f97a60cfeb6f3ba411e64f1f8bc7d51cbefbdc7821764b3a0d65e83d1ec7158f8e585f0585ec6798472b35cb3533f3a35b9113d531d657fc6abd116fe905f75b SHA512 b7cb5b6c191ead56af3b83b19400440f0313b70568a1c838ca3f7d96c9312c36660dee42ae6e59db460afef99366498931f379d75d8a5d0860aff300c0a53380 |
23 |
-DIST cmd2-0.8.9.tar.gz 112543 BLAKE2B b55edd450abcff863a34252b724919ace9f65b62b8175f28a1bb4fb64692a67723339a887dac45e87f37db71773689cfa213038740a4b3d165bf95f9cdad1d0e SHA512 80c80b67f8a1709156450fa476215a5466cca2853102f6012f1d83867a311d86a68d441dcea9895b62add731b3d00a7c3ecefde939b4f2ccd61d058ef9386a84 |
24 |
-DIST cmd2-1.0.1.tar.gz 579536 BLAKE2B e8cb7143f90b23baa3d6bb6a09bc42cd5e0b92dbd6fa9341b26650a376af14d7d02704c0f77f6c7c42428dc3a227e6c40140262e811d0b5f13951170ce6ab8a0 SHA512 fb5e3d4fc22f08a2d98bd536c785067c97d2640ff910ee11d375ac579240d1d58e6b886d4da4b319dbaceceab6b41253ebad7230647d982f34066bdb5215e75a |
25 |
DIST cmd2-1.0.2.tar.gz 580329 BLAKE2B 38ab275d651849a5d609bb5e9848eb5b2fd52a88ce121311889909348448809e6b23aa26ad3e170ef97029f25b24794a33976b029928a2fe65c21e6d2f3cad29 SHA512 547757724987cc310daf60595f2c07e7355c4b35007d3ce9fa52c4dc5e83e1b27a7f646ff161cf7d2aac76a396f3ecbac3a738c09f1c01804d513b40e0c0fdfd |
26 |
|
27 |
diff --git a/dev-python/cmd2/cmd2-0.8.9.ebuild b/dev-python/cmd2/cmd2-0.8.9.ebuild |
28 |
deleted file mode 100644 |
29 |
index bea86e233e1..00000000000 |
30 |
--- a/dev-python/cmd2/cmd2-0.8.9.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,39 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
-PYTHON_COMPAT=( python{2_7,3_6,3_7} ) |
38 |
- |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-DESCRIPTION="Extra features for standard library's cmd module" |
42 |
-HOMEPAGE="https://github.com/python-cmd2/cmd2" |
43 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="MIT" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" |
48 |
-IUSE="test" |
49 |
- |
50 |
-# restrict tests because pyperclip is fairly unstable... |
51 |
-RESTRICT="test" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- >=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}] |
55 |
- dev-python/pyperclip[${PYTHON_USEDEP}] |
56 |
- dev-python/six[${PYTHON_USEDEP}] |
57 |
- $(python_gen_cond_dep 'dev-python/subprocess32[${PYTHON_USEDEP}]' 'python2*') |
58 |
-" |
59 |
-DEPEND="${RDEPEND} |
60 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
- test? ( |
62 |
- dev-python/mock[${PYTHON_USEDEP}] |
63 |
- dev-python/pytest[${PYTHON_USEDEP}] |
64 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
65 |
- ) |
66 |
-" |
67 |
- |
68 |
-python_test() { |
69 |
- py.test -vv || die |
70 |
- ${EPYTHON} example/example.py --test example/exampleSession.txt || die |
71 |
-} |
72 |
|
73 |
diff --git a/dev-python/cmd2/cmd2-1.0.1.ebuild b/dev-python/cmd2/cmd2-1.0.1.ebuild |
74 |
deleted file mode 100644 |
75 |
index 20add50e79b..00000000000 |
76 |
--- a/dev-python/cmd2/cmd2-1.0.1.ebuild |
77 |
+++ /dev/null |
78 |
@@ -1,35 +0,0 @@ |
79 |
-# Copyright 1999-2020 Gentoo Authors |
80 |
-# Distributed under the terms of the GNU General Public License v2 |
81 |
- |
82 |
-EAPI=7 |
83 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
84 |
- |
85 |
-inherit distutils-r1 virtualx |
86 |
- |
87 |
-DESCRIPTION="Extra features for standard library's cmd module" |
88 |
-HOMEPAGE="https://github.com/python-cmd2/cmd2" |
89 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
90 |
- |
91 |
-LICENSE="MIT" |
92 |
-SLOT="0" |
93 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
94 |
- |
95 |
-RDEPEND=" |
96 |
- dev-python/attrs[${PYTHON_USEDEP}] |
97 |
- >=dev-python/colorama-0.3.7[${PYTHON_USEDEP}] |
98 |
- >=dev-python/pyperclip-1.6[${PYTHON_USEDEP}] |
99 |
- dev-python/six[${PYTHON_USEDEP}] |
100 |
- dev-python/wcwidth[${PYTHON_USEDEP}] |
101 |
-" |
102 |
-BDEPEND=" |
103 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
104 |
- test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] ) |
105 |
-" |
106 |
- |
107 |
-distutils_enable_tests pytest |
108 |
- |
109 |
-src_test() { |
110 |
- # tests rely on very specific text wrapping... |
111 |
- local -x COLUMNS=80 |
112 |
- virtx distutils-r1_src_test |
113 |
-} |