1 |
commit: ccff5283852294ce22206ecd509a54375ca8e4c6 |
2 |
Author: Tony Vroon <chainsaw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 1 15:22:31 2019 +0000 |
4 |
Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 1 15:52:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccff5283 |
7 |
|
8 |
dev-python/pytest-flakes: Initial commit. |
9 |
|
10 |
Dependency for dev-python/python-utils. |
11 |
|
12 |
Signed-Off-By: Tony Vroon <chainsaw <AT> gentoo.org> |
13 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
14 |
|
15 |
dev-python/pytest-flakes/Manifest | 1 + |
16 |
dev-python/pytest-flakes/metadata.xml | 12 +++++++++++ |
17 |
.../pytest-flakes/pytest-flakes-4.0.0.ebuild | 24 ++++++++++++++++++++++ |
18 |
3 files changed, 37 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/pytest-flakes/Manifest b/dev-python/pytest-flakes/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..d32b5978ded |
23 |
--- /dev/null |
24 |
+++ b/dev-python/pytest-flakes/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST pytest-flakes-4.0.0.tar.gz 7138 BLAKE2B e3c43df60484c664672f8b9ea92f8d4e25ae33e0dffc9cee200867220a3c8840f7325be28a4bec44918a9b44c1d73d3b89517db8dfa9bb982ed92a34c3b09674 SHA512 e74fe78e713040e3e85f206e8d26f5b8d8ef27dd94c2afccf3cd0f1f982c5e6c30c5966f2cdb774c7a2a8052d1a5cb324626b1997a9e75f5a7bb7d4a5e99376a |
27 |
|
28 |
diff --git a/dev-python/pytest-flakes/metadata.xml b/dev-python/pytest-flakes/metadata.xml |
29 |
new file mode 100644 |
30 |
index 00000000000..9d43655030c |
31 |
--- /dev/null |
32 |
+++ b/dev-python/pytest-flakes/metadata.xml |
33 |
@@ -0,0 +1,12 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="person"> |
38 |
+ <email>chainsaw@g.o</email> |
39 |
+ <name>Tony Vroon</name> |
40 |
+ </maintainer> |
41 |
+ |
42 |
+ <upstream> |
43 |
+ <remote-id type="pypi">pytest-flakes</remote-id> |
44 |
+ </upstream> |
45 |
+</pkgmetadata> |
46 |
|
47 |
diff --git a/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild b/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild |
48 |
new file mode 100644 |
49 |
index 00000000000..976094bbe3a |
50 |
--- /dev/null |
51 |
+++ b/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild |
52 |
@@ -0,0 +1,24 @@ |
53 |
+# Copyright 1999-2019 Gentoo Authors |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=7 |
57 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3) |
58 |
+ |
59 |
+inherit distutils-r1 |
60 |
+ |
61 |
+DESCRIPTION="Collection of small Python functions & classes" |
62 |
+HOMEPAGE="https://pypi.org/project/python-utils/" |
63 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="BSD" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64" |
68 |
+IUSE="doc test" |
69 |
+ |
70 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
71 |
+ dev-python/pytest[${PYTHON_USEDEP}]" |
72 |
+BDEPEND="${RDEPEND}" |
73 |
+ |
74 |
+python_test() { |
75 |
+ "${PYTHON}" ./test_flakes.py || die "Tests failed under ${EPYTHON}" |
76 |
+} |