Commit graph

18 commits

Author SHA1 Message Date
hasso
b665c2c6e6 Make it really build - remove whitespace from the end of the lines. 2009-07-04 18:27:55 +00:00
abs
7c47ec6f99 Fix PLIST - add missing QtScriptTools entries 2009-07-03 13:35:12 +00:00
wiz
4424ec6b33 Hack around the -fPIC compilation problem on amd64 by sed(1)ing
-fPIC in the necessary Makefiles.
2009-06-30 15:33:06 +00:00
hasso
00093eba18 Update to 4.5.1. Changes since 4.5:
* Only convert exact dicts to a QVariantMap and back and not dict
  sub-classes.
* Removed an assertion when building dynamic meta-objects, instead just
  ignore the attribute if it doesn't have the expected type.
* Fixed the handling of QWizard by pyuic.
* Changed the SIP dependency to v4.8.1 (not necessary but we don't want it
  to survive in the wild).
* Changed the roadmap to show how incompatible APIs will be selected.
* Fixed __str__ for QByteArray for Python v3 so it is consistent with
  Python v2.
* Reverted the roadmap change about __hash__ being an incompatibile change.
  The issue isn't that the hash function has changed (which isn't considered
  a compatibility problem) it's that different objects that previously had a
  different hash value (based on their id()) now might have the same hash
  value.
* Updated the roadmap to show that the __hash__ additions (including QUrl)
  are not now considered incompatible changes.
* Removed the Python v3 buffer protocol support for QString.
* Improved the implementation of the Python v3 buffer protocol for QByteArray.
* Fixed a pyuic problem with Python v3 when setting the tab order.
* Added /Transfer/ to QComboBox.setLineEdit().
* Added /KeepReference/ to setValidator() and setCompleter() for QLineEdit
  and QComboBox.
* Added the missing setCoordinateMode() and coordinateMode() methods from
  QGradient.
2009-06-17 07:57:49 +00:00
joerg
843a1e6099 Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
hasso
069b1fb73d Update to 4.5. Major new features are:
* support for Python v3
* support for Qt v4.5.1
* added the QInputContextFactory class
* a new, more Pythonic, API has been added for connecting signals and slots
  which does not require knowledge of C++ data types
* new signals can now be defined using pyqtSignal as a more Pythonic
  replacement of the __pyqtSignals__ class attribute.
* added the pyqtSlot decorator as a more Pythonic replacement of the
  pyqtSignature decorator
* the "type" argument to pyqtProperty() can also be a Python type object
* the "type" argument to Q_ARG() can also be a Python type object
* the "type" argument to Q_RETURN_ARG() can also be a Python type object
* added QT_TR_NOOP_UTF8()
* super() works without restrictions
* replaced the old qtdemo example launcher with a port of the newer version
* added the editabletreemodel.py and fetchmore.py examples
* replaced the old tutorial with the newer Address Book tutorial.
2009-06-13 12:15:42 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
0d0e90a320 Include pyversion.mk include the protected part of the buildlink3.mk
files, not over and over again.
2009-03-20 17:30:09 +00:00
epg
73004cfcd6 Needs INSTALL_ROOT=${DESTDIR:Q} in make install environment, just like
qt4-libs, for proper destdir build (this is how I missed the file wiz added to
PLIST; destdir build was slightly broken).
2009-02-13 02:05:26 +00:00
drochner
4ba2de4423 don't include pyversion.mk directly - this breaks Python version
propagation if the pkg is required by another one
(use extension.mk instead)
2009-02-11 17:56:48 +00:00
wiz
be094f739c For Python versions < 2.5, elementtree is included -- add it to PLIST.
Reported by Hasso Tepper.
2008-12-23 22:22:16 +00:00
hasso
9671a6d812 Python-2.3 isn't OK because it isn't OK for sysutils/py-dbus. 2008-12-16 06:44:43 +00:00
wiz
c3761918f8 Add buildlink3.mk file. 2008-12-14 16:19:40 +00:00
wiz
f2fb3ae3ac Add py-elementtree dependency, used by
/usr/pkg/lib/python2.5/site-packages/PyQt4/uic/uiparser.py via
PyQt4.elementtree.ElementTree.

Bump PKGREVISION.
2008-12-13 12:45:26 +00:00
wiz
9f4ab4bbe9 Add missing file to PLIST. 2008-12-13 12:31:53 +00:00
epg
933585fce1 Remove qt3 stale references. 2008-12-13 05:48:56 +00:00
epg
745f7e502d Remove XXX comment about something I worked around (in patch-aa). 2008-12-13 05:20:04 +00:00
epg
d6cf415e9e Import py-qt4-4.4.4 (packaged by wiz, minor tweaks by me).
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.

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 x11/py-qt3-modules and x11/py-qt3-qscintilla packages provide
more Python modules for Qt.
2008-12-13 05:19:12 +00:00