Commit graph

33 commits

Author SHA1 Message Date
Raphael Kubo da Costa
a9709471be Update SIP to 4.19.6, PyQt4 to 4.12.1 and PyQt5 to 5.9.2.
Upstream no longer ships the contents of misc/py-qt5-doc, so the port has been
removed.

This is also a requirement for updating the Qt5 ports, as the PyQt5 version
currently in the tree has license conflicts with later Qt versions.

Big thanks to tcberner for doing most of the work here, and antoine for the
exp-run.

PR:		224739
2018-01-02 20:21:34 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Matthew Rezny
b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Kurt Jaeger
942ca95103 devel/py-qt4-core cleanups in py-qt4-*
- Cleanup work on the py-qt4 ports, leading to a reduced runtime footprint.

PR:		209283
Submitted by:	groot@kde.org (kde), rakuco
2016-05-28 12:32:21 +00:00
Mathieu Arnold
72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00
Raphael Kubo da Costa
31469ae565 PyQt: Replace bsd.pyqt.mk with Uses/pyqt.mk.
In preparation for landing PyQt5 ports, generalize devel/py-qt4's
bsd.pyqt.mk and make it a proper file in Uses/.

Ports wishing to depend on PyQt4 ports can now do the following:
  USES=		pyqt:4
  USE_PYQT=	foo bar_build baz_run

Other changes include the renaming of the PYQT4_DIST variable to PYQT_DIST
and the introduction of the PYQT_SIPDIR plist substitution variable. The
rest of the contents of Uses/pyqt.mk are pretty much identical to what we
had in bsd.pyqt.mk with additional processing of USE_PYQT.

Even though this patch touches files in many different ports, the goal is
for it to be a no-op from an end-user perspective (so that the basic
infrastructure is landed before the other, riskier changes): no dependencies
have been changed, PyQt/SIP/QScintilla have not been upgraded and the plists
should remain exactly the same, since PYQT_SIPDIR currently contains the
same value that used to be hardcoded in the plists.

Huge thanks to Guido Falsi (madpilot@) for spearheading most of the work: he
took the initiative to work on PyQt5 and sent D2910 to Phabricator with the
original version of this patch. Tobias Berner (tcberner@gmail.com) later
applied it to kde@'s experimental area51 repositories and did some more work
on it.
2015-12-08 16:49:43 +00:00
Raphael Kubo da Costa
e3dad0e904 Update PyQt and its dependencies.
* PyQt4 has been updated to 4.11.3.
* QScintilla has been updated to 2.8.4.
* SIP has been updated to 4.16.5.

This update is much smaller than the previous one, as there has been no
further need for clean ups in the ports infrastructure.

Pretty much the entire patch set has been originally contributed by Tobias
Berner, who sent it to the KDE on FreeBSD mailing list. Thanks a lot!

PR:		198016
Submitted by:	Tobias Berner <tcberner@gmail.com>
2015-03-04 23:20:47 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Raphael Kubo da Costa
c3f9087c48 Update PyQt to 4.11.1, QScintilla to 2.8.3 and SIP to 4.16.2.
... And bump PORTREVISION on ports that depend on devel/qscintilla2 due to
the shlib version change.

This is brought to you by the KDE on FreeBSD team. Besides updating to newer
upstream releases, this commit also contains a lot of under-the-hood changes
to the PyQt/QScintilla/SIP ports. Their Makefiles had accumulated a lot of
cruft over time, so it was time for some summer cleaning:

- General, belated changes:
  * Use OPTIONS helpers wherever possible, stop including
    <bsd.port.options.mk> when not necessary, stop checking for
    ${PORT_OPTIONS:MDOCS} and ${PORT_OPTIONS:MEXAMPLES} when not necessary,
    add options such as DOCS and/or DEBUG where they were only checked for.

- QScintilla ports:
  * Drop the API option from py-qt4-qscintilla2. It had been broken ever
    since staging support was added, and its existence does not make much
    sense: QScintilla is a hard dependency regardless of the state of this
    option anyway, they all come from the same tarball and the configuration
    script assumes the .api file will always be installed.

