pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang Wave bye-bye to python34 and python35.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b109767269fd
branches:  trunk
changeset: 332860:b109767269fd
user:      roy <roy%pkgsrc.org@localhost>
date:      Fri Apr 26 09:40:15 2019 +0000

description:
Wave bye-bye to python34 and python35.

Discussed on pkgsrc-users@

diffstat:

 lang/Makefile                                                |     4 +-
 lang/python34/ALTERNATIVES                                   |     4 -
 lang/python34/DESCR                                          |    16 -
 lang/python34/Makefile                                       |   185 -
 lang/python34/PLIST                                          |  4901 ---------
 lang/python34/PLIST.Darwin                                   |     2 -
 lang/python34/PLIST.FreeBSD                                  |     2 -
 lang/python34/PLIST.IRIX                                     |    66 -
 lang/python34/PLIST.Linux                                    |    12 -
 lang/python34/PLIST.SunOS                                    |    14 -
 lang/python34/buildlink3.mk                                  |    24 -
 lang/python34/dist.mk                                        |     8 -
 lang/python34/distinfo                                       |    19 -
 lang/python34/options.mk                                     |    28 -
 lang/python34/patches/patch-Lib_ctypes_util.py               |    41 -
 lang/python34/patches/patch-Lib_distutils_command_install.py |    12 -
 lang/python34/patches/patch-Lib_distutils_unixccompiler.py   |    31 -
 lang/python34/patches/patch-Makefile.pre.in                  |    62 -
 lang/python34/patches/patch-Modules___cursesmodule.c         |   159 -
 lang/python34/patches/patch-Modules_makesetup                |    15 -
 lang/python34/patches/patch-Modules_nismodule.c              |    16 -
 lang/python34/patches/patch-Modules_socketmodule.c           |    71 -
 lang/python34/patches/patch-Modules_socketmodule.h           |    15 -
 lang/python34/patches/patch-Python_thread__pthread.h         |    14 -
 lang/python34/patches/patch-configure                        |   117 -
 lang/python34/patches/patch-pyconfig.h.in                    |    16 -
 lang/python34/patches/patch-setup.py                         |   153 -
 lang/python35/ALTERNATIVES                                   |     4 -
 lang/python35/DESCR                                          |    16 -
 lang/python35/Makefile                                       |   192 -
 lang/python35/PLIST                                          |  5069 ----------
 lang/python35/PLIST.Darwin                                   |     2 -
 lang/python35/PLIST.FreeBSD                                  |     2 -
 lang/python35/PLIST.IRIX                                     |    66 -
 lang/python35/PLIST.Linux                                    |    12 -
 lang/python35/PLIST.SunOS                                    |    14 -
 lang/python35/buildlink3.mk                                  |    24 -
 lang/python35/dist.mk                                        |     8 -
 lang/python35/distinfo                                       |    20 -
 lang/python35/options.mk                                     |    28 -
 lang/python35/patches/patch-Lib_ctypes_util.py               |    52 -
 lang/python35/patches/patch-Lib_distutils_command_install.py |    12 -
 lang/python35/patches/patch-Lib_distutils_unixccompiler.py   |    40 -
 lang/python35/patches/patch-Makefile.pre.in                  |    75 -
 lang/python35/patches/patch-Modules___cursesmodule.c         |   159 -
 lang/python35/patches/patch-Modules_makesetup                |    15 -
 lang/python35/patches/patch-Modules_nismodule.c              |    16 -
 lang/python35/patches/patch-Modules_socketmodule.c           |    71 -
 lang/python35/patches/patch-Modules_socketmodule.h           |    15 -
 lang/python35/patches/patch-Python_pylifecycle.c             |    18 -
 lang/python35/patches/patch-Python_thread__pthread.h         |    14 -
 lang/python35/patches/patch-configure                        |   144 -
 lang/python35/patches/patch-pyconfig.h.in                    |    27 -
 lang/python35/patches/patch-setup.py                         |   162 -
 54 files changed, 1 insertions(+), 12283 deletions(-)

diffs (truncated from 12510 to 300 lines):

diff -r ea976e846a26 -r b109767269fd lang/Makefile
--- a/lang/Makefile     Fri Apr 26 08:32:27 2019 +0000
+++ b/lang/Makefile     Fri Apr 26 09:40:15 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.513 2019/04/14 15:27:34 taca Exp $
+# $NetBSD: Makefile,v 1.514 2019/04/26 09:40:15 roy Exp $
 #
 
 COMMENT=       Programming languages
@@ -220,8 +220,6 @@
 SUBDIR+=       py37-html-docs
 #SUBDIR+=      python          # only contains Makefile fragments
 SUBDIR+=       python27
-SUBDIR+=       python34
-SUBDIR+=       python35
 SUBDIR+=       python36
 SUBDIR+=       python37
 SUBDIR+=       qore
