Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11 x11/py-sip-qt4: added, similar to py-sip-qt5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d172d2a4dd52
branches:  trunk
changeset: 435636:d172d2a4dd52
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Fri Jul 10 20:02:23 2020 +0000

description:
x11/py-sip-qt4: added, similar to py-sip-qt5.

Also add it as a dependency to py-qt4 (again, like py-qt5).
It is needed by some packages using py-qt4; I noticed it for devel/qbzr.

diffstat:

 x11/Makefile               |   3 ++-
 x11/py-qt4/Makefile        |   6 ++++--
 x11/py-sip-qt4/DESCR       |   1 +
 x11/py-sip-qt4/Makefile    |  13 +++++++++++++
 x11/py-sip-qt4/PLIST       |   6 ++++++
 x11/py-sip/Makefile.common |   3 ++-
 6 files changed, 28 insertions(+), 4 deletions(-)

diffs (84 lines):

diff -r 0702bcab827e -r d172d2a4dd52 x11/Makefile
--- a/x11/Makefile      Fri Jul 10 19:48:47 2020 +0000
+++ b/x11/Makefile      Fri Jul 10 20:02:23 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.901 2020/06/29 18:36:33 pin Exp $
+# $NetBSD: Makefile,v 1.902 2020/07/10 20:02:23 rhialto Exp $
 #
 
 COMMENT=       Packages to support the X window system
@@ -330,6 +330,7 @@
 SUBDIR+=       py-qt5-qscintilla
 SUBDIR+=       py-qwt-qt4
 SUBDIR+=       py-sip
+SUBDIR+=       py-sip-qt4
 SUBDIR+=       py-sip-qt5
 SUBDIR+=       py-terminator
 SUBDIR+=       py-terminator-plugins
diff -r 0702bcab827e -r d172d2a4dd52 x11/py-qt4/Makefile
--- a/x11/py-qt4/Makefile       Fri Jul 10 19:48:47 2020 +0000
+++ b/x11/py-qt4/Makefile       Fri Jul 10 20:02:23 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.90 2020/03/08 16:51:47 wiz Exp $
+# $NetBSD: Makefile,v 1.91 2020/07/10 20:02:23 rhialto Exp $
 
 DISTNAME=      PyQt4_gpl_${PYQT_SYS}-4.12.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/PyQt4_gpl_${PYQT_SYS}/qt4/}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    x11 python
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pyqt/}
 
@@ -11,6 +11,8 @@
 HOMEPAGE=      https://riverbankcomputing.com/software/pyqt/intro
 LICENSE=       gnu-gpl-v3
 
+DEPENDS+=      ${PYPKGPREFIX}-sip-qt4>=4.19.23:../../x11/py-sip-qt4
+
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake pkg-config
 USE_LANGUAGES=         c c++
diff -r 0702bcab827e -r d172d2a4dd52 x11/py-sip-qt4/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-sip-qt4/DESCR      Fri Jul 10 20:02:23 2020 +0000
@@ -0,0 +1,1 @@
+SIP bindings for C and C++ libraries (PyQt4 version)
diff -r 0702bcab827e -r d172d2a4dd52 x11/py-sip-qt4/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-sip-qt4/Makefile   Fri Jul 10 20:02:23 2020 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2020/07/10 20:02:23 rhialto Exp $
+
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/sip/sip-qt4/}
+COMMENT=       SIP bindings for C and C++ libraries (PyQt4 version)
+
+.include "../../x11/py-sip/Makefile.common"
+
+do-configure:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+               ${PYTHONBIN} configure.py ${CONFIGURE_ARGS} --sip-module PyQt4.sip --no-tools
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0702bcab827e -r d172d2a4dd52 x11/py-sip-qt4/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-sip-qt4/PLIST      Fri Jul 10 20:02:23 2020 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/10 20:02:23 rhialto Exp $
+${PYSITELIB}/PyQt4/sip.pyi
+${PYSITELIB}/PyQt4/sip.so
+${PYSITELIB}/PyQt4_sip-${PKGVERSION}.dist-info/INSTALLER
+${PYSITELIB}/PyQt4_sip-${PKGVERSION}.dist-info/METADATA
+${PYSITELIB}/PyQt4_sip-${PKGVERSION}.dist-info/RECORD
diff -r 0702bcab827e -r d172d2a4dd52 x11/py-sip/Makefile.common
--- a/x11/py-sip/Makefile.common        Fri Jul 10 19:48:47 2020 +0000
+++ b/x11/py-sip/Makefile.common        Fri Jul 10 20:02:23 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile.common,v 1.6 2020/06/11 14:49:15 adam Exp $
+# $NetBSD: Makefile.common,v 1.7 2020/07/10 20:02:23 rhialto Exp $
 #
 # used by x11/py-sip/Makefile
+# used by x11/py-sip-qt4/Makefile
 # used by x11/py-sip-qt5/Makefile
 
 DISTNAME=      sip-4.19.23



Home | Main Index | Thread Index | Old Index