- PyQt ports:
  * The configure.py patch shared by all PyQt ports has been trimmed down to
    the minimum. Changes for Qt3 compatibility or for things that are just
    not needed anymore have been removed.

  * Several post-configure targets in the PyQt ports have been removed, as
    they had no effect on the way the ports were built whatsoever.

  * In some cases, instead of calling Python's py_compile.py on `ls *.py
    */*.py */*/*.py` to generate .pyc and .pyo files, we just call
    compileall.py, which is made for this kind of task.

  * The patch + sed hack to build py-qt4-dbussupport has been replaced by
    only extracting the dbus/ directory for that port and excluding it from
    all others.

  * Move the bulk of the code in all Makefiles to bsd.pyqt.mk, like the
    non-Python Qt ports do with bsd.qt.mk and the QT_DIST variable. A large
    portion of all PyQt Makefiles were very similar and contained a lot of
    boilerplate code that can be shared among all of them since they all
    come from the same tarball. bsd.pyqt.mk now has a PYQT4_DIST variable
    that, when set, automatically sets several common variables and the
    do-configure target for a port. This allows us to considerably reduce
    the size of all the py-qt4-* Makefiles.

  * To make the above possible and also to allow us to use as many OPTIONS
    helpers as possible, the ARGS variable is now called CONFIGURE_ARGS.
    That's what it was used for anyway.

PR:		191990
2014-07-23 19:53:11 +00:00
Baptiste Daroussin
ce21d8d964 Convert to new LIB_DEPENDS
With hat:	portmgr
2014-07-13 16:59:42 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Raphael Kubo da Costa
d6119cb107 Update SIP to 4.15.2 and PyQt to 4.10.3.
This commit also adds proper staging support to all the ports being updated.

In collaboration with Schaich Alonso <alonsoschaich@fastmail.fm> and
Tomasz Kowalczyk <kowalczfbsd@gmail.com>.
2013-10-15 21:52:33 +00:00
Baptiste Daroussin
db5320be85 Add NO_STAGE all over the place in preparation for the staging support (cat: x11) 2013-09-20 23:43:19 +00:00
Max Brazhnikov
481aa3dd68 KDE/FreeBSD team presents:
SIP 4.14.3
 QScintilla 2.7
 PyQt 4.9.6

The area51 repository features commits by jhale and myself.

Changes:
- Trim Makefile header
- Convert to new option framework
2013-02-03 18:16:07 +00:00
Max Brazhnikov
99b882c241 Merge changes from area51 repository (SVN commit 8197 by avilla):
- Remove SIPFILES option, some ports (e.g., pykde4) require the files
  to be installed.
- Remove DEBUG and TRACING options, and merge them under WITH_DEBUG.
2012-06-09 00:41:21 +00:00
Martin Wilke
9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Max Brazhnikov
359fcf18da KDE/FreeBSD team presents update for PyQt ports:
- sip to 4.13.2
 - PyQt4 to 4.9.1
 - QScintilla to 2.6.1
2012-05-25 01:49:08 +00:00
Alberto Villa
cd3fe9e9f2 - Pet Tinderbox and friends.
OPTIONSFILE must be set using ?= to allow overriding.

PR:		163743
PR:		163744
PR:		163745
PR:		163746
Submitted by:	A.J. Kehoe IV (Nanoman) <vOo4vyPj@nanoman.ca>
2012-01-24 23:40:21 +00:00
Alberto Villa
de066f788c - Update PyQt4 to 4.8.5.
- Update SIP to 4.12.4.
- Use common DISTINFO_FILEs.
2011-10-16 22:50:48 +00:00
Dima Panov
8406d1f1d4 - The FreeBSD KDE team is pleased to announce SIP-4.10.2, PyQt-4.7.3
and QScintilla-2.4.3 for FreeBSD.

With hat on:	kde@
2010-05-11 10:43:10 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Max Brazhnikov
2d8b5de9c8 Update PyQt4 ports to 4.4.4, new ports:
devel/py-qt4-help
multimedia/py-qt4-phonon
textproc/py-qt4-xmlpatterns
www/py-qt4-webkit

Update QScintilla2 to 2.3.2, PyQt3 to 3.17.6, PyKDE3 to 3.16.2.

Pass maintainership to kde@FreeBSD.org. Thanks Danny Ricin for his great work.

PR:		based on ports/130219
Submitted by:	Dima Panov" <fluffy at fluffy.khv.ru>
2009-02-14 22:58:55 +00:00
Martin Wilke
38661f2e32 The first iteration of the py-qt4-* ports had a snapshot date as its
PORTVERSION. After that the PORTVERSION became 4.foo. Because this is
numerically lower than before, the PORTEPOCH should have been bumped.

Poked by:	kris@

PR:		125814
Submitted by:	Danny Pansters <danny@ricin.com> (maintainer)
2008-07-25 22:24:16 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Martin Wilke
ebdd0ffc0a - Fix maintainer
Approved by:	maintainer implicit
2008-04-29 13:14:00 +00:00
Martin Wilke
6b2bffe139 - Update to 4.3.3
- Configure.py now has a flag to specify component, patch is now simpler
- Update qscintilla2 so version where used
- Use bsd.pyqt.mk

Submitted by:	Danny Pansters <danny@ricin.com> (maintainer via private mail)
2008-03-20 12:40:00 +00:00
Martin Wilke
5d6ad60da0 - Update to 4.3.1
Submitted by:	Danny Pansters <danny@ricin.com> (maintainer)
2007-10-02 09:58:36 +00:00
Martin Wilke
71fee7a28f - Update to PyQt-4.3
Submitted by:	Danny Pansters <danny@ricin.com> (maintainer via privat mail)
2007-09-13 18:15:58 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Martin Wilke
4b7aacbb0c - Update to 4.2
Submitted by:	Danny Pansters <danny@ricin.com> (maintainer via privat mail)
2007-04-17 20:12:59 +00:00
Martin Wilke
f608f3dfac PyQt4 is a set of Python bindings for Trolltech's Qt4 application framework.
This package provides the QtOpenGL module.

WWW: http://www.riverbankcomputing.co.uk/pyqt/

PR:		ports/109628
Submitted by:	Danny Pansters <danny at ricin.com>
2007-03-27 10:06:47 +00:00