From cf1f1eca5b92832bb17aa50b23edbe1d88480f2b Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 26 Feb 2020 21:33:51 +0100 Subject: [PATCH] dev-python/QtPy: Drop 1.9.0 (r0) Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner --- dev-python/QtPy/QtPy-1.9.0.ebuild | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 dev-python/QtPy/QtPy-1.9.0.ebuild diff --git a/dev-python/QtPy/QtPy-1.9.0.ebuild b/dev-python/QtPy/QtPy-1.9.0.ebuild deleted file mode 100644 index 85c3f572b63e..000000000000 --- a/dev-python/QtPy/QtPy-1.9.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) - -inherit distutils-r1 - -DESCRIPTION="Abstraction layer for PyQt5/PySide" -HOMEPAGE="https://github.com/spyder-ide/qtpy" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="designer gui opengl svg testlib webkit webengine" - -RDEPEND=" - dev-python/PyQt5[${PYTHON_USEDEP},designer?,opengl?,svg?,webkit?] - gui? ( dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] ) - testlib? ( dev-python/PyQt5[${PYTHON_USEDEP},testlib] ) - webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] )" - -src_prepare() { - default - - sed -i -e "s/from PyQt4.Qt import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die -} -- 2.26.2