Commit graph

28 commits

Author SHA1 Message Date
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
Tobias C. Berner
aa9ba55255 Update py-sip to 4.19.2, py-qt4 to 4.12 and py-qt5 to 5.7.1
* This is mostly based on the work by Adriaan de Groot <groot@kde.org> in our development repo.

PR:		217305
PR:		218539
Submitted by:	Adriaan de Groot <groot@kde.org>
Reviewed by:	rakuco, mat
Approved by:	rakuco (mentor)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D9771
2017-04-30 10:07:23 +00:00
Raphael Kubo da Costa
b15d595457 Update PyQt4 to 4.11.4, SIP to 4.17 and QScintilla2 to 2.9.1.
Bring in some long overdue updates, some of which are required for us to
later land the PyQt5 ports.

One big change with this update is that the PyQt4 ports now install their
.sip files into share/py-sip/PyQt4 instead of share/py-sip. This way we do
not end up with directories like share/py-sip/QtCore, which are especially
confusing once PyQt5 lands and starts installing files with the same names.

Other noteworthy items:
- PORTREVISION has been bumped on ports depending on devel/qscintilla2
  because libqscintilla2.so's SOVERSION has changed.
- graphics/seexpr has been converted to USE_PYQT, as the file it used to
  define a build-time dependency on x11-toolkits/py-qt4-gui has moved.

Once again, big thanks to Tobias Berner <tcberner@gmail.com> and Guido Falsi
(madpilot@) for their initial work on these ports as part of the effort to
land PyQt5 into the tree (see D2910 in Phabricator for an earlier version of
the PyQt5 patch set).

PR:		205143
2015-12-13 12:45:25 +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
Baptiste Daroussin
45858fb087 Cleanup plist 2014-12-09 13:36:34 +00:00
Alonso Schaich
c05e144deb Replace USE_PYTHON* by USES=python.
This commit consists of area51's r10314 and r10356 patchsets.

Approved by:	rakuco (mentor)
2014-10-05 18:25:00 +00:00
Max Brazhnikov
c0ea5967c4 misc/py-qt4-doc:
- Use plist instead of PORTDOCS, otherwise the package is bogus when
  NOPORTDOCS is set
2014-02-13 14:25:02 +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
ffc964c93f Properly support staging after r330463.
Submitted by:	antoine@
2013-10-17 19:22:58 +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
8ac99398e2 Add NO_STAGE all over the place in preparation for the staging support (cat: misc) 2013-09-20 20:50:57 +00:00
Raphael Kubo da Costa
01cc83b20f Update the PyQt ports.
- SIP has been upgraded to 4.14.7.
- PyQt4 has been upgraded to 4.10.2.
- QScintilla2 has been upgraded to 2.7.2.
2013-06-21 19:13:05 +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
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
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
Alberto Villa
59e8197604 - Update SIP to 4.12.1.
- Update PyQt4 to 4.8.3.
- Update QScintilla2 to 2.4.6.
2011-03-25 10:06:51 +00:00
Max Brazhnikov
43a46c6993 KDE FreeBSD team is glad to present Qt 4.7.1 in ports.
Along with Qt4 the following ports are updated:

PyQt4 ports to 4.8.1
devel/py-sip to 4.11.2
devel/qscintilla2 to 2.4.5
PyKDE3 to 3.16.7
PyQt3 tp 3.18.2-snapshot-20091119

New ports added:
devel/qt4-declarative
devel/py-qt4-declarative
x11/qt4-graphicssystems-opengl

This release has been contributed by:
Thomas Abthorpe (tabthorpe)
Max Brazhnikov (makc)
Dima Panov (fluffy)
Alberto Villa (avilla)

We'd like to thank Martin Wilke (miwi) for exp-run.
2010-12-02 19:47:17 +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
Dima Panov
afb550e3cf The KDE FreeBSD team is proud to announce the release of SIP-4.10 and
PyQt-4.7 for FreeBSD. The official update notes can be found at
http://www.riverbankcomputing.com

We'd like to say thanks to all helpers, testers and submitters.
2010-01-30 14:27:27 +00:00
Martin Wilke
c359376791 - Update py-qt4* to 4.6.2
- Update py-sip to 4.9.3

The KDE FreeBSD team would like to say thanks to all the helpers
and submitters.

Tested by:	pointyhat-exp-run (myself)
2009-11-27 00:10:51 +00:00
Martin Wilke
f037f3f08c - Update py-qt4 to py-qt4.5.4
- Update qscintilla-2* to 2.4
- Update py-sip to 4.8.2
- Update py-kde to 1.16.3
- Update py-qt to 1.18.1

The KDE FreeBSD team would like to say thanks to all the helpers
and submitters

New Port:
devel/py-qt4-scripttools
2009-08-04 19:18:49 +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
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
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
9045d6e974 PyQt4 is a set of Python bindings for Trolltech's Qt4 application framework.
This package provides the PyQt4 documentation.

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

PR:		ports/109633
Submitted by:	Danny Pansters <danny at ricin.com>
2007-03-27 09:56:50 +00:00