150 Commits

Author SHA1 Message Date
Edwin Groothuis
75ab390ea5 [PATCH] lang/python: Some portlint fixes
- Fix tab/space issues

PR:		ports/95779
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
Approved by:	maintainer timeout
2006-05-14 01:17:03 +00:00
Edwin Groothuis
7c6393360c Remove USE_REINPLACE from the categories starting with L 2006-05-09 20:52:24 +00:00
Hye-Shik Chang
5c0873479e Update to Python 2.4.3. 2006-03-30 09:40:13 +00:00
Hye-Shik Chang
332512a476 Add a CONFLICT to lang/python-mode.el. 2005-11-02 13:40:51 +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
b185b497ae Fix fcntl.ioctl argument parsing to accept termios.TIOCGWINSZ.
Submitted by:	jkim
Obtained from:	Python CVS
2005-07-28 06:23:56 +00:00
Hye-Shik Chang
ecd685d3d6 Backport support for FreeBSD 7 and drop support for FreeBSD 3.
Fixes for other versions of python will be followed tomorrow.

Submitted by:	nork
Obtained from:	Python CVS
2005-07-18 12:44:08 +00:00
Hye-Shik Chang
814a29cb2b - Disable "fpectl" base module on non-i386 platforms to fix build
on the recent -CURRENT i386 base. [1]
- Fix package build on NO_NIS base. [2]

PR:		81806 [1]
Submitted by:	Li-Lun Wang (Leland Wang) <llwang@infor.org> [1],
		ache [2]
2005-06-19 11:34:56 +00:00
Hye-Shik Chang
92e02ee037 - Make FPECTL support optional and turn it off by default because
the feature brings huge overheads for floating point arithmetics
  and integer divisions. [1]
- Fix plist
- Bump PORTREVISION

Requested by:	Ewan Todd <ewan@mathcode.net> [1]
2005-05-12 01:49:54 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Hye-Shik Chang
88c5d79c02 Update to Python 2.4.1 2005-04-03 13:55:44 +00:00
Hye-Shik Chang
d19bc113cf Add a patch from PSF-2005-001 which fixes SimpleXMLRPCServer
vulnerability.

PR:		77078
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Security:	CAN-2005-0089
Security:	http://www.vuxml.org/freebsd/6afa87d3-764b-11d9-b0e7-0000e249a0a2.html
Security:	SimpleXMLRPCServer.py allows unrestricted traversal
2005-02-04 04:13:41 +00:00
Hye-Shik Chang
2339b74306 Add new utility target named 'upgrade-site-packages' to upgrade
site-packages which was built on previous version of python.
2004-12-06 05:28:34 +00:00
Hye-Shik Chang
cbee63519e - Update lang/python to 2.4 final release.
- Finish repocopy lang/python -> lang/python23 for Python 2.3.4
2004-12-01 15:04:05 +00:00
FUJISHIMA Satsuki
a787f0b075 farewell to libxpg4. 2004-11-15 05:19:30 +00:00
Hye-Shik Chang
6dbe12234a Fix package build on 4-STABLE.
Submitted by:	kstewart <kstewart@owt.com>
2004-08-21 11:13:41 +00:00
Hye-Shik Chang
d918a1e17c - Add support for FreeBSD 6.
- Remove support for FreeBSD 2.

Spotted by:	marcus, kris
Obtained from:	Python CVS
2004-08-20 23:56:16 +00:00
Hye-Shik Chang
f0c20c8b69 - Allow to disable IPv6 support [1]
- Add checksum for 2.4a2

PR:		69950 [1]
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2004-08-07 07:00:18 +00:00
Hye-Shik Chang
b9a4c8f834 Make PORTREVISION overridable by slave ports.
Found by:	eik's chkversion
2004-07-10 01:53:37 +00:00
Hye-Shik Chang
90c653ebbf Allow to install and use 3rd party packages in X11BASE.
${X11BASE}/lib/{python2.3{,/site-packages},site-python} will be
added to your python's sys.path if each directory exists.

