1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
Commit Graph

114 Commits

Author SHA1 Message Date
Li-Wen Hsu
083b45d5c6 - Update lang/python31 to Python 3.1.1
Submitted by:	wen heping <wenheping AT gmail.com>
2009-08-22 07:22:11 +00:00
Li-Wen Hsu
48d856c3b2 - Add Python 3.1 2009-07-06 20:30:29 +00:00
Martin Wilke
81100672d4 - Update lang/python26 and make Python 2.6.2 to the default Python version
Tested by:	3 pointyhat runs
Thanks to:	pav, gahr, lwhsu, mva, amdmi3
2009-06-08 22:30:55 +00:00
Pav Lucistnik
e2018b5de2 - zope27 was switch to python24, chase here 2009-03-24 09:30:21 +00:00
Martin Wilke
cba7f02fe1 - Update python30 to 3.0.1
Release Changelog:
http://python.org/download/releases/3.0.1/NEWS.txt
2009-03-09 22:52:21 +00:00
Martin Wilke
c95782ae1a - Update to python 2.5.4 and python 2.6.1
Reviewed by:	perky | lwhsu
Tested with:	exp-run via pav
2009-02-16 23:32:02 +00:00
Li-Wen Hsu
af9663a4de - Update py-twisted-* to 8.2.0
- turn devel/py-twisted into a meta port.
- Update USE_TWISTED{,_BUILD,_RUN} in bsd.python.mk:
  * Remove flow, pair, xish, which are deprecated
    (but still update them to latest release in the tree)
  * Remove USE_TWISTED=13 (no port uses this)
  * Fix typos in twisted components _DEPENDS

PR:		ports/130001
Submitted by:	lwhsu
Approved by:	maintainer timeout
2009-01-31 09:53:10 +00:00
Pav Lucistnik
c7b86a78bf - Adjust PYNUMERIC comment 2008-12-12 15:48:05 +00:00
Hye-Shik Chang
b7df3263ee Welcome to the new era of Python 3, with antigravity support!
Update to Python 3.0.
2008-12-04 11:21:22 +00:00
Hye-Shik Chang
3813a5dbe7 Introduce two new versions of Python: 2.6 and 3.0rc1 (finally!)
Python 2.6 will be the next default python version when enough
testings of consumer ports are done.  The new "2to3" program is
renamed to 2to3-2.6 and 2to3-3.0 for each version, respectively.

Repo-copied by:	marcus
2008-10-13 08:23:00 +00:00
Kris Kennaway
54e565eedc Major optimizations for 'make index' and other recursive traversal
targets.

* Use /rescue/sh for index builds instead of /bin/sh, when it exists.
  The former is statically linked and faster to execute, which becomes
  significant when executing it tens of thousands of times.  This
  trick can be used with other recursive targets by passing in
  __MAKE_SHELL.

* Get rid of make variable assignments that use != command invocations
  in the critical path, using several methods:

  - rewriting logic to use shell or make builtins instead of external command executions
  - macroizing commands and executing them in the targets where they
    are needed instead of with every invocation of make
  - precomputing the results of invariant commands in
    bsd.port.subdir.mk and passing them in explicitly to child makes,
    and using this to avoid recalculation in all the children. NB: the
    commands are still run one per top-level subdirectory but this
    does not currently seem to be a major issue.  They could be moved
    further up into the top-level Makefile at the cost of some
    cleanliness.
  - Committers are strongly discouraged from adding further "bare" !=
    assignments to the ports tree, even in their own ports.  One of
    the above strategies should be used to avoid future bloat.

* Rewrite the core 'describe' target to work entirely within a single
  shell process using only builtin commands.  The old version is
  retained as a backup for use on systems older than 603104, which
  does not have the make :u modifier.  This cuts down the number of
  processes executed during the course of a 'make index' by an order
  of magnitude, and we are essentially now amortized to the minimum of
  a single make + sh instance per port, plus whatever commands the
  port makefile itself executes (which are usually unnecessary and
  bogus).

