Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kdebump.git;a=commitdiff;h=1046e7c95d0967cdd15f1ef6566c9ee3284e9eef

commit 1046e7c95d0967cdd15f1ef6566c9ee3284e9eef
Author: Melko <[email protected]>
Date:   Sat Nov 10 17:32:10 2012 +0100

pykde4-4.9.3-1-i686

* drop patch

diff --git a/source/kde-extra/pykde4/FrugalBuild 
b/source/kde-extra/pykde4/FrugalBuild
index 8213807..a825bef 100644
--- a/source/kde-extra/pykde4/FrugalBuild
+++ b/source/kde-extra/pykde4/FrugalBuild
@@ -7,12 +7,10 @@ pkgdesc="Python KDE bindings using PyQt4 SIP technology."
groups=('kde-extra')
archs=('i686' 'x86_64')
Finclude kde
-source=("${source[@]}" "pyqt495.patch")
depends=("libnepomuk>=$_F_kde_ver" "libkhtml>=$_F_kde_ver" 
"libplasma>=$_F_kde_ver" "libqtdeclarative>=$_F_kde_qtver" \
"libakonadi>=$_F_kde_ver" "libkfile>=$_F_kde_ver" "libkdesu>=$_F_kde_ver" 
"libkdewebkit>=$_F_kde_ver" "pyqt4>=4.9.5")
makedepends=("${makedepends[@]}" 'boost>=1.49.0' 'sip>=4.14' 
"libqtopengl>=$_F_kde_qtver" \
"libqtsql>=$_F_kde_qtver" "libqtwebkit>=$_F_kde_qtver" 
"libqtdesigner>=$_F_kde_qtver" \
"soprano-backend-redland>=2.7.0" "kdelibs>=$_F_kde_ver" 
"kdelibs-compiletime>=$_F_kde_ver")
-sha1sums=("${sha1sums[@]}" '97bd962f5f80612264cc065ced1d0bc6ec4452f4')

# optimization OK
diff --git a/source/kde-extra/pykde4/pyqt495.patch 
b/source/kde-extra/pykde4/pyqt495.patch
deleted file mode 100644
index 2ce96e4..0000000
--- a/source/kde-extra/pykde4/pyqt495.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From: Luca Beltrame <[email protected]>
-Date: Mon, 01 Oct 2012 18:47:56 +0000
-Subject: Remove duplicated QVector<int> definition, since it's in PyQt now.
-X-Git-Url: 
http://quickgit.kde.org/?p=pykde4.git&amp;a=commitdiff&amp;h=017822bd0dfc83fe9a7a483ecc33f4aab839a3c6
----
-Remove duplicated QVector<int> definition, since it's in PyQt now.
-Simon, if you have time, please review if everything is OK.
-
-CCMAIL: [email protected]
----
-
-
---- pykde4-4.9.2.old/sip/kdecore/typedefs.sip  2012-09-28 02:18:24.000000000 
+0200
-+++ pykde4-4.9.2/sip/kdecore/typedefs.sip      2012-10-21 15:31:42.297865587 
+0200
-@@ -950,78 +950,3 @@
-     return sipGetState(sipTransferObj);
- %End
- };
--
--%MappedType QVector<int>
--{
--%TypeHeaderCode
--#include <qvector.h>
--%End
--
--%ConvertFromTypeCode
--    // Create the list.
--    PyObject *l;
--
--    if ((l = PyList_New(sipCpp->size())) == NULL)
--        return NULL;
--
--    // Set the list elements.
--    for (int i = 0; i < sipCpp->size(); ++i)
--    {
--        int t = (sipCpp->at(i));
--
--#if PY_MAJOR_VERSION >= 3
--        PyObject *tobj = PyLong_FromLong(t);
--#else
--        PyObject *tobj = PyInt_FromLong(t);
--#endif
--
--        PyList_SET_ITEM(l, i, tobj);
--    }
--
--    return l;
--%End
--
--%ConvertToTypeCode
--    // Check the type if that is all that is required.
--    if (sipIsErr == NULL)
--    {
--        if (!PyList_Check(sipPy))
--            return 0;
--
--        for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) {
--            PyObject *tobj = PyList_GET_ITEM(sipPy, i);
--#if PY_MAJOR_VERSION >= 3
--            if (!PyNumber_Check(tobj))
--#else
--            if (!PyInt_Check(tobj))
--#endif
--                return 0;
--        }
--        return 1;
--    }
--
--    QVector<int> *qv = new QVector<int>;
--
--    for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
--    {
--        PyObject *tobj = PyList_GET_ITEM(sipPy, i);
-- #if PY_MAJOR_VERSION >= 3
--        int t = PyLong_AsLong (tobj);
--#else
--        int t = PyInt_AS_LONG (tobj);
--#endif
--
--        if (*sipIsErr)
--        {
--            delete qv;
--            return 0;
--        }
--
--        qv->append(t);
--    }
--
--    *sipCppPtr = qv;
--
--    return sipGetState(sipTransferObj);
--%End
--};
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to