1 |
commit: 706f04a56209e8370a385cab801be1f1d6005f76 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 15 21:28:53 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 15 21:28:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=706f04a5 |
7 |
|
8 |
dev-python/pytest-qt: drop PyQt4, properly depend on PyQt5[gui], bug #644682 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild | 41 ++++++++++++++++++++++++++ |
13 |
1 file changed, 41 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild b/dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..cbbfd24fc3d |
18 |
--- /dev/null |
19 |
+++ b/dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild |
20 |
@@ -0,0 +1,41 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python2_7 python3_5 ) |
27 |
+inherit distutils-r1 |
28 |
+ |
29 |
+DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications" |
30 |
+HOMEPAGE="https://pypi.python.org/pypi/pytest-qt" |
31 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="MIT" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="doc" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ >=dev-python/pytest-2.7.0[${PYTHON_USEDEP}] |
40 |
+ dev-python/PyQt5[gui] |
41 |
+ doc? ( |
42 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
43 |
+ dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}] |
44 |
+ ) |
45 |
+" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
49 |
+" |
50 |
+ |
51 |
+# Test make assumptions about Qt environment |
52 |
+RESTRICT="test" |
53 |
+ |
54 |
+python_compile_all() { |
55 |
+ use doc && sphinx-build -b html docs _build/html |
56 |
+} |
57 |
+ |
58 |
+python_install_all() { |
59 |
+ use doc && HTML_DOCS=( _build/html/. ) |
60 |
+ distutils-r1_python_install_all |
61 |
+} |