diff -r ea976e846a26 -r b109767269fd lang/python34/ALTERNATIVES
--- a/lang/python34/ALTERNATIVES        Fri Apr 26 08:32:27 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-bin/2to3 @PREFIX@/bin/2to3-3.4
-bin/pydoc3 @PREFIX@/bin/pydoc3.4
-bin/python @PREFIX@/bin/python3.4
-bin/python3 @PREFIX@/bin/python3.4
diff -r ea976e846a26 -r b109767269fd lang/python34/DESCR
--- a/lang/python34/DESCR       Fri Apr 26 08:32:27 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-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.4.x.
diff -r ea976e846a26 -r b109767269fd lang/python34/Makefile
--- a/lang/python34/Makefile    Fri Apr 26 08:32:27 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,185 +0,0 @@
-# $NetBSD: Makefile,v 1.32 2019/04/25 15:59:54 roy Exp $
-
-.include "dist.mk"
-
-PKGNAME=       python34-${PY_DISTVERSION}
-CATEGORIES=    lang python
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://www.python.org/
-COMMENT=       Interpreted, interactive, object-oriented programming language
-LICENSE=       python-software-foundation
-
-CONFLICTS+=    python-[0-9]*
-
-PLIST_AWK=             -f ${PKGSRCDIR}/lang/python/plist-python.awk
-PLIST_AWK_ENV+=                PYVERS=34
-PRINT_PLIST_AWK+=      /^[^@]/ && /[^\/]+\.py[co]$$/ {
-PRINT_PLIST_AWK+=      gsub(/__pycache__\//, "")
-PRINT_PLIST_AWK+=      gsub(/\.cpython-34/, "")}
-
-USE_LANGUAGES=         c c++
-GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --enable-shared
-CONFIGURE_ARGS+=       --with-system-ffi
-CONFIGURE_ARGS+=       --with-threads
-CONFIGURE_ARGS+=       --without-ensurepip
-CONFIGURE_ARGS+=       --without-pymalloc
-CONFIGURE_ENV+=                OPT=${CFLAGS:M*:Q}
-CONFIGURE_ENV+=                ac_cv_path_mkdir=${TOOLS_PATH.mkdir}
-PKGCONFIG_OVERRIDE+=   Misc/python.pc.in
-
-PTHREAD_OPTS+= require
-.include "../../mk/pthread.buildlink3.mk"
-
-.include "../../mk/bsd.prefs.mk"
-
-# http://bugs.python.org/issue13241
-.if !empty(MACHINE_PLATFORM:MDarwin-10.*)
-PKGSRC_COMPILER=       clang
-PKG_CC=                        clang
-PKG_CXX=               clang++
-.endif
-
-# fdatasync()
-LIBS.SunOS+=           -lrt
-
-PY_VER_SUFFIX=         3.4
-
-.if ${OPSYS} == "Darwin"
-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
-.elif ${OPSYS} == "Linux"
-PY_PLATNAME=   linux
-.else
-PY_PLATNAME=   ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
-.endif
-PLIST_SUBST+=  PY_PLATNAME=${PY_PLATNAME:Q}
-
-# ossaudiodev is only available on x86 for the following platforms
-PLIST_VARS+=   oss
-.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
-    (${PY_PLATNAME} == "linux" || ${OPSYS} == "FreeBSD")
-PLIST.oss=     yes
-.endif
-
-# For Xcode 5 and up, we need to search the SDK path for headers, otherwise
-# certain modules will not be built.
-.if ${OPSYS} == "Darwin" && exists(${OSX_SDK_PATH:Q}/usr/include)
-CFLAGS+=               -I${OSX_SDK_PATH:Q}/usr/include
-.endif
-
-PLIST_VARS+=   nis
-.for incdir in ${_OPSYS_INCLUDE_DIRS}
-.  if (exists(${incdir}/rpc/rpc.h) || exists(${incdir}/tirpc/rpc/rpc.h))
-HAVE_RPC_H=    yes
-.  endif
-.  if (exists(${incdir}/rpcsvc/yp_prot.h) || exists(${incdir}/nsl/rpcsvc/yp_prot.h))
-HAVE_YP_PROT_H=        yes
-.  endif
-.endfor
-.if (${HAVE_RPC_H:Uno} == yes && ${HAVE_YP_PROT_H:Uno} == yes)
-PLIST.nis=     yes
-.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+=  python
-REPLACE.python.old=    .*python[^ ]*
-REPLACE.python.new=    ${PREFIX}/bin/python${PY_VER_SUFFIX}
-REPLACE_FILES.python=  Lib/base64.py
-REPLACE_FILES.python+= Lib/cProfile.py
-REPLACE_FILES.python+= Lib/cgi.py
-REPLACE_FILES.python+= Lib/encodings/rot_13.py
-REPLACE_FILES.python+= Lib/idlelib/PyShell.py
-REPLACE_FILES.python+= Lib/keyword.py
-REPLACE_FILES.python+= Lib/lib2to3/pgen2/token.py
-REPLACE_FILES.python+= Lib/lib2to3/tests/data/different_encoding.py
-REPLACE_FILES.python+= Lib/lib2to3/tests/data/false_encoding.py
-REPLACE_FILES.python+= Lib/lib2to3/tests/pytree_idempotency.py
-REPLACE_FILES.python+= Lib/pdb.py
-REPLACE_FILES.python+= Lib/platform.py
-REPLACE_FILES.python+= Lib/profile.py
-REPLACE_FILES.python+= Lib/pydoc.py
-REPLACE_FILES.python+= Lib/quopri.py
-REPLACE_FILES.python+= Lib/smtpd.py
-REPLACE_FILES.python+= Lib/smtplib.py
-REPLACE_FILES.python+= Lib/symbol.py
-REPLACE_FILES.python+= Lib/tabnanny.py
-REPLACE_FILES.python+= Lib/tarfile.py
-REPLACE_FILES.python+= Lib/test/crashers/recursive_call.py
-REPLACE_FILES.python+= Lib/test/curses_tests.py
-REPLACE_FILES.python+= Lib/test/pystone.py
-REPLACE_FILES.python+= Lib/test/re_tests.py
-REPLACE_FILES.python+= Lib/test/regrtest.py
-REPLACE_FILES.python+= Lib/timeit.py
-REPLACE_FILES.python+= Lib/trace.py
-REPLACE_FILES.python+= Lib/turtledemo/__main__.py
-REPLACE_FILES.python+= Lib/turtledemo/bytedesign.py
-REPLACE_FILES.python+= Lib/turtledemo/clock.py
-REPLACE_FILES.python+= Lib/turtledemo/forest.py
-REPLACE_FILES.python+= Lib/turtledemo/fractalcurves.py
-REPLACE_FILES.python+= Lib/turtledemo/lindenmayer.py
-REPLACE_FILES.python+= Lib/turtledemo/minimal_hanoi.py
-REPLACE_FILES.python+= Lib/turtledemo/paint.py
-REPLACE_FILES.python+= Lib/turtledemo/peace.py
-REPLACE_FILES.python+= Lib/turtledemo/penrose.py
-REPLACE_FILES.python+= Lib/turtledemo/planet_and_moon.py
-REPLACE_FILES.python+= Lib/turtledemo/tree.py
-REPLACE_FILES.python+= Lib/turtledemo/yinyang.py
-REPLACE_FILES.python+= Lib/uu.py
-REPLACE_FILES.python+= Lib/webbrowser.py
-
-# XXX: It might be needed to add manually more paths like ${PREFIX}/qt5/lib
-# Test: python -c 'from ctypes.util import find_library; print(find_library("ffi"));'
-SUBST_CLASSES+=                findlib
-SUBST_MESSAGE.findlib= Fixing find_library().
-SUBST_STAGE.findlib=   pre-configure
-SUBST_FILES.findlib=   Lib/ctypes/macholib/dyld.py
-SUBST_FILES.findlib+=  Lib/ctypes/util.py
-SUBST_FILES.findlib+=  Lib/distutils/unixccompiler.py
-SUBST_SED.findlib=     -e 's,/usr/local,${PREFIX},'
-SUBST_SED.findlib+=    -e 's!\(-Wl,-t -o\)!${COMPILER_RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib \1!'
-
-.include "options.mk"
-
-SUBST_CLASSES+=                sslbase
-SUBST_MESSAGE.sslbase= Fixing OpenSSL base directory to find header file.
-SUBST_STAGE.sslbase=   pre-configure
-SUBST_FILES.sslbase=   setup.py
-SUBST_VARS.sslbase=    SSLBASE
-
-CHECK_INTERPRETER_SKIP=        lib/python${PY_VER_SUFFIX}/venv/scripts/posix/pydoc
-
-.if ${OPSYS} == "HPUX"
-post-install:
-       ${LN} -fs ${DESTDIR}${PREFIX}/lib/libpython3.4.sl \
-               ${DESTDIR}${PREFIX}/lib/libpython3.4.sl.1.0
-.endif
-
-BUILDLINK_DEPMETHOD.readline=          build
-
-.include "../../archivers/bzip2/buildlink3.mk"
-.include "../../archivers/xz/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/bdb.buildlink3.mk"
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r ea976e846a26 -r b109767269fd lang/python34/PLIST
--- a/lang/python34/PLIST       Fri Apr 26 08:32:27 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4901 +0,0 @@
-@comment $NetBSD: PLIST,v 1.12 2019/04/25 15:59:54 roy Exp $
-bin/2to3-${PY_VER_SUFFIX}
-bin/pydoc${PY_VER_SUFFIX}
-bin/python${PY_VER_SUFFIX}
-bin/python${PY_VER_SUFFIX}-config
-bin/pyvenv-${PY_VER_SUFFIX}
-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}/namespaceobject.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



Home | Main Index | Thread Index | Old Index