[dev-python/PyQt4] removing, fixes in Portage now

This commit is contained in:
Fabio Erculiani
2009-06-15 11:43:25 +02:00
parent f98d620260
commit 593e9d6909
6 changed files with 0 additions and 138 deletions
-6
View File
@@ -1,6 +0,0 @@
AUX PyQt4-4.4.4-qgraphicsproxywidget-avoid-event-callback-loop.patch 1004 RMD160 5fa5609d31b53978846999be8045c75b940c3dd1 SHA1 a7122535d44bd8a81984870e98322b14521d2ced SHA256 db539a666d834756013fc48012914dd181116df7f5d1d21485ff947e20441eed
AUX PyQt4-4.4_compile.patch 883 RMD160 016122f1e9cbf8c74da760fd094e280fd5ec0257 SHA1 b745edae97d52882b44a53461b98c96e11dbee20 SHA256 dc95ae5b5f7d07431d563c2035d68c6097b8f20dbb2285d2762066938c69e830
AUX configure.py.patch 825 RMD160 fc52b91818c10c03233b61b6c5b12c7c54800e85 SHA1 698df8a4b3041eae84772a9e1f118939e1f3984e SHA256 507b6dc7cae3879323792c0e2746509cbab445ad0912c5be46ff53074437072e
DIST PyQt-x11-gpl-4.4.4.tar.gz 6982063 RMD160 970bca082a93402b1986b4e8a14738575732e8ae SHA1 6b91a8020de10e807fa0d3db6b7a92029a17cf0b SHA256 fc09c13b340078c7995fb2b6450c5b7de8ef9411962d311a1213e773c936509a
EBUILD PyQt4-4.4.4-r4.ebuild 2161 RMD160 7f63815da95cf4de9b91a1c5c49d719a58e7def3 SHA1 10faa8f1a0c3d96995fafc8ac3c4e623b90f6d65 SHA256 a522c995943d58e5a6eefa2f1c8c8a22b0a77efc12a7bc42bc50ad125be937f8
MISC Reasons 154 RMD160 ae969022a0e2ca229e532835533b6e88bb956e9f SHA1 ee4b8edabad86e326e9e5539bd34460ceadc7452 SHA256 18cad20cc1c80879357944ec0f1ac8b63d73568a82565dea5275cf6fcd9e5549
-64
View File
@@ -1,64 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.4-r3.ebuild,v 1.1 2009/04/07 18:30:59 hwoarang Exp $
EAPI="2"
inherit distutils qt4
MY_P=PyQt-x11-gpl-${PV}
DESCRIPTION="A set of Python bindings for the Qt toolkit"
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/"
SRC_URI="http://www.riverbankcomputing.com/static/Downloads/PyQt4/${MY_P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="dbus debug doc examples opengl qt3support svg webkit X"
RDEPEND=">=dev-python/sip-4.7.8
>=x11-libs/qt-core-4.4.2:4
dbus? ( dev-python/dbus-python
>=x11-libs/qt-dbus-4.4.2:4 )
opengl? ( >=x11-libs/qt-opengl-4.4.2:4 )
svg? ( >=x11-libs/qt-svg-4.4.2:4 )
qt3support? ( >=x11-libs/qt-qt3support-4.4.2:4 )
webkit? ( >=x11-libs/qt-webkit-4.4.2:4 )
X? ( >=x11-libs/qt-gui-4.4.2:4 )"
DEPEND="${RDEPEND}
sys-devel/libtool"
S=${WORKDIR}/${MY_P}
PATCHES=(
"${FILESDIR}/configure.py.patch"
"${FILESDIR}/${P}-qgraphicsproxywidget-avoid-event-callback-loop.patch"
)
src_unpack() {
unpack ${A}
sed -i -e "s:^[ \t]*check_license():# check_license():" "${S}"/configure.py
sed -i -e "s:join(qt_dir, \"mkspecs\":join(\"/usr/share/qt4\", \"mkspecs\":g" "${S}"/configure.py
sed -i -e "s:\"QT_INSTALL_HEADERS\"\: os.path.join(qt_dir, \"include\":\"QT_INSTALL_HEADERS\"\: os.path.join(qt_dir, \"include/qt4\":g" "${S}"/configure.py
sed -i -e "s:\"QT_INSTALL_LIBS\"\: os.path.join(qt_dir, \"lib\":\"QT_INSTALL_LIBS\"\: os.path.join(qt_dir, \"lib/qt4\":g" "${S}"/configure.py
}
src_configure() {
distutils_python_version
addpredict ${QTDIR}/etc/settings
local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages -b /usr/bin -v /usr/share/sip"
use debug && myconf="${myconf} -u"
"${python}" configure.py ${myconf}
}
src_install() {
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "install failed"
dodoc ChangeLog NEWS README THANKS
use doc && dohtml -r doc/html/*
if use examples ; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}
-3
View File
@@ -1,3 +0,0 @@
# Fabio Erculiani <lxnay@sabayonlinux.org>
Added a patch that fixes QGraphicsProxyWidget events: dragEnterEvent,
dragLeaveEvent, dragMoveEvent, dropEvent
@@ -1,16 +0,0 @@
diff -Nurp PyQt-x11-gpl-4.4.4.orig/sip/QtGui/qgraphicsproxywidget.sip PyQt-x11-gpl-4.4.4/sip/QtGui/qgraphicsproxywidget.sip
--- PyQt-x11-gpl-4.4.4.orig/sip/QtGui/qgraphicsproxywidget.sip 2008-11-08 12:55:56.000000000 +0100
+++ PyQt-x11-gpl-4.4.4/sip/QtGui/qgraphicsproxywidget.sip 2009-04-21 21:59:09.938689971 +0200
@@ -87,6 +87,12 @@ protected:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);
+
+ virtual void dragEnterEvent(QGraphicsSceneDragDropEvent *event);
+ virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent *event);
+ virtual void dragMoveEvent(QGraphicsSceneDragDropEvent *event);
+ virtual void dropEvent(QGraphicsSceneDragDropEvent *event);
+
virtual void wheelEvent(QGraphicsSceneWheelEvent *event);
virtual void keyPressEvent(QKeyEvent *event);
virtual void keyReleaseEvent(QKeyEvent *event);
@@ -1,21 +0,0 @@
diff -ru PyQt-x11-gpl-4.4_old/designer/pluginloader.cpp PyQt-x11-gpl-4.4/designer/pluginloader.cpp
--- PyQt-x11-gpl-4.4_old/designer/pluginloader.cpp 2008-05-20 20:12:41.000000000 +0200
+++ PyQt-x11-gpl-4.4/designer/pluginloader.cpp 2008-05-20 20:13:37.000000000 +0200
@@ -280,7 +280,7 @@
// Return the named attribute object from the named module.
PyObject *PyCustomWidgets::getModuleAttr(const char *module, const char *attr)
{
-#if PY_VERSION_HEX >= 0x020500
+#if PY_VERSION_HEX >= 0x02050000
PyObject *mod = PyImport_ImportModule(module);
#else
PyObject *mod = PyImport_ImportModule(const_cast<char *>(module));
@@ -292,7 +292,7 @@
return 0;
}
-#if PY_VERSION_HEX >= 0x020500
+#if PY_VERSION_HEX >= 0x02050000
PyObject *obj = PyObject_GetAttrString(mod, attr);
#else
PyObject *obj = PyObject_GetAttrString(mod, const_cast<char *>(attr));
-28
View File
@@ -1,28 +0,0 @@
diff -Naur PyQt-x11-gpl-4.4.4~orig/configure.py PyQt-x11-gpl-4.4.4/configure.py
--- PyQt-x11-gpl-4.4.4~orig/configure.py 2009-03-26 01:01:43.000000000 +0100
+++ PyQt-x11-gpl-4.4.4/configure.py 2009-03-26 01:09:50.000000000 +0100
@@ -666,6 +666,7 @@
install_dir=pydbusmoddir,
qt=["QtCore"],
debug=opts.debug,
+ strip=0,
universal=sipcfg.universal
)
@@ -1350,6 +1351,7 @@
warnings=1,
static=opts.static,
debug=opts.debug,
+ strip=0,
universal=sipcfg.universal
)
@@ -1510,7 +1512,7 @@
# The Qt binary installer has macx-xcode as the default.
args = "-spec macx-g++ " + args
- return args
+ return " QMAKE_STRIP= " + args
def get_qt_configuration():