pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python24 initial import of Python 2.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42b32655a844
branches:  trunk
changeset: 485317:42b32655a844
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Dec 05 23:27:28 2004 +0000

description:
initial import of Python 2.4

Python is an interpreted, interactive, object-oriented
programming language that combines remarkable power with
very clear syntax. For an introduction to programming in
Python you are referred to the Python Tutorial. The
Python Library Reference documents built-in and standard
types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics
of the core language in (perhaps too) much detail.

Python's basic power can be extended with your own modules
written in C or C++. On most systems such modules may be
dynamically loaded. Python is also adaptable as an exten-
sion language for existing applications. See the internal
documentation for hints.

This package has been compiled without support for threads.

diffstat:

 lang/python24/DESCR            |    16 +
 lang/python24/Makefile         |    10 +
 lang/python24/Makefile.common  |   109 +
 lang/python24/PLIST.Darwin     |   503 +++++++
 lang/python24/PLIST.IRIX       |    66 +
 lang/python24/PLIST.Linux      |    11 +
 lang/python24/PLIST.SunOS      |    17 +
 lang/python24/PLIST.common     |  2836 ++++++++++++++++++++++++++++++++++++++++
 lang/python24/PLIST.common_end |    29 +
 lang/python24/buildlink3.mk    |    27 +
 lang/python24/distinfo         |    17 +
 lang/python24/patches/patch-aa |    26 +
 lang/python24/patches/patch-ab |    22 +
 lang/python24/patches/patch-ac |    13 +
 lang/python24/patches/patch-ad |    31 +
 lang/python24/patches/patch-ae |    18 +
 lang/python24/patches/patch-af |    46 +
 lang/python24/patches/patch-ag |    17 +
 lang/python24/patches/patch-ah |    86 +
 lang/python24/patches/patch-ai |    15 +
 lang/python24/patches/patch-aj |    15 +
 lang/python24/patches/patch-ak |    22 +
 lang/python24/patches/patch-al |    81 +
 lang/python24/patches/patch-am |   268 +++
 24 files changed, 4301 insertions(+), 0 deletions(-)

diffs (truncated from 4397 to 300 lines):

