1 |
commit: 1e409299a685bd90282e4345c54559509e256a8b |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 29 22:03:02 2020 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 29 22:03:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e409299 |
7 |
|
8 |
dev-python/{doublex-expects,expects,mamba}: EAPI 7 + py37 |
9 |
|
10 |
All in one commit because of this depenceny graph: |
11 |
- doublex-expects: RDEPEND expects, DEPEND mamba |
12 |
- expects: DEPEND mamba |
13 |
- mamba: DEPEND expects, doublex-expects |
14 |
Bug: https://bugs.gentoo.org/711092 |
15 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
16 |
|
17 |
.../doublex-expects-0.7.0_rc2-r1.ebuild | 31 ++++++++++++++++++ |
18 |
dev-python/expects/expects-0.8.0-r1.ebuild | 37 ++++++++++++++++++++++ |
19 |
dev-python/mamba/mamba-0.8.6-r1.ebuild | 35 ++++++++++++++++++++ |
20 |
3 files changed, 103 insertions(+) |
21 |
|
22 |
diff --git a/dev-python/doublex-expects/doublex-expects-0.7.0_rc2-r1.ebuild b/dev-python/doublex-expects/doublex-expects-0.7.0_rc2-r1.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..cd9fa0da3b3 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/doublex-expects/doublex-expects-0.7.0_rc2-r1.ebuild |
27 |
@@ -0,0 +1,31 @@ |
28 |
+# Copyright 1999-2020 Gentoo Authors |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=7 |
32 |
+PYTHON_COMPAT=( python3_{6,7} ) |
33 |
+ |
34 |
+inherit distutils-r1 vcs-snapshot |
35 |
+ |
36 |
+MY_PV=${PV/_/} |
37 |
+ |
38 |
+DESCRIPTION="Expects matchers for Doublex test doubles assertions" |
39 |
+HOMEPAGE="https://github.com/jaimegildesagredo/doublex-expects" |
40 |
+SRC_URI="https://github.com/jaimegildesagredo/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="amd64" |
45 |
+IUSE="test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ test? ( dev-python/mamba[${PYTHON_USEDEP}] ) |
50 |
+" |
51 |
+RDEPEND=" |
52 |
+ dev-python/doublex[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/expects-0.8.0_rc1[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+ |
56 |
+python_test() { |
57 |
+ mamba || die "Tests failed under ${EPYTHON}" |
58 |
+} |
59 |
|
60 |
diff --git a/dev-python/expects/expects-0.8.0-r1.ebuild b/dev-python/expects/expects-0.8.0-r1.ebuild |
61 |
new file mode 100644 |
62 |
index 00000000000..92b6a969633 |
63 |
--- /dev/null |
64 |
+++ b/dev-python/expects/expects-0.8.0-r1.ebuild |
65 |
@@ -0,0 +1,37 @@ |
66 |
+# Copyright 1999-2020 Gentoo Authors |
67 |
+# Distributed under the terms of the GNU General Public License v2 |
68 |
+ |
69 |
+EAPI=7 |
70 |
+PYTHON_COMPAT=( python3_{6,7} ) |
71 |
+ |
72 |
+inherit distutils-r1 |
73 |
+ |
74 |
+DESCRIPTION="Expressive and extensible TDD/BDD assertion library for Python" |
75 |
+HOMEPAGE="https://github.com/jaimegildesagredo/expects" |
76 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
77 |
+ |
78 |
+LICENSE="Apache-2.0" |
79 |
+SLOT="0" |
80 |
+KEYWORDS="~amd64" |
81 |
+IUSE="doc test" |
82 |
+RESTRICT="!test? ( test )" |
83 |
+ |
84 |
+DEPEND=" |
85 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
86 |
+ test? ( dev-python/mamba[${PYTHON_USEDEP}] ) |
87 |
+" |
88 |
+RDEPEND="" |
89 |
+ |
90 |
+python_compile_all() { |
91 |
+ use doc && emake -C docs html |
92 |
+} |
93 |
+ |
94 |
+python_test() { |
95 |
+ mamba || die "tests failed under ${EPYTHON}" |
96 |
+} |
97 |
+ |
98 |
+python_install_all() { |
99 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
100 |
+ |
101 |
+ distutils-r1_python_install_all |
102 |
+} |
103 |
|
104 |
diff --git a/dev-python/mamba/mamba-0.8.6-r1.ebuild b/dev-python/mamba/mamba-0.8.6-r1.ebuild |
105 |
new file mode 100644 |
106 |
index 00000000000..fae6d37a378 |
107 |
--- /dev/null |
108 |
+++ b/dev-python/mamba/mamba-0.8.6-r1.ebuild |
109 |
@@ -0,0 +1,35 @@ |
110 |
+# Copyright 1999-2020 Gentoo Authors |
111 |
+# Distributed under the terms of the GNU General Public License v2 |
112 |
+ |
113 |
+EAPI=7 |
114 |
+PYTHON_COMPAT=( python3_{6,7} ) |
115 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
116 |
+ |
117 |
+inherit distutils-r1 |
118 |
+ |
119 |
+DESCRIPTION="... testing tool ... Born under the banner of Behavior Driven Development" |
120 |
+HOMEPAGE="http://nestorsalceda.github.io/mamba" |
121 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
122 |
+ |
123 |
+LICENSE="MIT" |
124 |
+SLOT="0" |
125 |
+KEYWORDS="~amd64" |
126 |
+IUSE="test" |
127 |
+RESTRICT="!test? ( test )" |
128 |
+ |
129 |
+DEPEND=" |
130 |
+ test? ( |
131 |
+ >=dev-python/doublex-expects-0.7.0_rc1[${PYTHON_USEDEP}] |
132 |
+ >=dev-python/expects-0.8.0_rc2[${PYTHON_USEDEP}] |
133 |
+ >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] |
134 |
+ ) |
135 |
+" |
136 |
+RDEPEND=" |
137 |
+ >=dev-python/clint-0.3.1[${PYTHON_USEDEP}] |
138 |
+ >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}] |
139 |
+ >=dev-python/watchdog-0.8.1[${PYTHON_USEDEP}] |
140 |
+" |
141 |
+ |
142 |
+python_test() { |
143 |
+ "${PYTHON}" -m mamba.cli || die "Tests failed under ${EPYTHON}" |
144 |
+} |