1 |
commit: dcd1805b8cf4347dd11eb61aaea09c75bc2a7d05 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 11 16:22:09 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 11 16:48:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd1805b |
7 |
|
8 |
dev-python/QtPy: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/QtPy/QtPy-1.9.0-r1.ebuild | 31 ------------------------------- |
13 |
1 file changed, 31 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/QtPy/QtPy-1.9.0-r1.ebuild b/dev-python/QtPy/QtPy-1.9.0-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 3317738568c..00000000000 |
18 |
--- a/dev-python/QtPy/QtPy-1.9.0-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,31 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{6,7} ) |
27 |
- |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="Abstraction layer for PyQt5/PySide" |
31 |
-HOMEPAGE="https://github.com/spyder-ide/qtpy" |
32 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="MIT" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="amd64 x86" |
37 |
-IUSE="designer gui opengl svg testlib webengine" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- dev-python/PyQt5[${PYTHON_USEDEP},designer?,opengl?,svg?] |
41 |
- gui? ( dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] ) |
42 |
- testlib? ( dev-python/PyQt5[${PYTHON_USEDEP},testlib] ) |
43 |
- webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] )" |
44 |
- |
45 |
-src_prepare() { |
46 |
- default |
47 |
- |
48 |
- sed -i -e "s/from PyQt4.Qt import/raise ImportError #/" qtpy/__init__.py || die |
49 |
- sed -i -e "s/from PySide import/raise ImportError #/" qtpy/__init__.py || die |
50 |
- sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die |
51 |
-} |