Suggested by:	marcus
2004-07-09 17:18:00 +00:00
Hye-Shik Chang
3babc490d7 Fix comment.
Submitted by:	fjoe
2004-06-28 06:02:39 +00:00
Hye-Shik Chang
7866c5194c - Update to Python 2.3.4.
- Test WITHOUT_* instead of WITH_* for values which are on by default
  so that package build clusters detect correctly.
2004-05-27 15:58:02 +00:00
Hye-Shik Chang
cd74272ff9 Use OPTIONS.
Submitted by:	Stephane E. Potvin <sepotvin@videotron.ca>
2004-05-07 05:39:33 +00:00
Hye-Shik Chang
1a830c3a8c Reduce configure warning.
PR:		55180 [1], 65680 [2]
Submitted by:	Rui Lopes <rui@ruilopes.com> [1],
		Roman Neuhauser <neuhauser@chello.cz> [2]
2004-04-18 11:42:37 +00:00
Hye-Shik Chang
9e1cf11978 Fixed a bug where the configure script couldn't detect getaddrinfo()
properly if the KAME stack had SCTP support.

Submitted by:	suz
2004-04-14 06:49:21 +00:00
Hye-Shik Chang
dce05b6781 Fix stackless build broken by the recent shared-build commit.
Submitted by:	Sven Petai <hadara@bsd.ee>
2004-03-22 08:59:52 +00:00
Hye-Shik Chang
2f813973a5 Correct pre-install target to pre-su-install so that the credential
switch happens before directories are created under PREFIX.

Submitted by:	marcel
2004-03-18 07:00:08 +00:00
Hye-Shik Chang
2c1a480460 - Fix installation problem where PREFIX != LOCALBASE.
- Add checksum for Python-2.4.a0.20040311
2004-03-11 15:55:38 +00:00
Hye-Shik Chang
3c031745cd Create a symbolic link to lib/python2.3.so on lib/python2.3/config/
for seamless upgrade from a static library.

Suggested by:	dd
2004-03-09 02:24:31 +00:00
Hye-Shik Chang
1ba15b7a7e Build and install a shared library and its frontend besides static one
by default.

[HEADS UP] The python executable and static library isn't built PIC
anymore even on amd64 and ia64. Please use a shared library instead.

Requested by:	jhay, dd
Tested by:	Charles Swiger <cswiger@mac.com>,
		Tim Middleton <x@Vex.Net>
2004-03-08 12:43:11 +00:00
Hye-Shik Chang
ebd4836132 - Update stackless_python to 2.3.3 as of 040225 and unmark BROKEN.
- Set mutually exclusive confliction for {,stackless_}python.
2004-02-27 13:00:06 +00:00
Hye-Shik Chang
1efbe2254e - Add a workaround for the net/straw port installation problem
recently introduced by libpthread. The problem was that waitpid(2)
raised EINTR but python's distutils didn't catch it correctly.
- PORTREVISION is bumped to 2, subsequently.
2004-02-24 08:19:54 +00:00
Marcel Moolenaar
e91938d7ff On ia64, libpython2.3 must be built with -fPIC as well. This unbreaks
KDE (for example).
2004-02-16 19:03:00 +00:00
Hye-Shik Chang
d3a457db41 - Use process scope threads instead of system scope to enable large
amount of threads on -CURRENT libpthread by default. [1]
- Merge bugfixes from python 2.3 maintenance branch: [2]
  o weakref object's garbage collection problem.
  o save unnecessary startup-time memory allocation of 100KB+ from
    intobject.
- SIZEify.
- Bump PORTREVISION subsequently.

