1 |
commit: 30ca123634c8f5a1310fe2466ae1342182deef90 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 24 02:10:07 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 03:21:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30ca1236 |
7 |
|
8 |
dev-python/pytest-flake8: Bump to v0.9.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-python/pytest-flake8/Manifest | 1 + |
13 |
.../pytest-flake8/pytest-flake8-0.9.1.ebuild | 29 ++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-flake8/Manifest b/dev-python/pytest-flake8/Manifest |
17 |
index cd86caea576..1360ec299cb 100644 |
18 |
--- a/dev-python/pytest-flake8/Manifest |
19 |
+++ b/dev-python/pytest-flake8/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-flake8-0.8.1.tar.gz 7359 BLAKE2B fd45d50fa68e329569a5964407fae301075907aabf0ec2c85c7ad9b9c28aa7a92acfaf9b7b4e06036c940ca6c7a35388cefb0d9b9151471fe98c968a43cf5a95 SHA512 b49b4d42712040492161f144cce807b661f2d8fe5b484b29ad1a519fd5b0b0cfb6abd42c3ae8999f21263c4776fb773f91bf0776971b6b6727607d33fb49ca89 |
22 |
+DIST pytest-flake8-0.9.1.tar.gz 7959 BLAKE2B d0ef55385dbbf47968abdfc14e69a0420cd52bdf65c0f74ec72abeb1ab28ad27806593dd592f448f3c01dcdf29af4042c1e1c8affde46a1405ba7b4155c174a4 SHA512 eeb4f66022e367d92dee94544ae8fa99b79c1de0579a80e91c22e6f050752010cb7ad6c24094736d23ae753615b186a957b8b0f94c09754005183a971a1e4aa1 |
23 |
|
24 |
diff --git a/dev-python/pytest-flake8/pytest-flake8-0.9.1.ebuild b/dev-python/pytest-flake8/pytest-flake8-0.9.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..9b0fa3e9c97 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-flake8/pytest-flake8-0.9.1.ebuild |
29 |
@@ -0,0 +1,29 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="py.test plugin for flake8" |
40 |
+HOMEPAGE="https://github.com/tholo/${PN} https://pypi.python.org/pypi/${PN}" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/flake8-3.3.0[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+ |
56 |
+python_test() { |
57 |
+ pytest -v || die "tests failed with ${EPYTHON}" |
58 |
+} |