pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python32 Import python32-3.2.3 as lang/python32.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f5ed69d60ac
branches:  trunk
changeset: 603440:0f5ed69d60ac
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun May 06 13:12:09 2012 +0000

description:
Import python32-3.2.3 as lang/python32.

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 provides Python version 3.2.x.

diffstat:

 lang/python32/ALTERNATIVES                |     3 +
 lang/python32/DESCR                       |    16 +
 lang/python32/MESSAGE.SunOS               |     8 +
 lang/python32/Makefile                    |   128 +
 lang/python32/PLIST                       |  4206 +++++++++++++++++++++++++++++
 lang/python32/PLIST.Darwin                |     4 +
 lang/python32/PLIST.IRIX                  |    66 +
 lang/python32/PLIST.Linux                 |    12 +
 lang/python32/PLIST.SunOS                 |    14 +
 lang/python32/buildlink3.mk               |    24 +
 lang/python32/dist.mk                     |     8 +
 lang/python32/distinfo                    |    16 +
 lang/python32/patches/patch-aa            |    29 +
 lang/python32/patches/patch-ab            |    24 +
 lang/python32/patches/patch-ah            |    88 +
 lang/python32/patches/patch-al            |    94 +
 lang/python32/patches/patch-am            |   109 +
 lang/python32/patches/patch-an            |    12 +
 lang/python32/patches/patch-ao            |    13 +
 lang/python32/patches/patch-au            |    32 +
 lang/python32/patches/patch-av            |    12 +
 lang/python32/patches/patch-aw            |    13 +
 lang/python32/patches/patch-pyconfig.h.in |    14 +
 23 files changed, 4945 insertions(+), 0 deletions(-)

diffs (truncated from 5037 to 300 lines):

