diff options
-rw-r--r-- | graphics/py-python-poppler-qt5/Makefile | 10 | ||||
-rw-r--r-- | graphics/py-python-poppler-qt5/distinfo | 6 | ||||
-rw-r--r-- | graphics/py-python-poppler-qt5/files/patch-poppler-qt5.sip | 23 | ||||
-rw-r--r-- | graphics/py-python-poppler-qt5/files/patch-types.sip | 16 |
4 files changed, 9 insertions, 46 deletions
diff --git a/graphics/py-python-poppler-qt5/Makefile b/graphics/py-python-poppler-qt5/Makefile index e7f9b3ce4e38..a76e4d975efd 100644 --- a/graphics/py-python-poppler-qt5/Makefile +++ b/graphics/py-python-poppler-qt5/Makefile @@ -2,8 +2,7 @@ PORTNAME= python-poppler-qt5 DISTVERSIONPREFIX= v -DISTVERSION= 0.24.2 -PORTREVISION= 6 +DISTVERSION= 0.74.0 CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,11 +16,14 @@ LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 USES= compiler:c++11-lang pkgconfig pyqt:5 python:3.4+ qmake qt:5 USE_PYQT= gui xml sip_build -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils USE_GITHUB= yes GH_ACCOUNT= wbsoft PYDISTUTILS_BUILD_TARGET= build_ext -PYDISTUTILS_BUILDARGS+= --pyqt-sip-dir=${PYQT_SIPDIR} +PYDISTUTILS_BUILDARGS+= --pyqt-sip-dir=${PYQT_SIPDIR} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5.so .include <bsd.port.mk> diff --git a/graphics/py-python-poppler-qt5/distinfo b/graphics/py-python-poppler-qt5/distinfo index 71fff5b27346..ced5947856df 100644 --- a/graphics/py-python-poppler-qt5/distinfo +++ b/graphics/py-python-poppler-qt5/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1545059766 -SHA256 (wbsoft-python-poppler-qt5-v0.24.2_GH0.tar.gz) = 542b5ab183e95debd4e05642425da6914e1b5c5a98a8c94752833d5b5ca7289b -SIZE (wbsoft-python-poppler-qt5-v0.24.2_GH0.tar.gz) = 19858 +TIMESTAMP = 1568875323 +SHA256 (wbsoft-python-poppler-qt5-v0.74.0_GH0.tar.gz) = 8e073ec496a1c39bbe14b53d70c0a8628b7ec3fe0f8db0709440a6a6b553109f +SIZE (wbsoft-python-poppler-qt5-v0.74.0_GH0.tar.gz) = 23243 diff --git a/graphics/py-python-poppler-qt5/files/patch-poppler-qt5.sip b/graphics/py-python-poppler-qt5/files/patch-poppler-qt5.sip deleted file mode 100644 index 0abbbdecef2e..000000000000 --- a/graphics/py-python-poppler-qt5/files/patch-poppler-qt5.sip +++ /dev/null @@ -1,23 +0,0 @@ ---- poppler-qt5.sip.orig 2018-12-19 10:55:11 UTC -+++ poppler-qt5.sip -@@ -1,15 +1,18 @@ --%Module(name=popplerqt5, version=0) -+%Module(name=popplerqt5) - - /* - * Bindings for Poppler-Qt5 to Python - * Maintained by Wilbert Berendsen <wbsoft@xs4all.nl> - */ - -+%Feature QTXML_AVAILABLE - - %Import QtCore/QtCoremod.sip - %Import QtGui/QtGuimod.sip - --%Feature QTXML_AVAILABLE -+%If(QTXML_AVAILABLE) -+%Import QtXml/QtXmlmod.sip -+%End - - %Timeline { - POPPLER_V0_20_0 diff --git a/graphics/py-python-poppler-qt5/files/patch-types.sip b/graphics/py-python-poppler-qt5/files/patch-types.sip deleted file mode 100644 index 8ce1d17660a3..000000000000 --- a/graphics/py-python-poppler-qt5/files/patch-types.sip +++ /dev/null @@ -1,16 +0,0 @@ -PyList_SET_ITEM() is supposed to be void, but as a macro it's an -expression and has a pointer value. Clang 4.0 trips on the bogus -pointer comparison; given the comparison, it should be PyList_SetItem() -which returns -1 on failure. - ---- types.sip.orig 2017-01-21 07:19:29 UTC -+++ types.sip -@@ -27,7 +27,7 @@ - foreach (Poppler::Document::RenderBackend value, set) - { - PyObject *obj = PyLong_FromLong ((long) value); -- if (obj == NULL || PyList_SET_ITEM (l, i, obj) < 0) -+ if (obj == NULL || PyList_SetItem (l, i, obj) < 0) - { - Py_DECREF(l); - |