Commit graph

73 commits

Author SHA1 Message Date
drochner
8adf403239 pass the MAKE_ENV to distutils builds 2002-09-04 14:28:37 +00:00
drochner
e9e73293b9 make the automatic Python version derivation work with non-numeric
version number components
2002-09-03 18:14:19 +00:00
drochner
6ef414aee4 teach it about python21-pth 2002-08-20 20:00:14 +00:00
wiz
75e10923ba echo -> ${ECHO} 2002-07-14 13:05:23 +00:00
drochner
4b0045a0dc update for new distfiles 2002-04-15 12:29:14 +00:00
drochner
1175e03cbf force an error if no usable Python version is found 2002-02-02 13:26:01 +00:00
drochner
44049efd3d don't error it distutils are not present 2002-01-29 19:22:26 +00:00
drochner
3314235ba8 tell it about Python-1.5 2002-01-29 19:21:58 +00:00
drochner
493d9526b1 remove the old python-2.x pkg, this is superseded by the new framework 2002-01-29 12:37:46 +00:00
drochner
d438ed2457 not needed anymore 2002-01-29 12:13:40 +00:00
drochner
b165e0fea4 collect definition for stuff built from the Python source distribution
(ie Python itself and various modules which depend on additional libs
- eg ncurses and gdbm) in one place
2002-01-28 09:04:07 +00:00
drochner
3a9ac7a920 nuke the USE_PYPKGPREFIX option - simply require that a pkg using
extension.buildlink.mk also uses PYPKGPREFIX
2002-01-22 18:01:41 +00:00
drochner
a23b4940ea some changes for scripts which get run during build:
-rearrange sed call so that an execute permission doesn't get lost
-correct python path earlier (post-patch)
2002-01-19 13:39:58 +00:00
drochner
ec37856b78 add an option to get a BUILD_DEPENDS only 2002-01-19 12:54:52 +00:00
drochner
1a451cf9b8 do the script patching pre-install rather than post-build,
to make it work is NO_BUILD is set
2002-01-18 14:16:19 +00:00
drochner
2777c8ce61 use "-f" flag do "mv" 2002-01-18 11:00:56 +00:00
drochner
4969adf8b7 add a conflict with python20-* for the time remaining
(when all dependant pkgs are verified to work with
the new Python packages, this one will be removed)
2002-01-17 13:49:01 +00:00
drochner
cd753db2fb add a rule to patch #!/the/right/path/to/python into the first line
of scripts
2002-01-17 11:17:54 +00:00
drochner
5625a5fa1d define a PYVERSSUFFIX (major.minor) and use it to define PYTHONBIN
add some comments
2002-01-17 11:06:42 +00:00
drochner
a7fe940345 allow to override the python minor versions 2002-01-16 20:09:08 +00:00
drochner
3a04e0665f update for new location of the Python-2.0 pkg 2002-01-16 18:45:09 +00:00
drochner
4390765356 add a buildlink-style file for use by applications (ie programs which
don't install into the version dependant Python library subdir)
2002-01-15 17:23:24 +00:00
drochner
b282256692 -derive the required Python version from the package prefix (pyXX->XX)
if possible
-set a variable PYLIB to the path to the standard Python library
2002-01-15 17:21:25 +00:00
drochner
654df296a8 -protect against multiple inclusion
-know about Python-2.2
-add a way to override the version selection by a variable
 "PYTHON_VERSION_REQD"
2002-01-15 17:18:01 +00:00
drochner
74c274b5a6 split out the python version logics into a separate file, for use by
other buildlink-style files
2002-01-10 20:44:16 +00:00
jmc
43fe295068 remove powerpc from IGNORE list on dynamic loading 2001-12-07 19:47:13 +00:00
zuntum
98cf373d36 Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
drochner
c5f1eacc36 use PLIST_SUBST instead of sed, as suggested by Thomas Klausner 2001-10-29 16:34:40 +00:00
jmc
0a0600ae1f Don't execute the \!= vars unless $PYTHONBIN exists. 2001-10-29 05:45:09 +00:00
wiz
088991d00f Remove some debugging stuff. Noted by D'Arcy J.M. Cain. 2001-10-19 14:24:51 +00:00
drochner
91baa3c0ae first cut on a buildlink.mk like structure which can deal with multiple
Python versions, to replace the bsd.python.mk eventually
2001-09-25 17:36:44 +00:00
drochner
43d56d5352 update to 2.0.1 (bugfix release)
What's Fixed in Python 2.0.1
============================

- A few references to Python 2.1 in the LICENSE were changed to 2.0.1.

- Bogus indentation in Lib/statcache.py was fixed.

- A few small nits in the documentation were fixed and the new license
  was included there.

What's Fixed in Python 2.0.1c1
==============================

Critical Patches (from MoinMoin)

- Core dumps in _tkinter

Fixes to bugs reported on SourceForge

Bugs with an ID below 200000 can be found at
http://sourceforge.net/bugs/?func=detailbug&bug_id=<id>&group_id=5470

More recent bugs are accessed as
http://sourceforge.net/tracker/index.php?func=detail&aid=<id>&group_id=5470&atid=105470

- Brought SRE up to date with Python 2.1

- #117278, #117167: _tkinter

- #116172, curses module fails to build on SGI, _curses

- Patch #103485, compile on NetBSD

- Rename lines to nlines, macro sometimes defined in term.h

- Patch #130117: add a prototype required to compile cleanly on IRIX

- In Lib/locale.py, setlocale emulation, use != and not is not to compare
  strings

- #409651 - in Lib/fnmatch.py, make \ in a character group work

- #119622:  compile errors due to redundant atof decls. Removed from
  Python/compile.c and Python/marshal.c

- #121965 -- fixing containment in xrange() objects

- #126161 #123634 -- pickle.py, cPickle.c -- fix pickling unicode strings
  this is *backwards incompatible* with older pickles containing unicode
  strings -- but this has to be done, the previous pickling scheme broke
  anyway.

- complex() could segfault on numeric types with NULL for float conversion.
  Fixed.

- Fixed #407504 -- closing pwd and grp database when finished.

- Fixed memory leak in from import ...

- Importing should now be safe with multiple Py_Initialize/Py_Finalize
  sequences.

- Add TELL64() hack #ifdef to FreeBSD, Apple and BSDI

- del func.func_defaults raises a TypeError instead of dumping core

- #121013 - stringobject.c -- "".join(u"this is a test") dumped core

- exceptions.c  - make_class() Added a "goto finally" so that if
  populate_methods() fails, the return status will be -1 (failure)
  instead of 0 (success).

  fini_exceptions(): When decref'ing the static pointers to the
  exception classes, clear out their dictionaries too.  This breaks a
  cycle from class->dict->method->class and allows the classes with
  unbound methods to be reclaimed.  This plugs a large memory leak in a
  common Py_Initialize()/dosomething/Py_Finalize() loop.

- #122162 -- unicodeobject.c --- Fix unicode .split() off-by-one

- Loosely based on patch #103249 -- Fix core dumps in PyUnicode_Count

- #125981 -- socketmodule.c --  closing sockets was not thread-safe.

- Use openssl/*.h to include the OpenSSL header files

- Patch #103636: Allow writing strings containing null bytes to an SSL socket

- #232787 -- Modules/timemodule.c, Python/errors.c, Objects/intobject.c

- posixmodule.c - Add missing prototypes in for SunOS 4.1.4, plug memory leak

- #125891 - posixmodule.c - os.popen2,3 and 4 leaked file objects on Windows.

- #128053 - posixmodule.c - #ifdef for including "tmpfile" in the
            posix_methods[] array was wrong -- should be HAVE_TMPFILE

- #233200 - cPickle did not use Py_BEGIN_ALLOW_THREADS.

- #125452 - shlex.shlex hungs when it encounters a string with an unmatched
            quote

- #119833 - close socket in smtplib if there was an error connecting

- #126863 - getopt long option handling fixed

- #123924 - httplib.py - Windows - using OpenSSL, problem with socket

- atexit.py - mutate list of functions in thread-safe way

- curses.ascii - space (ASCII 32) is now considered whitespace

- #125375 - parsermodule.c - fix parser.tuple2ast() failure on valid parse tree

- mpzmodule.c - make .binary() work on 64-bit system, make it compile with
  Cygwin

- #127718 - '@' were '`' seem to be confused.

- #119862 - getargs.c - patched memory leak

- #128475 - pythonrun.c - In Py_Finalize, don't reset initialized flag
            until after the exit funcs have run

- #128713 - mmapmodule.c -  type(mmap_object) blew up on Linux.

- mmap on windows creates a mapping without a name when tagname isn't
  specified

- #117745 - UserString.py - Fix two typos in __imul__.

- #130306 - statcache.py - full of thread problems.

- Made statcache.forget_dir more portable

- In site.py, the ".pth" code knew about the layout of Python trees on
  unix and windows, but not on the mac. Fixed.

- #121706 - config.c - _PyImport_Inittab: define the exceptions module's init
                       function.

- Update install-sh using version from automake 1.4.

- #12195 - webbrowser.py - there was typo in Mac code

- quopri.py - treat \r as whitespace too

- xmllib.py - Moved clearing of "literal" flag.  The flag is set in setliteral
  which can be called from a start tag handler.  When the corresponding end
  tag is read the flag is cleared.  However, it didn't get cleared when
  the start tag was for an empty element of the type <tag .../>.  This
  modification fixes the problem.

- #117606 - configure.in, configure - use gcc -shared and gcc -fPIC

- #227562 - urllib.py - call URLopener.http_error_default when
                        an invalid 401 request is being handled.

- urllib.py - provide simple recovery/escape from apparent redirect recursion

- #129288 - urllib.py - changing %02x to %02X in quoting

- urllib.py - HTTPS now works with string URLs

- distutils/command/install.py - make .get_outputs() produce a list of unique
                                 filenames

- pyexpat.c - removed memory leaks

- #233253 - distutils/command/build_ext.py - the --define and --undef options
            didn't work, whether specified on the command-line or in setup.cfg.

- distutils/command/build_ext.py - make docstrings raw

- #128930 - distutils/command/build_ext.py - split rpath argument

- #131064, #129584, #127722 - PC/getpathp.c

- asynchat.py - now checking for empty buffer with ==, not "is"

- Lib/xml/sax/xmlreader.py - import the exceptions this module can raise
2001-06-28 13:19:56 +00:00
jlam
95476730fa Add code similar to MESSAGE_SUBST code for "PY_SETUP_SUBST" that
allows setting:

	PY_SETUP_SUBST+=	FOO=${FOO}

and having ${FILESDIR}/Setup.in piped through a sed expression with:

	s!@FOO@!${FOO}!g

This allows python module package Makefiles to specify other things they
would like to substitute besides just @LOCALBASE@ and @X11BASE@.
2001-05-30 04:59:36 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
mrg
9ecea4674c sparc64 does dynamic linking. 2001-03-06 10:03:03 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
drochner
f1cc4228a1 correct MASTER_SITES 2000-12-05 15:04:32 +00:00
drochner
e5d4d33cb2 fix reporting of dynamic linking errors 2000-12-05 15:03:52 +00:00
tsarna
8d33af9883 patchsum 2000-11-11 17:08:52 +00:00
tsarna
fee9207654 Make this work on both ELF and a.out (again) 2000-11-11 17:08:16 +00:00
tsarna
08a0ddac1a First batch of upgrades for Python 2.0:
lang/python             upgraded to 2.0
lang/py-html-docs       upgraded to 2.0
misc/py-readline        upgraded to 2.0
databases/py-gdbm       upgraded to 2.0
x11/py-Tk               upgraded to 2.0
devel/py-curses         upgraded to 2.0
lang/py-extclass        upgraded to 2.2.2 and for Python 2.0
textproc/py-dtml        upgraded to 2.2.2 and for Python 2.0
www/py-zpublisher       upgraded to 2.2.2 and for Python 2.0
print/py-reportlab      upgraded to 1.01 and for Python 2.0

More coming...
2000-10-22 20:01:48 +00:00
wiz
691319fe54 Don't check for libnet (we're not BeOS, after all). Addresses pkg/9005. 2000-09-10 20:59:06 +00:00
wiz
294cda9307 replaced some more commands by their ${COMMAND} counterparts 2000-01-09 01:19:09 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
8149ec2739 Provide a default value for "ZOULARIS" 1999-08-02 10:59:34 +00:00
agc
7bfb5c4758 Add package patch checksum files. 1999-07-09 13:54:06 +00:00
tsarna
8f32c2bbb9 Take a stab at Zoularis support 1999-05-15 17:00:14 +00:00
tsarna
bba9014b68 RCSid and comment on patch. 1999-04-14 05:11:22 +00:00