1 |
commit: 8241cf396cdc66bf34c052a6d9adf395754efc83 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 17 09:18:44 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 17 09:20:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8241cf39 |
7 |
|
8 |
dev-python/pytest-pylint: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-pylint/Manifest | 1 - |
13 |
.../pytest-pylint/pytest-pylint-0.17.0.ebuild | 40 ---------------------- |
14 |
2 files changed, 41 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pytest-pylint/Manifest b/dev-python/pytest-pylint/Manifest |
17 |
index 3297991c13c..e3b72f5e712 100644 |
18 |
--- a/dev-python/pytest-pylint/Manifest |
19 |
+++ b/dev-python/pytest-pylint/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST pytest-pylint-0.17.0.tar.gz 11660 BLAKE2B b536dcaaf0ac652dcbe66018fa22e120782496de58f74003c523eb003ff0556f9b738e528a85724a1e589e18bb0024d99fbeb581b7f5b36ec349ad07da8d26d0 SHA512 a23937ec191ef14829530ac6bf31b882bc250f312e2ba6e3b8cc1187c888511e4b67ffaf5bce176556a621fbf80239b30c43c635898d458bb8d819e92a9f8142 |
22 |
DIST pytest-pylint-0.18.0.tar.gz 12448 BLAKE2B 9d0cecb08fc87d7e2aade47af3f2677431776a425726c281e9abc5fdeebb84f38ab4a97e405ed407b1cd241eb97a8cd90e878af61f818b46cab5f9fba5ca3d5f SHA512 a0716104d288774d4c3ab596f30a33cf439df5031647912574c31eefc3a84e69e82fc362f77e73b437c7566a596d2ff8bf51a332626a7fa7468cea3b916e9ad9 |
23 |
|
24 |
diff --git a/dev-python/pytest-pylint/pytest-pylint-0.17.0.ebuild b/dev-python/pytest-pylint/pytest-pylint-0.17.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index d08f66d86c8..00000000000 |
27 |
--- a/dev-python/pytest-pylint/pytest-pylint-0.17.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,40 +0,0 @@ |
30 |
-# Copyright 1999-2020 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="pytest plugin to check source code with pylint" |
40 |
-HOMEPAGE="https://github.com/carsongee/pytest-pylint" |
41 |
-# Tests should be included in PyPI tarballs by the next release: |
42 |
-# https://github.com/carsongee/pytest-pylint/commit/4e7f06701ca06697a22a029db9857fa2fdf7c033 |
43 |
-SRC_URI="https://github.com/carsongee/pytest-pylint/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="MIT" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- >=dev-python/pylint-2.3.0[${PYTHON_USEDEP}] |
51 |
- >=dev-python/pytest-5.4[${PYTHON_USEDEP}] |
52 |
- >=dev-python/toml-0.7.1[${PYTHON_USEDEP}] |
53 |
-" |
54 |
- |
55 |
-distutils_enable_tests pytest |
56 |
- |
57 |
-python_prepare_all() { |
58 |
- # Disable flake8 and pep8 options |
59 |
- sed -i -e '/^addopts =/d' tox.ini || die |
60 |
- # Remove pytest-runner requirement |
61 |
- sed -i -e "s/'pytest-runner'//" setup.py || die |
62 |
- distutils-r1_python_prepare_all |
63 |
-} |
64 |
- |
65 |
-python_test() { |
66 |
- # Required to load the pytest-pylint plugin |
67 |
- distutils_install_for_testing |
68 |
- pytest -vv || die "Tests fail with ${EPYTHON}" |
69 |
-} |