Advised by:	eischen, julian [1]
Obtained from:	Python CVS [2]
2004-02-09 09:54:07 +00:00
Hye-Shik Chang
0af36bc41c Fix builds for whom has VPATH on his/her environment variables.
PR:		57731
Reported by:	bms
2003-12-28 13:55:06 +00:00
Hye-Shik Chang
60d09f59f5 - Update to Python-2.3.3
- Pass PYTHON_VERSION variable to dependent builds.
- Enable email package to use cjkcodecs.
- Decrease default recursion limit to 900 on sparc64.
2003-12-20 07:13:43 +00:00
Hye-Shik Chang
f2e9fdbd86 Add fix for a fatal bug in type's GC handling causes segfaults.
http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u

Obtained from:	Python CVS
2003-11-21 03:15:02 +00:00
Hye-Shik Chang
62e80c6399 - Include pyexpat module in python base ports because python incorporated
expat 1.95.6 in its distribution from Python-2.3.
- Bump PORTREVISION subsequently.

Requested by:	Mike Brown <mike@skew.org>
		Jeremy Kloth <jeremy.kloth@fourthought.com>
2003-11-04 18:00:37 +00:00
Hye-Shik Chang
040577c1f7 - Update lang/python-devel to Python-2.4 031022 snapshot.
- Correct USE_ZOPE dependency to Python 2.1. [1]
- Fetch from correct MASTER_SITE_SUBDIR when upgrading python
  in same branch. [2]
- Enable installing separated standard modules for python-devel port.

Reported by:	Filippo Natali <pitonat@libero.it> [1],
		Yoshihiko Sarumaru <mistral@imasy.or.jp> [2]
2003-10-29 21:31:13 +00:00
Maxim Sobolev
75fd45d40b Add missed ossaudiodev.so into pkg-plist (only for x86, since I don't have
access to other arches yet), and enable it on freebsd5 (it's enabled on
freebsd4 OOB).
2003-10-29 20:52:32 +00:00
Hye-Shik Chang
bdb7bf2167 Don't use PYTHON_DISTFILE as well as PYTHON_WRKSRC on lang/python* ports
because it does not point the most recent version of each from
ports/Mk/bsd.python.mk 1.38.

Reported by:	Andy Fawcett <andy@athame.co.uk>
2003-10-21 17:17:45 +00:00
Hye-Shik Chang
16d82beb8e - Add WITHOUT_PYMALLOC knob that disables pymalloc, the internal
optimized heap manager for Python 2.3. [1]
- Utilize PYTHON_SITE_SUBDIR.

Submitted by:	kuriyama [1]
2003-10-19 09:17:44 +00:00
Hye-Shik Chang
d01c77a494 Add alpha to list of 64bit architectures. (This fixes package
building on alpha)

Spotted by:	kris
2003-10-16 05:36:05 +00:00
Hye-Shik Chang
ec722082a1 Update to Python-2.3.2 2003-10-04 05:17:10 +00:00
Hye-Shik Chang
dc8b35d2fb - Install a 'real' shared object when BUILD_SHARED=yes. [1]
- Fix plist on 32bit architectures.
- Bump PORTREVISION.

PR:		57269 [1]
Submitted by:	Tim Middleton <x@Vex.Net> [1],
		Kostik I. Belousov <kostya@tessart.kiev.ua> [1]
2003-09-29 11:44:32 +00:00
Hye-Shik Chang
a121af1f80 - Revive os.fsync function which is disabled by a typo of Python-2.3.1.
- Bump PORTREVISION

Obtained from:	Python CVS
2003-09-26 16:44:13 +00:00
Hye-Shik Chang
a51136bd60 Add notes about separated standard modules. 2003-09-26 04:24:56 +00:00
Hye-Shik Chang
ac5bea6285 - Update to Python-2.3.1, the lastest Bugfix release.
- Disable dlmodule on amd64 and sparc64 because dlmodule isn't designed
  for them.
- Add -fPIC on CFLAGS on amd64 for mod_python3 and other ports using it
  on linking their own dynamic library.
2003-09-24 11:07:22 +00:00
Hye-Shik Chang
9d32a5e594 BUILD_STATIC by default because it's better.
(See http://mail.python.org/pipermail/python-dev/2003-August/037472.html)
2003-08-22 05:31:45 +00:00