From owner-svn-ports-all@freebsd.org Thu Dec 27 20:10:32 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F5771421BFF; Thu, 27 Dec 2018 20:10:32 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7C2589DC0; Thu, 27 Dec 2018 20:10:31 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C76EA18817; Thu, 27 Dec 2018 20:10:31 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBRKAVxC007648; Thu, 27 Dec 2018 20:10:31 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBRKAUF3007644; Thu, 27 Dec 2018 20:10:30 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201812272010.wBRKAUF3007644@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Thu, 27 Dec 2018 20:10:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488564 - in head/graphics: . py-python-poppler-qt5 py-python-poppler-qt5/files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/graphics: . py-python-poppler-qt5 py-python-poppler-qt5/files X-SVN-Commit-Revision: 488564 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D7C2589DC0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.950,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2018 20:10:32 -0000 Author: tcberner Date: Thu Dec 27 20:10:30 2018 New Revision: 488564 URL: https://svnweb.freebsd.org/changeset/ports/488564 Log: Reinstate graphics/py-poppler-qt4@r487595 as graphics/py-python-poppler-qt5 PR: 234085 Submitted by: m.ne@gmx.net Added: head/graphics/py-python-poppler-qt5/ - copied from r487595, head/graphics/py-poppler-qt4/ head/graphics/py-python-poppler-qt5/files/patch-poppler-qt5.sip (contents, props changed) Modified: head/graphics/Makefile head/graphics/py-python-poppler-qt5/Makefile head/graphics/py-python-poppler-qt5/distinfo head/graphics/py-python-poppler-qt5/pkg-descr Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Thu Dec 27 19:51:19 2018 (r488563) +++ head/graphics/Makefile Thu Dec 27 20:10:30 2018 (r488564) @@ -943,6 +943,7 @@ SUBDIR += py-pypillowfight SUBDIR += py-pyproj SUBDIR += py-pyqtgraph + SIBDIR += py-python-poppler-qt5 SUBDIR += py-qt4-svg SUBDIR += py-qt5-svg SUBDIR += py-sane Modified: head/graphics/py-python-poppler-qt5/Makefile ============================================================================== --- head/graphics/py-poppler-qt4/Makefile Sun Dec 16 14:59:10 2018 (r487595) +++ head/graphics/py-python-poppler-qt5/Makefile Thu Dec 27 20:10:30 2018 (r488564) @@ -1,26 +1,26 @@ # $FreeBSD$ -PORTNAME= poppler-qt4 -PORTVERSION= 0.18.1 -PORTREVISION= 12 +PORTNAME= python-poppler-qt5 +DISTVERSIONPREFIX= v +DISTVERSION= 0.24.2 CATEGORIES= graphics python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= python-${PORTNAME}-${PORTVERSION} -MAINTAINER= martin.dieringer@gmx.de -COMMENT= Python bindings for the Poppler-Qt4 PDF rendering library +MAINTAINER= m.ne@gmx.net +COMMENT= Python bindings for the Poppler-Qt PDF rendering library LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual -DEPRECATED= Qt4 has been EOL since december 2015 -EXPIRATION_DATE= 2019-03-15 +LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 -LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 - -USES= compiler:c++11-lang pkgconfig pyqt:4 python +USES= pkgconfig pyqt:5 python:3.4+ qmake qt:5 USE_PYQT= gui xml sip_build USE_PYTHON= distutils autoplist +USE_GITHUB= yes +GH_ACCOUNT= wbsoft + +PYDISTUTILS_BUILD_TARGET= build_ext +PYDISTUTILS_BUILDARGS+= --pyqt-sip-dir=${PYQT_SIPDIR} .include Modified: head/graphics/py-python-poppler-qt5/distinfo ============================================================================== --- head/graphics/py-poppler-qt4/distinfo Sun Dec 16 14:59:10 2018 (r487595) +++ head/graphics/py-python-poppler-qt5/distinfo Thu Dec 27 20:10:30 2018 (r488564) @@ -1,2 +1,3 @@ -SHA256 (python-poppler-qt4-0.18.1.tar.gz) = 00e3f89f4e23a844844d082918a89c2cbb1e8231ecb011b81d592e7e3c33a74c -SIZE (python-poppler-qt4-0.18.1.tar.gz) = 15523 +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 Added: head/graphics/py-python-poppler-qt5/files/patch-poppler-qt5.sip ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-python-poppler-qt5/files/patch-poppler-qt5.sip Thu Dec 27 20:10:30 2018 (r488564) @@ -0,0 +1,23 @@ +--- 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 + */ + ++%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 Modified: head/graphics/py-python-poppler-qt5/pkg-descr ============================================================================== --- head/graphics/py-poppler-qt4/pkg-descr Sun Dec 16 14:59:10 2018 (r487595) +++ head/graphics/py-python-poppler-qt5/pkg-descr Thu Dec 27 20:10:30 2018 (r488564) @@ -1,3 +1,10 @@ -Python bindings for graphics/poppler-qt4. +A Python binding for libpoppler-qt5 that aims for completeness +and for being actively maintained. -WWW: https://pypi.org/project/python-poppler-qt4/ +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