* Less validation of the WWW: target is performed; this can become
  policed at a port level by portlint.  Specifically we look at the
  second word of the first line beginning with "WWW:" in pkg-descr,
  and append "http://" to it unless it already begins with "http://",
  "https://" or "ftp://".  Thanks to dougb for the idea of how to
  extract WWW: using shell builtins.

* Use the "true" shell builtin instead of echo > /dev/null for a
  measurable decrease in CPU use.

* Add a note about dubious escaping strategy in bsd.port.subdir.mk

* Minor change in output of 'make describe': it no longer strips
  trailing CR characters from pkg-descr files with MSDOS CR/LF
  termination.  Instead the makeindex perl script that post-processes
  make describe into the INDEX is tweaked to strip on input.

The bottom line is that on my test hardware INDEX builds are now
faster by more than a factor of 2 and with a reduction in system time
by a factor of 4-8 depending on configuration.
2008-07-19 17:59:41 +00:00
Hye-Shik Chang
724489c253 Update python23 to 2.3.7. 2008-05-30 05:50:03 +00:00
Hye-Shik Chang
7a90a036a7 Update python23 to Python 2.3.6 and python24 to Python 2.4.5. 2008-03-16 10:25:08 +00:00
Hye-Shik Chang
bfb5f6f187 Update to Python 2.5.2. 2008-02-24 13:42:27 +00:00
Hye-Shik Chang
7302e6b360 Don't define PYTHONPATH unless PREFIX != LOCALBASE. This fixes
the massive plist problems introduced by the previous commit.

Reported by:	pav
2007-10-10 07:04:49 +00:00
Hye-Shik Chang
9dfb6158ff - Correct installation paths in plist for PREFIX != LOCALBASE [1]
- Fix typo on comment about SZOPEBASEDIR and ZOPEBASEDIR [2]
- Fix type on Zope 2.10 support [3]
- Add a workaround for package building of ports using easy_install
  on jail environments [4]

PR:		116278 [1], 116428 [2], 116520 [3]
Submitted by:	Marcus von Appen <mva@sysfault.org> [1],
		nakaji [2], Christian Ullrich <chris@chrullrich.net> [3]
Reported by:	sat [4]
2007-10-07 13:50:15 +00:00
Gabor Kovesdan
4c9cd257fd - Extract command variable definitions from bsd.port.mk, they are now stored in
bsd.commands.mk and can be easily reused within the infrastructure.
- Revert old DESTDIR implementation.
- Add a new, fully chrooted DESTDIR implementation as bsd.destdir.mk.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:37:24 +00:00
Pav Lucistnik
c799948280 - Correct typo in comment block 2007-07-30 17:52:58 +00:00
Hye-Shik Chang
06e297a6fa Fix typo in comment. 2007-07-30 12:02:44 +00:00
Alexander Botero-Lowry
4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00
Alexander Botero-Lowry
9aad87b2df - add PYTHON to CONFIGURE_ENV so that ports using auto* for python will be
able to detect it if it's not installed as bin/python

Prodded by:	104560, and others
2007-02-26 07:32:02 +00:00
Xin LI
f523e0e7b2 Update to Python 2.4.4.
Approved by:	maintainer timeout, alexbl (python@)
Tested by:	pointyhat
PR:		ports/105901
2007-02-14 06:07:29 +00:00
Tom McLaughlin
590851c076 Remove python21 and python22 bits now that they are gone.
Approved by:	python@ (alexbl)
2007-01-27 05:47:57 +00:00
Martin Wilke
88b9902bd8 - Fix whitespaces
Approved by:	alexbl
2007-01-17 10:48:02 +00:00
Alexander Botero-Lowry
fca9b4f689 - add a PYTHON_VER variable to bsd.python.mk, this provides a simple x.y
version variable for the Python installation which is to be used when
   making egg filenames instead of using the internal _PYTHON_VERSION
