pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/python36



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan 26 09:13:28 UTC 2017

Modified Files:
        pkgsrc/lang/python36: Makefile PLIST distinfo
        pkgsrc/lang/python36/patches: patch-Lib_distutils_sysconfig.py
            patch-Lib_sysconfig.py patch-configure

Log Message:
Again, remove platform name from config path; also remove _multiarch component in get_makefile_filename() to reflect the former change.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/python36/Makefile \
    pkgsrc/lang/python36/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/python36/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/python36/patches/patch-Lib_distutils_sysconfig.py \
    pkgsrc/lang/python36/patches/patch-Lib_sysconfig.py
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/python36/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python36/Makefile
diff -u pkgsrc/lang/python36/Makefile:1.2 pkgsrc/lang/python36/Makefile:1.3
--- pkgsrc/lang/python36/Makefile:1.2   Wed Jan 25 19:35:49 2017
+++ pkgsrc/lang/python36/Makefile       Thu Jan 26 09:13:27 2017
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2017/01/25 19:35:49 adam Exp $
+# $NetBSD: Makefile,v 1.3 2017/01/26 09:13:27 adam Exp $
 
 .include "dist.mk"
 
 PKGNAME=       python36-${PY_DISTVERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/lang/python36/PLIST
diff -u pkgsrc/lang/python36/PLIST:1.2 pkgsrc/lang/python36/PLIST:1.3
--- pkgsrc/lang/python36/PLIST:1.2      Wed Jan 25 19:35:49 2017
+++ pkgsrc/lang/python36/PLIST  Thu Jan 26 09:13:27 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/01/25 19:35:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/01/26 09:13:27 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -322,17 +322,17 @@ lib/python${PY_VER_SUFFIX}/concurrent/fu
 lib/python${PY_VER_SUFFIX}/concurrent/futures/thread.py
 lib/python${PY_VER_SUFFIX}/concurrent/futures/thread.pyc
 lib/python${PY_VER_SUFFIX}/concurrent/futures/thread.pyo
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/Makefile
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/Setup
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/Setup.config
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/Setup.local
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/config.c
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/config.c.in
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/install-sh
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/libpython${PY_VER_SUFFIX}.a
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/makesetup
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/python-config.py
-lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}-${PY_PLATNAME}/python.o
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/Makefile
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/Setup
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/Setup.config
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/Setup.local
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/config.c
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/config.c.in
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/install-sh
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/libpython${PY_VER_SUFFIX}.a
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/makesetup
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/python-config.py
+lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/python.o
 lib/python${PY_VER_SUFFIX}/configparser.py
 lib/python${PY_VER_SUFFIX}/configparser.pyc
 lib/python${PY_VER_SUFFIX}/configparser.pyo

Index: pkgsrc/lang/python36/distinfo
diff -u pkgsrc/lang/python36/distinfo:1.5 pkgsrc/lang/python36/distinfo:1.6
--- pkgsrc/lang/python36/distinfo:1.5   Wed Jan 25 21:40:24 2017
+++ pkgsrc/lang/python36/distinfo       Thu Jan 26 09:13:27 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2017/01/25 21:40:24 ryoon Exp $
+$NetBSD: distinfo,v 1.6 2017/01/26 09:13:27 adam Exp $
 
 SHA1 (Python-3.6.0.tar.xz) = 18ebf7d726782967d967dc00e3aa08b334fbdd5c
 RMD160 (Python-3.6.0.tar.xz) = 984a38d1eec379ac8921479a86259ca0161734af
@@ -6,14 +6,13 @@ SHA512 (Python-3.6.0.tar.xz) = 9d06bee91
 Size (Python-3.6.0.tar.xz) = 16805836 bytes
 SHA1 (patch-Include_py__curses.h) = 14359f8d0527eff08073c0aea60dfe8961d9255d
 SHA1 (patch-Lib_distutils_command_install.py) = 6fc6f5d918b7581fc62cd0fe55857ee932c3a341
-SHA1 (patch-Lib_distutils_sysconfig.py) = 23d8e9e63924e0b7be21355bd83d20eff25c9c21
+SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf
 SHA1 (patch-Lib_distutils_unixccompiler.py) = e7aa684fa186de7a01486c3d8bfa177afdd22ef9
-SHA1 (patch-Lib_sysconfig.py) = 81df54149caba826062fb78e68fdd4328ea98b2a
+SHA1 (patch-Lib_sysconfig.py) = a4f009ed73ebbd9d9c4bf7e12b7981182ed8fd7c
 SHA1 (patch-Makefile.pre.in) = 99b33ba203eb2c9c626377f1bac03c723d467553
 SHA1 (patch-Modules___cursesmodule.c) = 2ab2779e0418a4529987641c254686ba05d28593
 SHA1 (patch-Modules_makesetup) = a06786eebffadecedba5e3a50a9785fb47613567
 SHA1 (patch-Modules_nismodule.c) = 1bafe9b06359586d027a77011b103877590d947d
 SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
