1 |
commit: c043dfccbb7b30f722eb4e7e267225558db130c7 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 29 21:32:53 2020 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 29 21:38:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c043dfcc |
7 |
|
8 |
dev-python/doublex: 1.9.2 + EAPI 7 + py37 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/711092 |
11 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
|
14 |
dev-python/doublex/Manifest | 1 + |
15 |
dev-python/doublex/doublex-1.9.2.ebuild | 42 +++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/doublex/Manifest b/dev-python/doublex/Manifest |
19 |
index b75a1fe16d9..61bc4b3c915 100644 |
20 |
--- a/dev-python/doublex/Manifest |
21 |
+++ b/dev-python/doublex/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST doublex-1.8.1.tar.gz 69685 BLAKE2B 38f80ac0cf68dc2401eaa8051542c91d382e9ba22ed229b3c12a192f0b180b33a5660e54f647b2273401500a3292619d918dde9b0f685807217bca40e1aafbfc SHA512 30d2b572862370da8402cc2cfa5481d3278f0fefd2d5b2f5be126a793c8e165df0e2ae6089ba321e71d994f14024b882933c1523f7a0b9e341bf75644b49e073 |
24 |
+DIST doublex-1.9.2.tar.gz 80246 BLAKE2B 7fc1c4e6d117bee13e7125b634293aa7c9d1016c9cd5201f047143bcb1fae1e9607bf0a030cbaa2d6eb930474babe29aaf244433aba57ae4325a3a43af2fdf56 SHA512 0278f756930b0d5c3da676e3908ccc17b919c14f740aace3002f5117fa341ac52fe16fdaa2c3b36029757dd1dc2f36d8d35cdc8664fcfdbcafd4809d2fc969b0 |
25 |
|
26 |
diff --git a/dev-python/doublex/doublex-1.9.2.ebuild b/dev-python/doublex/doublex-1.9.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..6c9f288231a |
29 |
--- /dev/null |
30 |
+++ b/dev-python/doublex/doublex-1.9.2.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+# tests are failing with Python 3.8 |
38 |
+# https://bitbucket.org/DavidVilla/python-doublex/issues/5/support-for-python-36-36-38-tests-failing |
39 |
+PYTHON_COMPAT=( python3_{6,7} ) |
40 |
+ |
41 |
+inherit distutils-r1 vcs-snapshot |
42 |
+ |
43 |
+DESCRIPTION="Python test doubles" |
44 |
+HOMEPAGE="https://bitbucket.org/DavidVilla/python-doublex" |
45 |
+SRC_URI="https://bitbucket.org/DavidVilla/python-${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-3" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+IUSE="doc test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+CDEPEND="dev-python/pyhamcrest[${PYTHON_USEDEP}]" |
54 |
+DEPEND=" |
55 |
+ ${CDEPEND} |
56 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
57 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
58 |
+" |
59 |
+RDEPEND="${CDEPEND}" |
60 |
+ |
61 |
+distutils_enable_tests setup.py |
62 |
+ |
63 |
+python_compile_all() { |
64 |
+ use doc && emake -C docs |
65 |
+} |
66 |
+ |
67 |
+python_install_all() { |
68 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
69 |
+ |
70 |
+ distutils-r1_python_install_all |
71 |
+ |
72 |
+ rm "${ED}"/usr/README.rst || die "Couldn't remove spurious README.rst" |
73 |
+} |