2007-01-17 10:41:48 +00:00
Alexander Botero-Lowry
78266a3a1f - add a PYWSGIREF dependency line since wsgiref is included with 2.5 2006-12-22 05:26:01 +00:00
Alexander Botero-Lowry
261177b8bd - add ${PYHASHLIB} dependency macro to bsd.python.mk 2006-12-13 03:22:22 +00:00
Alexander Botero-Lowry
ad1bbf1835 - Mark devel/py-ctypes IGNORE with Python 2.5 [1]
- add a PYCTYPES dependency macro to bsd.python.mk to unbreak ctypes using
   ports on Python 2.5 [2]
 - Update two of the four ports using ctypes to this macro [3]

PR: 104587 [1]
Submitted by:	Marcus von Appen <mva@sysfault.org> [1]
Approved by:	portmgr (pav, linimon) [2], myself [3]
2006-12-08 21:50:20 +00:00
Alexander Botero-Lowry
56160c3f25 - Add PYNUMPY macro to bsd.python.mk
Ports using Py-Numeric should be aware that it is considered deprecated
     in favor of NumPy.

PR:		105544
Submitted by:	Diane Bruce <db@db.net>
Approved by:	maintainer timeout, python@ (self)
2006-12-08 04:57:49 +00:00
Pav Lucistnik
40421a6b20 - Add support for Zope 2.10
PR:		ports/106001
Submitted by:	HAYASHI Yasushi <yasi@yasi.to>
2006-11-30 13:51:28 +00:00
Hye-Shik Chang
e18b838fd9 Revert the default version of Python to 2.4 for the ports freeze
period.  Python 2.5 brought a vast range of incompatibility to a
large number of ports, so the python@ team will do more basic
compatibility work in a private repository and merge it later.
Sorry for the inconvenience.

Approved by:	portmgr (kris)
2006-10-13 07:16:45 +00:00
Hye-Shik Chang
a109e33441 - Update the main python version to 2.5.
- Now, lang/python is just a meta-port which depends on lang/python25.
  - And all versions of Python ports have short version identifier in its
    package name; python25-2.5, python24-2.4.3 and etc.
  - Also you must upgrade all python modules after lang/python updated,
    cd /usr/ports/lang/python && make upgrade-site-packages

- Give maintainership of Python ports to the new python@ group which
  includes me, alexbl@ and others.
2006-10-09 14:27:26 +00:00
Hye-Shik Chang
6f539d49d4 Whitespace cleanup.
PR:		104021
Submitted by:	edwin
2006-10-08 14:53:49 +00:00
Hye-Shik Chang
2e854e2553 - Update lang/python-devel to Python 2.5c2
- Sync some recent workarounds from lang/python.
2006-09-13 16:26:49 +00:00
Erwin Lansing
50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00
Hye-Shik Chang
ae152aa766 Update python-devel to 2.5b3. 2006-08-04 06:37:06 +00:00
Hye-Shik Chang
635ffb248f Fix to report a correct version number that we use. (2.5b1 -> 2.5.b1) 2006-06-23 03:35:14 +00:00
Hye-Shik Chang
06295f9285 Update python-devel to 2.5b1. 2006-06-23 03:09:16 +00:00
Hye-Shik Chang
328a0ca24f Fence around shell execution variables not to fail abnormally when
Python segfaults.

Reported by:	jeff
2006-06-16 15:43:52 +00:00
Hye-Shik Chang
406f4ff831 Correct zope dependency target for 3.2.
PR:		97151
Submitted by:	Phil Oleson <oz@nixil.net>
2006-06-03 17:38:18 +00:00
Hye-Shik Chang
5c0873479e Update to Python 2.4.3. 2006-03-30 09:40:13 +00:00
Hye-Shik Chang
b243082281 Update to Python trunk snapshot as of 2006-03-26. 2006-03-26 07:58:41 +00:00
Hye-Shik Chang
866d14d514 Add support for Zope 2.9.
Submitted by:	HAYASHI Yasushi <yasi@yasi.to>
2006-01-30 02:37:54 +00:00
Pav Lucistnik
da66f3d247 - Zope 3.1 is now 3.2 2006-01-23 21:14:05 +00:00
Hye-Shik Chang
fd8cf466ba Fix a problem that it fails to detect PYTHON_PLATFORM on versions
without any dot.

