1 |
commit: bf362a460c5ed6c62a44747fdc3fe2a9a503753d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 2 09:06:08 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 2 09:06:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf362a46 |
7 |
|
8 |
dev-python/pydocstyle: Recombine impls into a single ebuild |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild | 38 ------------------------ |
13 |
dev-python/pydocstyle/pydocstyle-5.0.2.ebuild | 10 ++++--- |
14 |
2 files changed, 6 insertions(+), 42 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild b/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 1887ba0bb24..00000000000 |
19 |
--- a/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,38 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-PYTHON_COMPAT=( python3_{7,8} ) |
28 |
- |
29 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
30 |
- |
31 |
-inherit distutils-r1 |
32 |
- |
33 |
-DESCRIPTION="Python docstring style checker" |
34 |
-HOMEPAGE="https://github.com/PyCQA/pydocstyle/" |
35 |
-SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
36 |
- |
37 |
-LICENSE="MIT" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~x86" |
40 |
- |
41 |
-RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]" |
42 |
- |
43 |
-DEPEND="test? ( |
44 |
- dev-python/pytest-pep8[${PYTHON_USEDEP}] |
45 |
- dev-python/mypy[${PYTHON_USEDEP}] |
46 |
- dev-python/tox[${PYTHON_USEDEP}] |
47 |
-)" |
48 |
- |
49 |
-distutils_enable_tests pytest |
50 |
-# Requires network to lookup github issues |
51 |
-#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-issuetracker |
52 |
- |
53 |
-src_prepare() { |
54 |
- default |
55 |
- |
56 |
- # These tests call pip. |
57 |
- # pip install fails because we are not allowed to do that inside an ebuild. |
58 |
- rm "${S}/src/tests/test_integration.py" || die |
59 |
-} |
60 |
|
61 |
diff --git a/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild |
62 |
index 5d439c03ab4..42c63035e5e 100644 |
63 |
--- a/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild |
64 |
+++ b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild |
65 |
@@ -3,7 +3,7 @@ |
66 |
|
67 |
EAPI=7 |
68 |
|
69 |
-PYTHON_COMPAT=( python3_{6,7} ) |
70 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
71 |
|
72 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
73 |
|
74 |
@@ -22,15 +22,17 @@ RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]" |
75 |
DEPEND="test? ( |
76 |
dev-python/pytest-pep8[${PYTHON_USEDEP}] |
77 |
dev-python/mypy[${PYTHON_USEDEP}] |
78 |
- dev-python/tox[${PYTHON_USEDEP}] )" |
79 |
+ dev-python/tox[${PYTHON_USEDEP}] |
80 |
+)" |
81 |
|
82 |
distutils_enable_tests pytest |
83 |
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-issuetracker |
84 |
+# Requires network to lookup github issues |
85 |
+#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-issuetracker |
86 |
|
87 |
src_prepare() { |
88 |
default |
89 |
|
90 |
# These tests call pip. |
91 |
# pip install fails because we are not allowed to do that inside an ebuild. |
92 |
- rm ${S}/src/tests/test_integration.py || die |
93 |
+ rm "${S}/src/tests/test_integration.py" || die |
94 |
} |