diff -r 3209cec47a01 -r 0f5ed69d60ac lang/python32/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python32/ALTERNATIVES        Sun May 06 13:12:09 2012 +0000
@@ -0,0 +1,3 @@
+bin/2to3 @PREFIX@/bin/2to3-3.2
+bin/pydoc3 @PREFIX@/bin/pydoc3.2
+bin/python @PREFIX@/bin/python3.2
diff -r 3209cec47a01 -r 0f5ed69d60ac lang/python32/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python32/DESCR       Sun May 06 13:12:09 2012 +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 provides Python version 3.2.x.
diff -r 3209cec47a01 -r 0f5ed69d60ac lang/python32/MESSAGE.SunOS
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python32/MESSAGE.SunOS       Sun May 06 13:12:09 2012 +0000
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE.SunOS,v 1.1.1.1 2012/05/06 13:12:09 obache Exp $
+
+In order for the Python installation to successfuly compile the
+"sunaudiodev" module you must install the SUNWaudh package to have
+the necessary headers installed.
+
+===========================================================================
diff -r 3209cec47a01 -r 0f5ed69d60ac lang/python32/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python32/Makefile    Sun May 06 13:12:09 2012 +0000
@@ -0,0 +1,128 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/05/06 13:12:09 obache Exp $
+
+.include "dist.mk"
+
+PKGNAME=       python32-${PY_DISTVERSION}
+CATEGORIES=    lang python
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.python.org/
+COMMENT=       Interpreted, interactive, object-oriented programming language
+LICENSE=       python-software-foundation
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+CONFLICTS+=    python-[0-9]*
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --with-threads
+CONFIGURE_ARGS+=       --enable-shared
+CONFIGURE_ARGS+=       OPT=${CFLAGS:M*:Q}
+CONFIGURE_ARGS+=       --with-system-ffi
+CONFIGURE_ARGS+=       --without-pymalloc
+
+USE_LANGUAGES=         c c++
+
+PTHREAD_OPTS+= require
+.include "../../mk/pthread.buildlink3.mk"
+
+.include "../../mk/bsd.prefs.mk"
+
+# fdatasync()
+LIBS.SunOS+=           -lrt
+
+PY_VER_SUFFIX=         3.2
+
+.if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix"
+PY_PLATNAME=   ${LOWER_OPSYS}
+USE_TOOLS+=    gmake
+.elif ${OPSYS} == "IRIX"
+PY_PLATNAME=   ${LOWER_OPSYS:C/\..*//}
+.elif ${OPSYS} == "SunOS"
+PY_PLATNAME=   sunos${OS_VERSION:C/\..*//}
+.elif ${OPSYS} == "HPUX"
+PY_PLATNAME=   hp-ux11
+.else
+PY_PLATNAME=   ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
+.endif
+PLIST_SUBST+=  PY_PLATNAME=${PY_PLATNAME:Q}
+
+# builds additional modules if OpenSSL < 0.9.8
+PLIST_VARS+=           openssl097
+CHECK_BUILTIN.openssl:=        yes
+.include "../../security/openssl/builtin.mk"
+CHECK_BUILTIN.openssl:=        no
+.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && \
+    !empty(BUILTIN_PKG.openssl:Mopenssl-0.9.[67]*)
+PLIST.openssl097=      yes
+.endif
+
+# ossaudiodev is only available on x86 for the following platforms
+PLIST_VARS+=   oss
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
+    (${PY_PLATNAME} == "linux2" || ${OPSYS} == "FreeBSD")
+PLIST.oss=     yes
+.endif
+
+# Make sure python modules can link correctly
+.if ${OPSYS} == "Darwin"
+INSTALL_UNSTRIPPED=    yes
+.endif
+
+PLIST_VARS+=   bsddb dll nis no-nis
+.if ${OPSYS} == "IRIX"
+.  if ${ABI} == "64"
+PLIST.no-nis=  yes
+.  else
+PLIST.nis=     yes
+.  endif
+.else
+.  include "../../mk/bdb.buildlink3.mk"
+MAKE_ENV+=     PY_BDB_TYPE=${BDB_TYPE}
+MAKE_ENV+=     PY_BDB_INCDIRS=${BUILDLINK_INCDIRS.${BDB_TYPE}:S,^,${BDBBASE}/,:Q}
+MAKE_ENV+=     PY_BDB_LIBDIRS=${BDBBASE}/lib
+PLIST.bsddb=   yes
+PLIST.dll=     yes
+.  if ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat)
+PLIST.nis=     yes
+.  else
+PLIST.no-nis=  yes
+.  endif
+.endif
+
+.if defined(BUILDLINK_TRANSFORM)
+MAKE_ENV+=     PY_BDB_TRANSFORM=${BUILDLINK_TRANSFORM:Q}
+.endif
+
+PLIST_SUBST+=  PY_VER_SUFFIX=${PY_VER_SUFFIX:Q}
+
+PRINT_PLIST_AWK+=      { gsub(/${PY_PLATNAME}/, "$${PY_PLATNAME}") }
+PRINT_PLIST_AWK+=      { gsub(/python${PY_VER_SUFFIX}/, \
+                               "python$${PY_VER_SUFFIX}") }
+
+TEST_TARGET=   test
+INSTALL_TARGET=        altinstall
+
+REPLACE_INTERPRETER+=  py32
+REPLACE.py32.old=      .*python[^ ]*
+REPLACE.py32.new=      ${PREFIX}/bin/python${PY_VER_SUFFIX}
+REPLACE_FILES.py32=    Lib/*.py Lib/*/*.py Lib/*/*/*.py
+
+.if ${OPSYS} == "HPUX"
+post-install:
+       ${LN} -fs ${DESTDIR}${PREFIX}/lib/libpython3.2.sl \
+               ${DESTDIR}${PREFIX}/lib/libpython3.2.sl.1.0
+.endif
+
+USE_GNU_READLINE=                      yes
+BUILDLINK_DEPMETHOD.readline=          build
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3209cec47a01 -r 0f5ed69d60ac lang/python32/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python32/PLIST       Sun May 06 13:12:09 2012 +0000
@@ -0,0 +1,4206 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/06 13:12:12 obache Exp $
+bin/2to3-${PY_VER_SUFFIX}
+bin/pydoc${PY_VER_SUFFIX}
+bin/python${PY_VER_SUFFIX}
+bin/python${PY_VER_SUFFIX}-config
+include/python${PY_VER_SUFFIX}/Python-ast.h
+include/python${PY_VER_SUFFIX}/Python.h
+include/python${PY_VER_SUFFIX}/abstract.h
+include/python${PY_VER_SUFFIX}/accu.h
+include/python${PY_VER_SUFFIX}/asdl.h
+include/python${PY_VER_SUFFIX}/ast.h
+include/python${PY_VER_SUFFIX}/bitset.h
+include/python${PY_VER_SUFFIX}/bltinmodule.h
+include/python${PY_VER_SUFFIX}/boolobject.h
+include/python${PY_VER_SUFFIX}/bytearrayobject.h
+include/python${PY_VER_SUFFIX}/bytes_methods.h
+include/python${PY_VER_SUFFIX}/bytesobject.h
+include/python${PY_VER_SUFFIX}/cellobject.h
+include/python${PY_VER_SUFFIX}/ceval.h
+include/python${PY_VER_SUFFIX}/classobject.h
+include/python${PY_VER_SUFFIX}/code.h
+include/python${PY_VER_SUFFIX}/codecs.h
+include/python${PY_VER_SUFFIX}/compile.h
+include/python${PY_VER_SUFFIX}/complexobject.h
+include/python${PY_VER_SUFFIX}/datetime.h
+include/python${PY_VER_SUFFIX}/descrobject.h
+include/python${PY_VER_SUFFIX}/dictobject.h
+include/python${PY_VER_SUFFIX}/dtoa.h
+include/python${PY_VER_SUFFIX}/dynamic_annotations.h
+include/python${PY_VER_SUFFIX}/enumobject.h
+include/python${PY_VER_SUFFIX}/errcode.h
+include/python${PY_VER_SUFFIX}/eval.h
+include/python${PY_VER_SUFFIX}/fileobject.h
+include/python${PY_VER_SUFFIX}/fileutils.h
+include/python${PY_VER_SUFFIX}/floatobject.h
+include/python${PY_VER_SUFFIX}/frameobject.h
+include/python${PY_VER_SUFFIX}/funcobject.h
+include/python${PY_VER_SUFFIX}/genobject.h
+include/python${PY_VER_SUFFIX}/graminit.h
+include/python${PY_VER_SUFFIX}/grammar.h
+include/python${PY_VER_SUFFIX}/import.h
+include/python${PY_VER_SUFFIX}/intrcheck.h
+include/python${PY_VER_SUFFIX}/iterobject.h
+include/python${PY_VER_SUFFIX}/listobject.h
+include/python${PY_VER_SUFFIX}/longintrepr.h
+include/python${PY_VER_SUFFIX}/longobject.h
+include/python${PY_VER_SUFFIX}/marshal.h
+include/python${PY_VER_SUFFIX}/memoryobject.h
+include/python${PY_VER_SUFFIX}/metagrammar.h
+include/python${PY_VER_SUFFIX}/methodobject.h
+include/python${PY_VER_SUFFIX}/modsupport.h
+include/python${PY_VER_SUFFIX}/moduleobject.h
+include/python${PY_VER_SUFFIX}/node.h
+include/python${PY_VER_SUFFIX}/object.h
+include/python${PY_VER_SUFFIX}/objimpl.h
+include/python${PY_VER_SUFFIX}/opcode.h
+include/python${PY_VER_SUFFIX}/osdefs.h
+include/python${PY_VER_SUFFIX}/parsetok.h
+include/python${PY_VER_SUFFIX}/patchlevel.h
+include/python${PY_VER_SUFFIX}/pgen.h
+include/python${PY_VER_SUFFIX}/pgenheaders.h
+include/python${PY_VER_SUFFIX}/py_curses.h
+include/python${PY_VER_SUFFIX}/pyarena.h
+include/python${PY_VER_SUFFIX}/pyatomic.h
+include/python${PY_VER_SUFFIX}/pycapsule.h
+include/python${PY_VER_SUFFIX}/pyconfig.h
+include/python${PY_VER_SUFFIX}/pyctype.h
+include/python${PY_VER_SUFFIX}/pydebug.h
+include/python${PY_VER_SUFFIX}/pyerrors.h
+include/python${PY_VER_SUFFIX}/pyexpat.h
+include/python${PY_VER_SUFFIX}/pyfpe.h
+include/python${PY_VER_SUFFIX}/pygetopt.h
+include/python${PY_VER_SUFFIX}/pymacconfig.h
+include/python${PY_VER_SUFFIX}/pymath.h
+include/python${PY_VER_SUFFIX}/pymem.h
+include/python${PY_VER_SUFFIX}/pyport.h
+include/python${PY_VER_SUFFIX}/pystate.h
+include/python${PY_VER_SUFFIX}/pystrcmp.h
+include/python${PY_VER_SUFFIX}/pystrtod.h
+include/python${PY_VER_SUFFIX}/pythonrun.h
+include/python${PY_VER_SUFFIX}/pythread.h
+include/python${PY_VER_SUFFIX}/pytime.h
+include/python${PY_VER_SUFFIX}/rangeobject.h
+include/python${PY_VER_SUFFIX}/setobject.h
+include/python${PY_VER_SUFFIX}/sliceobject.h
+include/python${PY_VER_SUFFIX}/structmember.h
+include/python${PY_VER_SUFFIX}/structseq.h
+include/python${PY_VER_SUFFIX}/symtable.h
+include/python${PY_VER_SUFFIX}/sysmodule.h
+include/python${PY_VER_SUFFIX}/timefuncs.h
+include/python${PY_VER_SUFFIX}/token.h
+include/python${PY_VER_SUFFIX}/traceback.h
+include/python${PY_VER_SUFFIX}/tupleobject.h
+include/python${PY_VER_SUFFIX}/typeslots.h
+include/python${PY_VER_SUFFIX}/ucnhash.h
+include/python${PY_VER_SUFFIX}/unicodeobject.h
+include/python${PY_VER_SUFFIX}/warnings.h
+include/python${PY_VER_SUFFIX}/weakrefobject.h
+lib/libpython${PY_VER_SUFFIX}.so
+lib/libpython${PY_VER_SUFFIX}.so.1.0
+lib/libpython3.so
+lib/pkgconfig/python-3.2.pc
+lib/python${PY_VER_SUFFIX}/LICENSE.txt
+lib/python${PY_VER_SUFFIX}/__future__.py
+lib/python${PY_VER_SUFFIX}/__phello__.foo.py
+lib/python${PY_VER_SUFFIX}/__pycache__/__future__.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/__future__.cpython-32.pyo
+lib/python${PY_VER_SUFFIX}/__pycache__/__phello__.foo.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/__phello__.foo.cpython-32.pyo
+lib/python${PY_VER_SUFFIX}/__pycache__/_abcoll.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/_abcoll.cpython-32.pyo
+lib/python${PY_VER_SUFFIX}/__pycache__/_compat_pickle.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/_compat_pickle.cpython-32.pyo
+lib/python${PY_VER_SUFFIX}/__pycache__/_dummy_thread.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/_dummy_thread.cpython-32.pyo
+lib/python${PY_VER_SUFFIX}/__pycache__/_markupbase.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/_markupbase.cpython-32.pyo
+lib/python${PY_VER_SUFFIX}/__pycache__/_pyio.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/_pyio.cpython-32.pyo
+lib/python${PY_VER_SUFFIX}/__pycache__/_strptime.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/_strptime.cpython-32.pyo
+lib/python${PY_VER_SUFFIX}/__pycache__/_threading_local.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/_threading_local.cpython-32.pyo
+lib/python${PY_VER_SUFFIX}/__pycache__/_weakrefset.cpython-32.pyc
+lib/python${PY_VER_SUFFIX}/__pycache__/_weakrefset.cpython-32.pyo



Home | Main Index | Thread Index | Old Index