Index: graphics/py-poppler-qt5/Makefile =================================================================== --- graphics/py-poppler-qt5/Makefile (nonexistent) +++ graphics/py-poppler-qt5/Makefile (working copy) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= python-poppler-qt5 +PORTVERSION= 0.24.2 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= martin.dieringer@gmx.de +COMMENT= Python bindings for the Poppler-Qt PDF rendering library + +LICENSE= LGPL21 LGPL3 +LICENSE_COMB= dual + +LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 + +USES= pkgconfig pyqt:5 python:3.4+ qmake qt:5 +USE_PYQT= gui xml sip_build +USE_PYTHON= distutils autoplist + +PYDISTUTILS_BUILD_TARGET= build_ext +PYDISTUTILS_BUILDARGS+= --pyqt-sip-dir=${PYQT_SIPDIR} + +.include Property changes on: graphics/py-poppler-qt5/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: graphics/py-poppler-qt5/distinfo =================================================================== --- graphics/py-poppler-qt5/distinfo (nonexistent) +++ graphics/py-poppler-qt5/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522237769 +SHA256 (python-poppler-qt5-0.24.2.tar.gz) = 3970c35ce1f0f1464a6c2746bea4c479b9780b4e17030c92479f7f1738a5c950 +SIZE (python-poppler-qt5-0.24.2.tar.gz) = 20944 Property changes on: graphics/py-poppler-qt5/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: graphics/py-poppler-qt5/files/patch-poppler-qt5.sip =================================================================== --- graphics/py-poppler-qt5/files/patch-poppler-qt5.sip (nonexistent) +++ graphics/py-poppler-qt5/files/patch-poppler-qt5.sip (working copy) @@ -0,0 +1,10 @@ +--- poppler-qt5.sip.orig 2015-02-23 06:41:56 UTC ++++ poppler-qt5.sip +@@ -8,6 +8,7 @@ + + %Import QtCore/QtCoremod.sip + %Import QtGui/QtGuimod.sip ++%Import QtXml/QtXmlmod.sip + + %Feature QTXML_AVAILABLE + Property changes on: graphics/py-poppler-qt5/files/patch-poppler-qt5.sip ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: graphics/py-poppler-qt5/files/patch-types.sip =================================================================== --- graphics/py-poppler-qt5/files/patch-types.sip (nonexistent) +++ graphics/py-poppler-qt5/files/patch-types.sip (working copy) @@ -0,0 +1,16 @@ +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); + Property changes on: graphics/py-poppler-qt5/files/patch-types.sip ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: graphics/py-poppler-qt5/pkg-descr =================================================================== --- graphics/py-poppler-qt5/pkg-descr (nonexistent) +++ graphics/py-poppler-qt5/pkg-descr (working copy) @@ -0,0 +1,9 @@ +A Python binding for libpoppler-qt5 that aims for completeness and for being actively maintained. + +Created and currently maintained by Wilbert Berendsen . + +Usage: + import popplerqt5 + d = popplerqt5.Poppler.Document.load('file.pdf') + +WWW: https://pypi.python.org/pypi/python-poppler-qt5 Property changes on: graphics/py-poppler-qt5/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property