Reported by:	kuriyama
2005-12-07 04:23:32 +00:00
Pav Lucistnik
dc33aa59f5 Move instant messaging related ports to newly created net-im category:
net/gaim -> net-im/gaim
  net/gaim-latex -> net-im/gaim-latex
  net/gaim-openq -> net-im/gaim-openq
  net/gaim-rss-reader -> net-im/gaim-rss-reader
  net/gicq -> net-im/gicq
  net/gnomeicu2 -> net-im/gnomeicu2
  net/gossip -> net-im/gossip
  net/ickle -> net-im/ickle
  net/jabber -> net-im/jabber
  net/jabber-aim -> net-im/jabber-aim
  net/jabber-conference -> net-im/jabber-conference
  net/jabber-jud -> net-im/jabber-jud
  net/jabber-msn -> net-im/jabber-msn
  net/jabber-users-agent -> net-im/jabber-users-agent
  net/jabber-yahoo -> net-im/jabber-yahoo
  net/jarl -> net-im/jarl
  net/kf -> net-im/kf
  net/libicq -> net-im/libicq
  net/libicq2000 -> net-im/libicq2000
  net/loudmouth -> net-im/loudmouth
  net/meanwhile -> net-im/meanwhile
  net/meanwhile-gaim -> net-im/meanwhile-gaim
  net/newsbot -> net-im/newsbot
  net/ocaml-jabbr -> net-im/ocaml-jabbr
  net/psi -> net-im/psi
  net/py-jabber -> net-im/py-jabber
  net/py-twistedWords -> net-im/py-twistedWords
  net/p5-Net-Jabber -> net-im/p5-Net-Jabber

Repocopied by:	marcus
2005-11-09 08:21:21 +00:00
Hye-Shik Chang
b380d46ac2 Add new variables for the better Zope support:
- USE_ZOPE now gets USE_PYTHON-like version syntax to use in
   Zope product ports Makefiles to limit range of supported
   Zope versions.
   - "yes" for choosing default (2.7).
   - 2.8+ for 2.8 and any of higher versions.
   - -2.8 in case of the Zope product isn't ready for Zope 3.
   - 2.8-3.1 if the product isn't compatible with Python 2.3.
 - ZOPE_VERSION is to use in command line argument or
   /etc/make.conf.  This accepts one of 2.7 2.8 and 3.1
   currently.

PR:		87476
Requested by:	Filippo Natali <filippo.natali@gmail.com>
2005-11-06 01:28:44 +00:00
Hye-Shik Chang
08a19a2887 - Update to Python 2.4.2. [1]
- Allow to override a command passing to distutils using
  PYDISTUTILS_{CONFIGURE,BUILD,INSTALL}_TARGET [2]
- Allow to specify BUILD/RUN dependency separatedly. [3]
- Replace shell executions with regex replacement on bsd.python.mk. [3]
- Remove thread serialization from socket.getaddrinfo() on FreeBSD 5.3
  and later versions because we've got thread-safe implementation. [4]
- Add a workaround to avoid curses.h problem of FreeBSD base.

PR:		86685 [1]
Submitted by:	Soeren Straarup <xride@x12.dk> [1],
		lioux [2], vsevolod [3], sobomax [4]
Obtained from:	Python CVS [4]
2005-10-02 14:31:39 +00:00
Hye-Shik Chang
ec0aa03843 Update python-devel to 2.5.a0.20050728 snapshot. 2005-07-28 08:29:32 +00:00
Hye-Shik Chang
28e479b650 - Add new bsd.python.mk-side support for Twisted Python.
This brings USE_TWISTED options which works like USE_GNOME
  to python ports. [1]
- Fill comment about USE_ZOPE. [1]
- Fix some mixed usage of tab and space.

PR:		82445 [1]
Submitted by:	Vsevolod Stakhov <vsevolod@highsecure.ru> [1]
2005-07-07 08:10:24 +00:00