Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylama/
Date: Wed, 02 Feb 2022 12:16:18
Message-Id: 1643804169.e0b8fe5f47d8aff58ae3c9811cb47bb8fd326623.mgorny@gentoo
1 commit: e0b8fe5f47d8aff58ae3c9811cb47bb8fd326623
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 2 12:15:46 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 2 12:16:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0b8fe5f
7
8 dev-python/pylama: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pylama/Manifest | 2 --
13 dev-python/pylama/pylama-7.7.1-r1.ebuild | 49 --------------------------------
14 dev-python/pylama/pylama-8.0.6.ebuild | 40 --------------------------
15 3 files changed, 91 deletions(-)
16
17 diff --git a/dev-python/pylama/Manifest b/dev-python/pylama/Manifest
18 index b1300a657fd4..79d41547fa4b 100644
19 --- a/dev-python/pylama/Manifest
20 +++ b/dev-python/pylama/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST pylama-7.7.1.tar.gz 34740 BLAKE2B a4bd5aed40c2c4e7bdb9f9968030f0954f0309cff80567b2252ee9576fdb4598714286bda63c22676789d4919662430ef2729089faa70b5cb590784eb47ef1f0 SHA512 298fabffcdf38e3e868e3965de87a0e761bc9dfcfe33320b53057c4e05598bcc22045481ec16ccb8df27f49ea41d6fef82b69fe7327905f93ce74d9350682cf0
23 -DIST pylama-8.0.6.tar.gz 34223 BLAKE2B 690a0a1197f6512e9511083aa079843f2ca99c9bdb5d74756531db79f7d39e8e0f60a0955b24bc7739edce0376eb79821a796978fb2365789a97628f03f240f8 SHA512 5bc75e5b2a0b141dbe2ca993d13833914980c735b84f3df766bf750909af1eeaba0d554845d8c09f0d8186ff48c8330d9ffa5b565a577ef6506f32672a2c9209
24 DIST pylama-8.3.6.tar.gz 36190 BLAKE2B f0c9944d3aa205c9f52fdfab6b47ad5ad08f1865db22eef20add0652fcb4355f878026aad9f1babbfcb4f98c13bc5cbaa069d9d7b5c7a775d994a8952f8a8cc5 SHA512 c279f3005e354be448f42addcfeae6025e1dd4acf84e5de0c3ae707ceac4f98e43a07f43be347b26bfb8db4167945db1db547ed7bd9eb73ca78bbc92d26fdfff
25 DIST pylama-8.3.7.tar.gz 36264 BLAKE2B 8092320c039b5cd45a379a2718443cf03f5cef931767ae765c90096e3b23d5b7242034009eecb40413f05e2de2fd72a4285a91ebbc1fb474d232cffc9c992b94 SHA512 acfab9584e7bd8b146350e6af83975e91391e39c00a0fea23d4e55f46dd684b519088ed68c90e335e334e8526aecab2ad2286a0c082d26a4b867eadcbd8866c8
26
27 diff --git a/dev-python/pylama/pylama-7.7.1-r1.ebuild b/dev-python/pylama/pylama-7.7.1-r1.ebuild
28 deleted file mode 100644
29 index 0297b0421751..000000000000
30 --- a/dev-python/pylama/pylama-7.7.1-r1.ebuild
31 +++ /dev/null
32 @@ -1,49 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="7"
37 -
38 -PYTHON_COMPAT=( python3_{8..10} )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Code audit tool for python"
43 -HOMEPAGE="https://github.com/klen/pylama"
44 -SRC_URI="https://github.com/klen/pylama/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 -# pypi tarball excludes unit tests
46 -#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 -
48 -LICENSE="LGPL-3"
49 -SLOT="0"
50 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
51 -
52 -RDEPEND="
53 - >=dev-python/mccabe-0.5.2[${PYTHON_USEDEP}]
54 - dev-python/pycodestyle[${PYTHON_USEDEP}]
55 - dev-python/pydocstyle[${PYTHON_USEDEP}]
56 - dev-python/pyflakes[${PYTHON_USEDEP}]
57 -"
58 -BDEPEND="
59 - test? (
60 - dev-python/mypy[${PYTHON_USEDEP}]
61 - dev-vcs/git
62 - )
63 -"
64 -
65 -distutils_enable_sphinx docs
66 -distutils_enable_tests pytest
67 -
68 -python_prepare_all() {
69 - sed -e "s|exclude=\['plugins'\]|exclude=['plugins', 'tests']|" -i setup.py || die
70 - sed -e 's|^\(def\) \(test_ignore_select\)|\1 _\2|' -i tests/test_config.py || die
71 - distutils-r1_python_prepare_all
72 -}
73 -
74 -python_test() {
75 - local EPYTEST_DESELECT=(
76 - # Disable eradicate until it is fixed:
77 - # https://github.com/klen/pylama/issues/190
78 - tests/test_linters.py::test_eradicate
79 - )
80 - epytest tests
81 -}
82
83 diff --git a/dev-python/pylama/pylama-8.0.6.ebuild b/dev-python/pylama/pylama-8.0.6.ebuild
84 deleted file mode 100644
85 index c24f6a0bf330..000000000000
86 --- a/dev-python/pylama/pylama-8.0.6.ebuild
87 +++ /dev/null
88 @@ -1,40 +0,0 @@
89 -# Copyright 1999-2021 Gentoo Authors
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=8
93 -
94 -PYTHON_COMPAT=( python3_{8..10} )
95 -inherit distutils-r1
96 -
97 -DESCRIPTION="Code audit tool for python"
98 -HOMEPAGE="https://github.com/klen/pylama"
99 -SRC_URI="https://github.com/klen/pylama/archive/${PV}.tar.gz -> ${P}.tar.gz"
100 -
101 -LICENSE="MIT"
102 -SLOT="0"
103 -KEYWORDS="amd64 x86"
104 -
105 -RDEPEND="
106 - >=dev-python/mccabe-0.6.1[${PYTHON_USEDEP}]
107 - >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}]
108 - >=dev-python/pydocstyle-6.1.1[${PYTHON_USEDEP}]
109 - >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}]
110 -"
111 -BDEPEND="
112 - test? (
113 - dev-python/eradicate[${PYTHON_USEDEP}]
114 - dev-python/mypy[${PYTHON_USEDEP}]
115 - dev-python/pylint[${PYTHON_USEDEP}]
116 - dev-python/radon[${PYTHON_USEDEP}]
117 - dev-vcs/git
118 - )
119 -"
120 -
121 -distutils_enable_sphinx docs
122 -distutils_enable_tests pytest
123 -
124 -EPYTEST_DESELECT=(
125 - # not packaged
126 - tests/test_linters.py::test_quotes
127 - tests/test_linters.py::test_vulture
128 -)