1 |
commit: 0fb206519eb190d5e9dc56162406ad96c141ebfe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 26 07:08:14 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 26 07:29:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb20651 |
7 |
|
8 |
dev-python/pylama: Bump to 8.0.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pylama/Manifest | 1 + |
13 |
dev-python/pylama/pylama-8.0.4.ebuild | 42 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pylama/Manifest b/dev-python/pylama/Manifest |
17 |
index 6964008e2ec4..576f634fc64e 100644 |
18 |
--- a/dev-python/pylama/Manifest |
19 |
+++ b/dev-python/pylama/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pylama-7.7.1.tar.gz 34740 BLAKE2B a4bd5aed40c2c4e7bdb9f9968030f0954f0309cff80567b2252ee9576fdb4598714286bda63c22676789d4919662430ef2729089faa70b5cb590784eb47ef1f0 SHA512 298fabffcdf38e3e868e3965de87a0e761bc9dfcfe33320b53057c4e05598bcc22045481ec16ccb8df27f49ea41d6fef82b69fe7327905f93ce74d9350682cf0 |
22 |
+DIST pylama-8.0.4.tar.gz 34064 BLAKE2B e6ec937b7716d8a64c19e71b370e557a30d04d908ed2d1859df380c381a7eea93956ec4b58ca779e6029119a017ffce268a5528424783b33e815827dacb79b5d SHA512 c2ad152cadfaed14a6035eb49361439b8f80c7c633b5e1b185dd5dad140a4148f6d4445928e08cb8e92b205739ef75df6d49c66e4ad3cd002512cc2a8aba859b |
23 |
|
24 |
diff --git a/dev-python/pylama/pylama-8.0.4.ebuild b/dev-python/pylama/pylama-8.0.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..6b54660dd5ef |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pylama/pylama-8.0.4.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Code audit tool for python" |
39 |
+HOMEPAGE="https://github.com/klen/pylama" |
40 |
+SRC_URI="https://github.com/klen/pylama/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+# pypi tarball excludes unit tests |
42 |
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/mccabe-0.6.1[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/pydocstyle-6.1.1[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ dev-python/eradicate[${PYTHON_USEDEP}] |
57 |
+ dev-python/mypy[${PYTHON_USEDEP}] |
58 |
+ dev-python/pylint[${PYTHON_USEDEP}] |
59 |
+ dev-python/radon[${PYTHON_USEDEP}] |
60 |
+ dev-vcs/git |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_sphinx docs |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+EPYTEST_DESELECT=( |
68 |
+ # not packaged |
69 |
+ tests/test_linters.py::test_quotes |
70 |
+ tests/test_linters.py::test_vulture |
71 |
+) |