-SHA1 (patch-configure) = 49ac8c326f6ff10f44d2be4bc5186ac85ad7f4d7
-SHA1 (patch-configure.ac) = 2051bfa1b1fdabef79cc8825185b156ce6163889
+SHA1 (patch-configure) = b3b73638ddd72517f4e80193212a38e0cd991157
 SHA1 (patch-setup.py) = f3fd3c3e5bc2e002dcee8239d153360a7247844b

Index: pkgsrc/lang/python36/patches/patch-Lib_distutils_sysconfig.py
diff -u pkgsrc/lang/python36/patches/patch-Lib_distutils_sysconfig.py:1.1 pkgsrc/lang/python36/patches/patch-Lib_distutils_sysconfig.py:1.2
--- pkgsrc/lang/python36/patches/patch-Lib_distutils_sysconfig.py:1.1   Sun Jan  1 14:34:27 2017
+++ pkgsrc/lang/python36/patches/patch-Lib_distutils_sysconfig.py       Thu Jan 26 09:13:27 2017
@@ -1,10 +1,20 @@
-$NetBSD: patch-Lib_distutils_sysconfig.py,v 1.1 2017/01/01 14:34:27 adam Exp $
+$NetBSD: patch-Lib_distutils_sysconfig.py,v 1.2 2017/01/26 09:13:27 adam Exp $
 
+Remove _multiarch from config path (differs across platforms).
 Simplify _sysconfigdata to include only platform name.
 
---- Lib/distutils/sysconfig.py.orig    2017-01-01 13:54:39.000000000 +0000
+--- Lib/distutils/sysconfig.py.orig    2016-12-23 02:21:19.000000000 +0000
 +++ Lib/distutils/sysconfig.py
-@@ -419,10 +419,8 @@ def _init_posix():
+@@ -242,8 +242,6 @@ def get_makefile_filename():
+         return os.path.join(_sys_home or project_base, "Makefile")
+     lib_dir = get_python_lib(plat_specific=0, standard_lib=1)
+     config_file = 'config-{}{}'.format(get_python_version(), build_flags)
+-    if hasattr(sys.implementation, '_multiarch'):
+-        config_file += '-%s' % sys.implementation._multiarch
+     return os.path.join(lib_dir, config_file, 'Makefile')
+ 
+ 
+@@ -419,10 +417,8 @@ def _init_posix():
      """Initialize the module as appropriate for POSIX systems."""
      # _sysconfigdata is generated at build time, see the sysconfig module
      name = os.environ.get('_PYTHON_SYSCONFIGDATA_NAME',
Index: pkgsrc/lang/python36/patches/patch-Lib_sysconfig.py
diff -u pkgsrc/lang/python36/patches/patch-Lib_sysconfig.py:1.1 pkgsrc/lang/python36/patches/patch-Lib_sysconfig.py:1.2
--- pkgsrc/lang/python36/patches/patch-Lib_sysconfig.py:1.1     Sun Jan  1 14:34:27 2017
+++ pkgsrc/lang/python36/patches/patch-Lib_sysconfig.py Thu Jan 26 09:13:27 2017
@@ -1,10 +1,18 @@
-$NetBSD: patch-Lib_sysconfig.py,v 1.1 2017/01/01 14:34:27 adam Exp $
+$NetBSD: patch-Lib_sysconfig.py,v 1.2 2017/01/26 09:13:27 adam Exp $
 
+Remove _multiarch from config path (differs across platforms).
 Simplify _sysconfigdata to include only platform name.
 
---- Lib/sysconfig.py.orig      2017-01-01 13:52:46.000000000 +0000
+--- Lib/sysconfig.py.orig      2016-12-23 02:21:19.000000000 +0000
 +++ Lib/sysconfig.py
-@@ -344,10 +344,8 @@ def get_makefile_filename():
+@@ -337,17 +337,13 @@ def get_makefile_filename():
+         config_dir_name = 'config-%s%s' % (_PY_VERSION_SHORT, sys.abiflags)
+     else:
+         config_dir_name = 'config'
+-    if hasattr(sys.implementation, '_multiarch'):
+-        config_dir_name += '-%s' % sys.implementation._multiarch
+     return os.path.join(get_path('stdlib'), config_dir_name, 'Makefile')
+ 
  
  def _get_sysconfigdata_name():
      return os.environ.get('_PYTHON_SYSCONFIGDATA_NAME',

Index: pkgsrc/lang/python36/patches/patch-configure
diff -u pkgsrc/lang/python36/patches/patch-configure:1.3 pkgsrc/lang/python36/patches/patch-configure:1.4
--- pkgsrc/lang/python36/patches/patch-configure:1.3    Wed Jan 25 21:40:24 2017
+++ pkgsrc/lang/python36/patches/patch-configure        Thu Jan 26 09:13:27 2017
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.3 2017/01/25 21:40:24 ryoon Exp $
+$NetBSD: patch-configure,v 1.4 2017/01/26 09:13:27 adam Exp $
 
 Simplify _sysconfigdata to include only platform name.
 
@@ -108,7 +108,7 @@ Fix linking on Darwin.
 -else
 -  LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
 -fi
-+LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
++LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}"
  
  
  # Check whether right shifting a negative integer extends the sign bit



Home | Main Index | Thread Index | Old Index