From: Andreas Sturmlechner Date: Wed, 11 Mar 2020 22:30:56 +0000 (+0100) Subject: dev-python/PythonQt: Drop 3.2 (r0) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d38fdbd9b720f1f047db59fa748a2c8d904c8cb;p=gentoo.git dev-python/PythonQt: Drop 3.2 (r0) Dropping another dev-qt/qtwebkit:5 revdep. Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner --- diff --git a/dev-python/PythonQt/PythonQt-3.2.ebuild b/dev-python/PythonQt/PythonQt-3.2.ebuild deleted file mode 100644 index 9421d91aa5a1..000000000000 --- a/dev-python/PythonQt/PythonQt-3.2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -MY_P=${PN}${PV} - -inherit qmake-utils python-single-r1 - -DESCRIPTION="A dynamic Python binding for the Qt framework" -HOMEPAGE="http://pythonqt.sourceforge.net/" -SRC_URI="mirror://sourceforge/pythonqt/pythonqt/${P}/${MY_P}.zip" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc +extensions webkit" - -RDEPEND="${PYTHON_DEPS} - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - extensions? ( - dev-qt/designer:5 - dev-qt/qtdeclarative:5[widgets] - dev-qt/qtmultimedia:5[widgets] - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsql:5 - dev-qt/qtsvg:5 - dev-qt/qtxml:5 - dev-qt/qtxmlpatterns:5 - webkit? ( dev-qt/qtwebkit:5 ) - )" -DEPEND="${RDEPEND} - dev-qt/qtxml:5 - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -S="${WORKDIR}/${MY_P}" - -REQUIRED_USE="webkit? ( extensions ) ${PYTHON_REQUIRED_USE}" - -src_prepare() { - default - - if ! use extensions ; then - sed -i '/SUBDIRS/s/extensions//' PythonQt.pro || die "sed for extensions" - fi - if ! use webkit ; then - # Remove webkit support if not used - sed -i '/qtHaveModule(webkit):CONFIG += PythonQtWebKit/d' \ - extensions/PythonQt_QtAll/PythonQt_QtAll.pro \ - || die "sed for webkit" - fi - - # Unset python version to use python-config - sed -i "/unix:PYTHON_VERSION=/s/2.7//" build/python.prf \ - || die "sed for python version" -} - -src_configure() { - eqmake5 PREFIX="${ED%/}"/usr -} - -src_install() { - einstalldocs - - # Includes - insinto /usr/include/PythonQt - doins -r src/*.h - insinto /usr/include/PythonQt/gui - doins -r src/gui/*.h - - if use extensions ; then - insinto /usr/include/PythonQt/extensions/PythonQt_QtAll - doins -r extensions/PythonQt_QtAll/*.h - fi - - # Libraries - dolib.so lib/libPythonQt* -}