1 |
commit: ddce240d6d40ddac52e5aa373f33b48638414315 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 3 21:34:07 2017 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 4 04:48:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddce240d |
7 |
|
8 |
dev-python/pytest-fixture-config: New pkg, dep of dev-python/pytest-virtualenv |
9 |
|
10 |
Indirect test dep for buildbot. |
11 |
|
12 |
Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1 |
13 |
|
14 |
dev-python/pytest-fixture-config/Manifest | 1 + |
15 |
dev-python/pytest-fixture-config/metadata.xml | 19 +++++++++++++ |
16 |
.../pytest-fixture-config-1.2.2.ebuild | 33 ++++++++++++++++++++++ |
17 |
3 files changed, 53 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/pytest-fixture-config/Manifest b/dev-python/pytest-fixture-config/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000..b8242f3 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/pytest-fixture-config/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST pytest-fixture-config-1.2.2.tar.gz 4995 SHA256 5df71da68709a233a7a9f1aa262091ac17ddfd4c170912d07030801fd360b781 SHA512 c2d2346c50c8a73e37ce217e240eabdecf872700c9f4b020f1ca7532a06e6a5dc6b140356d96b1bf8c83f1cf737d95775abaa206c3dcf7e02555b26aa995f12d WHIRLPOOL 97488a31b1b39f5964df34900e4ff8209e425746a7791172cdc6804c98561fa73a7d28d668bbea4fa55082d81c07a50387891a60c8503eedd761bc8f9639673d |
26 |
|
27 |
diff --git a/dev-python/pytest-fixture-config/metadata.xml b/dev-python/pytest-fixture-config/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000..f94f6e1 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/pytest-fixture-config/metadata.xml |
32 |
@@ -0,0 +1,19 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>dolsen@g.o</email> |
38 |
+ <description>Primary maintainer</description> |
39 |
+ </maintainer> |
40 |
+ <upstream> |
41 |
+ <maintainer> |
42 |
+ <email>eeaston@×××××.com</email> |
43 |
+ <name>Edward Easton</name> |
44 |
+ </maintainer> |
45 |
+ <remote-id type="pypi">pytest-fixture-config</remote-id> |
46 |
+ </upstream> |
47 |
+ <longdescription> |
48 |
+ Simple configuration objects for Py.test fixtures. Allows you to skip |
49 |
+ tests when their required config variables aren't set. |
50 |
+ </longdescription> |
51 |
+</pkgmetadata> |
52 |
|
53 |
diff --git a/dev-python/pytest-fixture-config/pytest-fixture-config-1.2.2.ebuild b/dev-python/pytest-fixture-config/pytest-fixture-config-1.2.2.ebuild |
54 |
new file mode 100644 |
55 |
index 00000000..22ba5ea |
56 |
--- /dev/null |
57 |
+++ b/dev-python/pytest-fixture-config/pytest-fixture-config-1.2.2.ebuild |
58 |
@@ -0,0 +1,33 @@ |
59 |
+# Copyright 1999-2017 Gentoo Foundation |
60 |
+# Distributed under the terms of the GNU General Public License v2 |
61 |
+# $Id$ |
62 |
+ |
63 |
+EAPI=6 |
64 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
65 |
+ |
66 |
+inherit distutils-r1 |
67 |
+ |
68 |
+DESCRIPTION="Virtualenv fixture for py.test" |
69 |
+HOMEPAGE="https://github.com/manahl/pytest-plugins https://pypi.python.org/pypi/pytest-fixture-config" |
70 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
71 |
+ |
72 |
+LICENSE="MIT" |
73 |
+SLOT="0" |
74 |
+KEYWORDS="~amd64 ~x86" |
75 |
+IUSE="test" |
76 |
+ |
77 |
+RDEPEND=" |
78 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
79 |
+ dev-python/setuptools-git[${PYTHON_USEDEP}] |
80 |
+" |
81 |
+ |
82 |
+DEPEND=" |
83 |
+ ${RDEPEND} |
84 |
+ test? ( dev-python/six[${PYTHON_USEDEP}] ) |
85 |
+" |
86 |
+ |
87 |
+python_test() { |
88 |
+ distutils_install_for_testing |
89 |
+ |
90 |
+ esetup.py test || die "Tests failed under ${EPYTHON}" |
91 |
+} |