Commit Graph
39 Commits
Author SHA1 Message Date
Samuel John c2eef84bed pyqt: Generate PyQt4.pyqtconfig
This is no longer generated by the new (recommended) configure-ng.py but
some older projects (like PyQWT) still need that file, so we first
run configure.py and copy over the generated pyqtconfig.py manually.
Then, we normally run and build with configure-ng.py.

Fixes #21984
2013-09-04 10:48:55 +02:00
Michka Popoff 626c28ebf7 Pyqt 4.10.3
Closes #22084.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-23 21:30:46 -07:00
Samuel John adec638d86 pyqt: Use the new configure-ng and improve python2/3
Improve handling of conflicting files (between 2.x and 3.x).
If only installing for one of these two versions, there is no conflict
to handle.

Update the test code to work with both python versions.

Indentation fix.
2013-08-08 12:22:49 +02:00
Michka Popoff e9b95c57f9 PyQt: 4.10.2
Closes #21276.

Signed-off-by: Samuel John <github@SamuelJohn.de>
2013-07-17 17:00:56 +02:00
Samuel John ee85be5c6f PyQt: Getting sip dependency right 2013-06-05 15:00:41 +02:00
Samuel John 7c9dca49b4 PyQt: brew test automatically quits after 2.5 sec.
Blocking tests are bad for brew-test-bot.
2013-06-05 10:26:57 +02:00
Samuel John 0b50110107 Python 2.x and 3.x support
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.

To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.

The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:

python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.

Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.

python do
  system python, 'setup.py', "--prefix=#{prefix}"
end

Read more in the Homebrew wiki.
2013-06-03 17:29:43 +02:00
Jack Nagel 09954c8686 pyqt 4.10.1 2013-05-18 18:19:53 -05:00
Jack Nagel 0c4cd6ccf1 pyqt: use test DSL 2013-02-01 23:38:54 -06:00
Jack Nagel c516d2744b pyqt: update tarball location
Fixes #15060.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-23 16:13:10 -05:00
Adam Vandenberg eed630cfe4 PyQt 4.9.4 2012-06-28 14:39:00 -07:00
ptrv 138b2e1832 pyqt 4.9.3
Closes #13001.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-06-25 09:28:13 -05:00
Michael Bashkirov d5e01669d2 PyQT 4.9.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-23 10:09:46 -07:00
Jack Nagel 387cbf0463 pyqt: clean up test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-05 16:43:34 -05:00
Yann N. Dauphin a663e9c5f5 PyQT: Use correct PYTHONPATH during install
Closes #10825.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-03-09 14:03:22 -08:00
samueljohn 2bf9bba72b sip & pyqt: Now use lib/pythonX.Y/site-packages
Benefit: For brewed Python, adding stuff to the PYTHONPATH is no longer needed.
For other Pythons nothing changes but the X.Y part in the path. Oh, and you
only need to edit your PYTHONPATH once.

- Added a method to get the major.minor version number from the current python
- Updated the caveats to reflect the new path

Fixes #8182.
Closes #10051.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-02-16 00:03:07 -08:00
Nibbles 2bits ae15e31bcb pyqt 4.9.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-12 18:21:40 -08:00
Jussi Sarkkinen 042cf7a224 PyQt: Update to 4.9
Restores compatibility with Qt 4.8.x. Also upgrades SIP to 4.13.1.

Fixes #9225.
Closes #9249.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-12-23 12:55:54 -08:00
dannenberg bd5dee3491 PyQt 4.8.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-10-30 09:33:25 -07:00
Ben 02c7f00c99 PyQT 4.8.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-04 08:16:16 -07:00
Ches Martin f3d4f9ca09 Update PyQt to 4.8.4, sip 4.12.2
PyQt 4.8.4 has just been released, and apparently they can't be
bothered to keep the previous tarball in place...

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-05 06:43:06 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Charlie Sharpsteen 0cceae6cf4 Bump PyQt to 4.8.3 and SIP to 4.12.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-06 11:51:17 -08:00
Adam Vandenberg 855fbaa6fa PyQt 4.8.2 2010-12-27 08:44:41 -08:00
Adam Vandenberg 78e0299907 PyQt 4.8.1 2010-11-08 08:47:06 -08:00
Adam Vandenberg d89bcba4ef pyqt - add test 2010-10-26 09:35:50 -07:00
Christopher 3f16d53109 sip - removed check for Framework Python
removed the apparently unnecesary check for a framework build of python from
the sip build and stopped using system python for sip and pyqt

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-26 09:35:49 -07:00
Emmanuel Blot b5dc6e3bf0 Update SIP and PyQt to the latest versions released on October 22nd, '10
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-24 17:30:04 -07:00
Charlie Sharpsteen 3d7c11ac0e Bump PyQt version number to 4.7.7
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-12 07:09:46 -07:00
Charlie Sharpsteen 61520b2a24 Updated PyQT from version 4.7.4 to 4.7.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-13 08:40:42 -07:00
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Adam Vandenberg a4f408180a Fix PYTHONPATH in PyQT - Fixes #1885 2010-07-18 08:38:16 -07:00
Adam Vandenberg 49d167def5 Bump versions of pyqt and sip 2010-07-13 14:07:54 -07:00
Adam Vandenberg 24b321a839 Update PyQT. Fixes #1382. 2010-05-26 13:25:23 -07:00
Adam Vandenberg 59fe4efca4 Update PyQt download. 2010-05-10 11:15:21 -07:00
Markus Heberling 27e8a42621 updated pyqt to 4.7
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-13 16:46:28 -08:00
Travis Cline 9f8ea8ded4 updated url in pyqt formula 2010-01-14 10:00:18 +00:00
Max Howell 82ec431d3c Install into Homebrew prefix
This is the problem with doing our own Python stuff. But easy_install doesn't
work great. The solution is probably jezdez's pip formula.
2009-11-07 18:22:34 +00:00
Russ e2293bddfe PyQt 2009-11-07 18:22:34 +00:00