summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorrhialto <rhialto@pkgsrc.org>2020-07-10 20:02:23 +0000
committerrhialto <rhialto@pkgsrc.org>2020-07-10 20:02:23 +0000
commitf3febf7b1cbe658b58b70219c03f7d479e33c889 (patch)
treec6db1b0114473bec12af25671cd547bb1e20a70b /x11
parent513fd25f4dcca9c3474c38b9b2660dafd97d084b (diff)
downloadpkgsrc-f3febf7b1cbe658b58b70219c03f7d479e33c889.tar.gz
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 (limited to 'x11')
-rw-r--r--x11/Makefile3
-rw-r--r--x11/py-qt4/Makefile6
-rw-r--r--x11/py-sip-qt4/DESCR1
-rw-r--r--x11/py-sip-qt4/Makefile13
-rw-r--r--x11/py-sip-qt4/PLIST6
-rw-r--r--x11/py-sip/Makefile.common3
6 files changed, 28 insertions, 4 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 86ceb54d088..7f688bc1cb8 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -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
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 --git a/x11/py-qt4/Makefile b/x11/py-qt4/Makefile
index 1af3aa2fdfd..3c33bf5d056 100644
--- a/x11/py-qt4/Makefile
+++ b/x11/py-qt4/Makefile
@@ -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 @@ COMMENT= Python binding for Qt4
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 --git a/x11/py-sip-qt4/DESCR b/x11/py-sip-qt4/DESCR
new file mode 100644
index 00000000000..1b3636fabb2
--- /dev/null
+++ b/x11/py-sip-qt4/DESCR
@@ -0,0 +1 @@
+SIP bindings for C and C++ libraries (PyQt4 version)
diff --git a/x11/py-sip-qt4/Makefile b/x11/py-sip-qt4/Makefile
new file mode 100644
index 00000000000..b5097ca6f03
--- /dev/null
+++ b/x11/py-sip-qt4/Makefile
@@ -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 --git a/x11/py-sip-qt4/PLIST b/x11/py-sip-qt4/PLIST
new file mode 100644
index 00000000000..0166fa8b121
--- /dev/null
+++ b/x11/py-sip-qt4/PLIST
@@ -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 --git a/x11/py-sip/Makefile.common b/x11/py-sip/Makefile.common
index 1382cfbc328..e7f62b32d93 100644
--- a/x11/py-sip/Makefile.common
+++ b/x11/py-sip/Makefile.common
@@ -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