diff -r 702e5c196e98 -r 42b32655a844 lang/python24/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python24/DESCR       Sun Dec 05 23:27:28 2004 +0000
@@ -0,0 +1,16 @@
+Python is an interpreted, interactive, object-oriented
+programming language that combines remarkable power with
+very clear syntax. For an introduction to programming in
+Python you are referred to the Python Tutorial. The
+Python Library Reference documents built-in and standard
+types, constants, functions and modules. Finally, the
+Python Reference Manual describes the syntax and semantics
+of the core language in (perhaps too) much detail.
+
+Python's basic power can be extended with your own modules
+written in C or C++. On most systems such modules may be
+dynamically loaded. Python is also adaptable as an exten-
+sion language for existing applications. See the internal
+documentation for hints.
+
+This package has been compiled without support for threads.
diff -r 702e5c196e98 -r 42b32655a844 lang/python24/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python24/Makefile    Sun Dec 05 23:27:28 2004 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/12/05 23:27:49 recht Exp $
+#
+
+PKGNAME=       python24-2.4
+
+CONFIGURE_ARGS+=       --without-threads
+
+PY_VER_SUFFIX= 2.4
+
+.include "../../lang/python24/Makefile.common"
diff -r 702e5c196e98 -r 42b32655a844 lang/python24/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python24/Makefile.common     Sun Dec 05 23:27:28 2004 +0000
@@ -0,0 +1,109 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2004/12/05 23:27:28 recht Exp $
+#
+
+DISTNAME=      Python-2.4
+CATEGORIES=    lang python
+MASTER_SITES=  ftp://ftp.python.org/pub/python/2.4/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    recht%NetBSD.org@localhost
+HOMEPAGE=      http://www.python.org/
+COMMENT=       Interpreted, interactive, object-oriented programming language
+
+USE_LANGUAGES=         c c++
+USE_BUILDLINK3=                yes
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --enable-shared
+CONFIGURE_ARGS+=       OPT="${CFLAGS}"
+
+# fdatasync()
+LIBS.SunOS=            -lrt
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_SRC=     ${.CURDIR}/../../lang/python24/PLIST.common
+.if exists(${.CURDIR}/../../lang/python24/PLIST.${OPSYS})
+PLIST_SRC+=    ${.CURDIR}/../../lang/python24/PLIST.${OPSYS}
+.endif
+PLIST_SRC+=    ${.CURDIR}/../../lang/python24/PLIST.common_end
+
+.if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix"
+PY_PLATNAME=   ${LOWER_OPSYS}
+.elif ${OPSYS} == "IRIX"
+PY_PLATNAME=   ${LOWER_OPSYS:C/\..*//}
+.elif ${OPSYS} == "SunOS"
+PY_PLATNAME=   sunos${OS_VERSION:C/\..*//}
+.else
+PY_PLATNAME=   ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
+.endif
+PLIST_SUBST+=  PY_PLATNAME=${PY_PLATNAME}
+
+# the dl module isn't built for 64 bit archs and Darwin
+.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" \
+       || ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "x86_64" \
+       || ${OPSYS} == "Darwin" || ( ${OPSYS} == "IRIX" && ${ABI} == "64" )
+PLIST_SUBST+=  DLMODULE="@comment "
+.else
+PLIST_SUBST+=  DLMODULE=
+.endif
+
+EXTRA_SO_SUBST=                "@comment "
+OSSAUDIODEV_SUBST=     "@comment "
+
+# activate extra modules
+.if ${MACHINE_ARCH} == "i386"
+EXTRA_SO_SUBST=
+# ossaudiodev is only available on x86 for the following platforms
+.  if ${PY_PLATNAME} == "linux2" || ${PY_PLATNAME} == "freebsd4" \
+       || ${PY_PLATNAME} == "freebsd5"
+OSSAUDIODEV_SUBST=
+.   endif
+.elif ${OPSYS} == "SunOS" || ( ${OPSYS} == "IRIX" && ${ABI} != "64" ) \
+       || ${OPSYS} == "Darwin"
+EXTRA_SO_SUBST=
+.endif
+
+PLIST_SUBST+=  EXTRA_SO=${EXTRA_SO_SUBST}
+PLIST_SUBST+=  OSSAUDIODEV=${OSSAUDIODEV_SUBST}
+
+# Make sure python modules can link correctly
+.if ${OPSYS} == "Darwin"
+INSTALL_UNSTRIPPED=    yes
+.endif
+
+.if ${OPSYS} == "IRIX"
+.  if ${ABI} == "64"
+PLIST_SUBST+=  NISMODULE="@comment "
+.  else
+PLIST_SUBST+=  NISMODULE=
+.  endif
+PLIST_SUBST+=  BSDDBMODULE="@comment "
+PLIST_SUBST+=  NOSHLIB="@comment "
+.else
+.  include "../../mk/bdb.buildlink3.mk"
+MAKE_ENV+=     PY_BDB_TYPE=${BDB_TYPE}
+MAKE_ENV+=     PY_BDB_INCDIRS=${BDBBASE}/${BUILDLINK_INCDIRS.${BDB_TYPE}}
+MAKE_ENV+=     PY_BDB_LIBDIRS=${BDBBASE}/lib
+PLIST_SUBST+=  BSDDBMODULE=
+PLIST_SUBST+=  NOSHLIB=
+PLIST_SUBST+=  NISMODULE=
+.endif
+
+.if defined(BUILDLINK_TRANSFORM)
+MAKE_ENV+=     PY_BDB_TRANSFORM="${BUILDLINK_TRANSFORM}"
+.endif
+
+PLIST_SUBST+=  PY_VER_SUFFIX=${PY_VER_SUFFIX}
+
+TEST_TARGET=   test
+INSTALL_TARGET=        altinstall
+
+post-extract:
+       ${MV} ${WRKSRC}/Lib/smtpd.py ${WRKSRC}/Lib/smtpd${PY_VER_SUFFIX}.py
+       ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX}
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 702e5c196e98 -r 42b32655a844 lang/python24/PLIST.Darwin
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python24/PLIST.Darwin        Sun Dec 05 23:27:28 2004 +0000
@@ -0,0 +1,503 @@
+lib/python${PY_VER_SUFFIX}/lib-dynload/_CF.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/ColorPicker.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/autoGIL.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/gestalt.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/MacOS.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/OSATerminology.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/icglue.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Res.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Snd.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/Nav.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_AE.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_AH.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_App.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_CarbonEvt.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_CG.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Cm.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Ctl.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Dlg.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Drag.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Evt.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_File.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Folder.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Fm.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Help.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Icn.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_IBCarbon.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Launch.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_List.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Menu.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Mlte.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_OSA.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Qd.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Qdoffs.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Qt.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Scrap.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_TE.so
+lib/python${PY_VER_SUFFIX}/lib-dynload/_Win.so
+lib/python${PY_VER_SUFFIX}/plat-mac/Audio_mac.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Audio_mac.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Audio_mac.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AE.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AE.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AE.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AH.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AH.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AH.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Alias.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Alias.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Alias.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Aliases.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Aliases.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Aliases.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/App.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/App.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/App.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Appearance.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Appearance.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Appearance.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AppleEvents.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AppleEvents.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AppleEvents.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AppleHelp.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AppleHelp.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/AppleHelp.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CF.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CF.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CF.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CG.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CG.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CG.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CarbonEvents.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CarbonEvents.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CarbonEvents.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CarbonEvt.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CarbonEvt.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CarbonEvt.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Cm.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Cm.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Cm.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Components.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Components.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Components.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/ControlAccessor.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/ControlAccessor.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/ControlAccessor.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Controls.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Controls.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Controls.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CoreFoundation.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CoreFoundation.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CoreFoundation.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CoreGraphics.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CoreGraphics.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/CoreGraphics.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Ctl.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Ctl.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Ctl.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Dialogs.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Dialogs.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Dialogs.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Dlg.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Dlg.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Dlg.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Drag.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Drag.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Drag.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Dragconst.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Dragconst.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Dragconst.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Events.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Events.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Events.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Evt.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Evt.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Evt.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/File.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/File.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/File.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Files.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Files.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Files.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Fm.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Fm.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Fm.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Folder.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Folder.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Folder.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Folders.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Folders.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Folders.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Fonts.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Fonts.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Fonts.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Help.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Help.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Help.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/IBCarbon.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/IBCarbon.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/IBCarbon.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/IBCarbonRuntime.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/IBCarbonRuntime.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/IBCarbonRuntime.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Icn.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Icn.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Icn.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Icons.py
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Icons.pyc
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Icons.pyo
+lib/python${PY_VER_SUFFIX}/plat-mac/Carbon/Launch.py



Home | Main Index | Thread Index | Old Index