diff options
author | reed <reed@pkgsrc.org> | 2005-07-01 01:20:28 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-07-01 01:20:28 +0000 |
commit | cc86acdeca60335942332ad66dbd9ebf18db62b6 (patch) | |
tree | aca014f21ed2b6eac3387dad792833becacf5467 /x11/py-qt3-base | |
parent | 391d36304123811ba78c1169fd953bc14a48122e (diff) | |
download | pkgsrc-cc86acdeca60335942332ad66dbd9ebf18db62b6.tar.gz |
Lots of little changes to package. Not an upgrade though.
Split this up into a Makefile.common to be used by other packages.
For Darwin, use a different DISTFILE as told by the py-kde list.
Improve DESCR. (The same DESCRiption was used by multiple packages.)
Diffstat (limited to 'x11/py-qt3-base')
-rw-r--r-- | x11/py-qt3-base/DESCR | 15 | ||||
-rw-r--r-- | x11/py-qt3-base/Makefile.common | 39 | ||||
-rw-r--r-- | x11/py-qt3-base/PLIST.Darwin | 2 | ||||
-rw-r--r-- | x11/py-qt3-base/PLIST.X11 | 3 | ||||
-rw-r--r-- | x11/py-qt3-base/PLIST.common (renamed from x11/py-qt3-base/PLIST) | 6 | ||||
-rw-r--r-- | x11/py-qt3-base/PLIST.common_end | 3 |
6 files changed, 59 insertions, 9 deletions
diff --git a/x11/py-qt3-base/DESCR b/x11/py-qt3-base/DESCR index 5749991f597..cf42f05a36b 100644 --- a/x11/py-qt3-base/DESCR +++ b/x11/py-qt3-base/DESCR @@ -1,6 +1,13 @@ -These are the Python bindings for Qt. You must also have the SIP Python -bindings generator installed. +PyQt is a set of Python bindings for the Qt toolkit. PyQt brings +together the Qt C++ cross-platform toolkit and the cross-platform +interpreted language Python. PyQt contains 300 classes and over +5,750 functions and methods. -The homepage is http://www.riverbankcomputing.co.uk/pyqt/. +PyQt also includes the pyuic and pylupdate utilities which correspond +to the Qt uic and lupdate utilities. pyuic converts the GUI designs +created with Qt Designer to executable Python code. pylupdate +scans Python code, extracts all strings that are candidates for +internationalisation, and creates an XML file for use by Qt Linguist. -The homepage of SIP is http://www.riverbankcomputing.co.uk/sip/. +The x11/py-qt3-modules and x11/py-qt3-qscintilla packages provide +more Python modules for Qt. diff --git a/x11/py-qt3-base/Makefile.common b/x11/py-qt3-base/Makefile.common new file mode 100644 index 00000000000..c79b377c7e4 --- /dev/null +++ b/x11/py-qt3-base/Makefile.common @@ -0,0 +1,39 @@ +# $NetBSD: Makefile.common,v 1.1 2005/07/01 01:20:28 reed Exp $ +# + +# XXX: when updating version, be sure to update distinfo for both +# XXX: PyQt-mac-gpl and PyQt-x11-gpl in py-qt3-qscintilla, +# XXX: py-qt3-base, and py-qt3-modules. + +PYQT_VERSION= 3.14.1 +CATEGORIES= x11 python +MASTER_SITES= http://www.river-bank.demon.co.uk/download/PyQt/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.riverbankcomputing.co.uk/pyqt/ + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +DISTNAME= PyQt-mac-gpl-${PYQT_VERSION} +.else +DISTNAME= PyQt-x11-gpl-${PYQT_VERSION} +.endif + +USE_LIBTOOL= yes +USE_TOOLS+= gmake +USE_LANGUAGES= c c++ + +CONFIGURE_ARGS= -b ${PREFIX}/bin +CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB} +CONFIGURE_ARGS+= -v ${PREFIX}/share/sip${PYVERSSUFFIX} + +PYTHON_VERSIONS_ACCEPTED= 24 23 22 21 +PY_PATCHPLIST= yes +PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} + +do-configure: + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ + ${PYTHONBIN} configure.py ${CONFIGURE_ARGS}) + +.include "../../lang/python/extension.mk" diff --git a/x11/py-qt3-base/PLIST.Darwin b/x11/py-qt3-base/PLIST.Darwin new file mode 100644 index 00000000000..259ff953128 --- /dev/null +++ b/x11/py-qt3-base/PLIST.Darwin @@ -0,0 +1,2 @@ +@comment $NetBSD +share/sip${PYVERSSUFFIX}/qt/qwindowdefs_mac.sip diff --git a/x11/py-qt3-base/PLIST.X11 b/x11/py-qt3-base/PLIST.X11 new file mode 100644 index 00000000000..d13561f4a33 --- /dev/null +++ b/x11/py-qt3-base/PLIST.X11 @@ -0,0 +1,3 @@ ++@comment $NetBSD: PLIST.X11,v 1.1 2005/07/01 01:20:28 reed Exp $ +share/sip${PYVERSSUFFIX}/qt/qwindowdefs_qws.sip +share/sip${PYVERSSUFFIX}/qt/qwindowdefs_x11.sip diff --git a/x11/py-qt3-base/PLIST b/x11/py-qt3-base/PLIST.common index 996b86a7e10..b7f48032595 100644 --- a/x11/py-qt3-base/PLIST +++ b/x11/py-qt3-base/PLIST.common @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2005/02/24 20:17:37 drochner Exp $ +@comment $NetBSD: PLIST.common,v 1.1 2005/07/01 01:20:28 reed Exp $ bin/pylupdate${PYVERSSUFFIX} bin/pyuic${PYVERSSUFFIX} ${PYSITELIB}/pyqtconfig.py @@ -176,13 +176,9 @@ share/sip${PYVERSSUFFIX}/qt/qwidgetlist.sip share/sip${PYVERSSUFFIX}/qt/qwidgetstack.sip share/sip${PYVERSSUFFIX}/qt/qwindow.sip share/sip${PYVERSSUFFIX}/qt/qwindowdefs.sip -share/sip${PYVERSSUFFIX}/qt/qwindowdefs_qws.sip -share/sip${PYVERSSUFFIX}/qt/qwindowdefs_x11.sip share/sip${PYVERSSUFFIX}/qt/qwindowsstyle.sip share/sip${PYVERSSUFFIX}/qt/qwindowsxpstyle.sip share/sip${PYVERSSUFFIX}/qt/qwizard.sip share/sip${PYVERSSUFFIX}/qt/qwmatrix.sip share/sip${PYVERSSUFFIX}/qt/qworkspace.sip share/sip${PYVERSSUFFIX}/qt/versions.sip -@dirrm share/sip${PYVERSSUFFIX}/qt -@dirrm share/sip${PYVERSSUFFIX} diff --git a/x11/py-qt3-base/PLIST.common_end b/x11/py-qt3-base/PLIST.common_end new file mode 100644 index 00000000000..f44a741fe4c --- /dev/null +++ b/x11/py-qt3-base/PLIST.common_end @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST.common_end,v 1.1 2005/07/01 01:20:28 reed Exp $ +@dirrm share/sip${PYVERSSUFFIX}/qt +@dirrm share/sip${PYVERSSUFFIX} |