1 |
commit: 11ef9d43a4733301f4f4f81c991c3b4fd3068c2a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 13:30:49 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 13:31:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11ef9d43 |
7 |
|
8 |
dev-python/hacking: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hacking/Manifest | 1 - |
13 |
dev-python/hacking/hacking-2.0.0.ebuild | 59 --------------------------------- |
14 |
2 files changed, 60 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/hacking/Manifest b/dev-python/hacking/Manifest |
17 |
index 201d4f4ff4c..153afbe7326 100644 |
18 |
--- a/dev-python/hacking/Manifest |
19 |
+++ b/dev-python/hacking/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST hacking-2.0.0.tar.gz 53296 BLAKE2B 50606d700c324acc8695499ee97cd592b051fe0cfc020efdfe7bf82b44d2f6ac858ed2f923ea08343066820c7da1686aa0b172bbab541cc564dc5ecc016cfac6 SHA512 d44d62f694c79af4c2044e745b140f0582fb5a6bbfa8050d45b17e8cb354198e8eac3a06586cf96d516844bb079d429d73ce9755a23e256857c4de19aca7ffe3 |
22 |
DIST hacking-4.1.0.tar.gz 61910 BLAKE2B 95ced5b2fbafbb890478b5ef598a836520b4d1a3f1f2a0e708aa3f3135f394aab9e1ca8eaafa9d2f9f8dfcd1043d925b0232228234021ac89d2882ad6c7918a5 SHA512 44741548b5031777b0a508255129893da63a076615dc4245fdcb2368711be0ff6e16702c12c75a7f2c6b13257e2257c58e6e95dfad6da6640ff077fbf2b507db |
23 |
|
24 |
diff --git a/dev-python/hacking/hacking-2.0.0.ebuild b/dev-python/hacking/hacking-2.0.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 29f8280c4cd..00000000000 |
27 |
--- a/dev-python/hacking/hacking-2.0.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,59 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{7,8} ) |
36 |
- |
37 |
-inherit distutils-r1 |
38 |
- |
39 |
-DESCRIPTION="A client for the OpenStack Nova API" |
40 |
-HOMEPAGE="https://github.com/openstack-dev/hacking" |
41 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
- |
43 |
-LICENSE="Apache-2.0" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~s390 x86 ~amd64-linux ~x86-linux" |
46 |
-IUSE="doc test" |
47 |
-RESTRICT="!test? ( test )" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- >=dev-python/flake8-3.6.0[${PYTHON_USEDEP}] |
51 |
- <dev-python/flake8-4.0.0[${PYTHON_USEDEP}] |
52 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}]" |
53 |
-DEPEND=" |
54 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
- >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
56 |
- test? ( |
57 |
- >=dev-python/coverage-4.0[${PYTHON_USEDEP}] |
58 |
- !~dev-python/coverage-4.4[${PYTHON_USEDEP}] |
59 |
- >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
60 |
- >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
61 |
- >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] |
62 |
- >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] |
63 |
- >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
64 |
- >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
65 |
- ${RDEPEND} |
66 |
- ) |
67 |
- doc? ( |
68 |
- >=dev-python/sphinx-1.8.0[${PYTHON_USEDEP}] |
69 |
- !~dev-python/sphinx-2.1.0[${PYTHON_USEDEP}] |
70 |
- >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}] |
71 |
- >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] |
72 |
- )" |
73 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
74 |
- |
75 |
-python_compile_all() { |
76 |
- use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html |
77 |
-} |
78 |
- |
79 |
-python_test() { |
80 |
- stestr init || die "stestr init died" |
81 |
- stestr run || die "testsuite failed under ${EPYTHON}" |
82 |
- flake8 "${PN}"/tests || die "flake8 drew error on a run over ${PN}/tests folder" |
83 |
-} |
84 |
- |
85 |
-python_install_all() { |
86 |
- use doc && local HTML_DOCS=( doc/source/html/. ) |
87 |
- distutils-r1_python_install_all |
88 |
-} |