python35: Disable libpython3.so. This is a useless library (we've built it incorrectly for a long time so it contains no valid symbols) that only creates CONFLICTS with other python3 packages. No objection on tech-pkg. Bump PKGREVISION.diff -r1.11 -r1.12 pkgsrc/lang/python35/Makefile
(jperkin)
@@ -1,18 +1,19 @@ | @@ -1,18 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.11 2017/11/22 19:16:20 bsiegert Exp $ | 1 | # $NetBSD: Makefile,v 1.12 2017/12/13 12:55:32 jperkin Exp $ | |
2 | 2 | |||
3 | .include "dist.mk" | 3 | .include "dist.mk" | |
4 | 4 | |||
5 | PKGNAME= python35-${PY_DISTVERSION} | 5 | PKGNAME= python35-${PY_DISTVERSION} | |
6 | PKGREVISION= 1 | |||
6 | CATEGORIES= lang python | 7 | CATEGORIES= lang python | |
7 | 8 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://www.python.org/ | 10 | HOMEPAGE= https://www.python.org/ | |
10 | COMMENT= Interpreted, interactive, object-oriented programming language | 11 | COMMENT= Interpreted, interactive, object-oriented programming language | |
11 | LICENSE= python-software-foundation | 12 | LICENSE= python-software-foundation | |
12 | 13 | |||
13 | CONFLICTS+= python-[0-9]* | 14 | CONFLICTS+= python-[0-9]* | |
14 | 15 | |||
15 | PLIST_AWK+= -f ${PKGSRCDIR}/lang/python/plist-python.awk | 16 | PLIST_AWK+= -f ${PKGSRCDIR}/lang/python/plist-python.awk | |
16 | PLIST_AWK_ENV+= PYVERS=35 | 17 | PLIST_AWK_ENV+= PYVERS=35 | |
17 | PRINT_PLIST_AWK+= /^[^@]/ && /[^\/]+\.pyc$$/ { | 18 | PRINT_PLIST_AWK+= /^[^@]/ && /[^\/]+\.pyc$$/ { | |
18 | PRINT_PLIST_AWK+= sub(/__pycache__\//, "") | 19 | PRINT_PLIST_AWK+= sub(/__pycache__\//, "") |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2017/08/14 09:16:28 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2017/12/13 12:55:32 jperkin Exp $ | |
2 | bin/2to3-${PY_VER_SUFFIX} | 2 | bin/2to3-${PY_VER_SUFFIX} | |
3 | bin/pydoc${PY_VER_SUFFIX} | 3 | bin/pydoc${PY_VER_SUFFIX} | |
4 | bin/python${PY_VER_SUFFIX} | 4 | bin/python${PY_VER_SUFFIX} | |
5 | bin/python${PY_VER_SUFFIX}-config | 5 | bin/python${PY_VER_SUFFIX}-config | |
6 | bin/pyvenv-${PY_VER_SUFFIX} | 6 | bin/pyvenv-${PY_VER_SUFFIX} | |
7 | include/python${PY_VER_SUFFIX}/Python-ast.h | 7 | include/python${PY_VER_SUFFIX}/Python-ast.h | |
8 | include/python${PY_VER_SUFFIX}/Python.h | 8 | include/python${PY_VER_SUFFIX}/Python.h | |
9 | include/python${PY_VER_SUFFIX}/abstract.h | 9 | include/python${PY_VER_SUFFIX}/abstract.h | |
10 | include/python${PY_VER_SUFFIX}/accu.h | 10 | include/python${PY_VER_SUFFIX}/accu.h | |
11 | include/python${PY_VER_SUFFIX}/asdl.h | 11 | include/python${PY_VER_SUFFIX}/asdl.h | |
12 | include/python${PY_VER_SUFFIX}/ast.h | 12 | include/python${PY_VER_SUFFIX}/ast.h | |
13 | include/python${PY_VER_SUFFIX}/bitset.h | 13 | include/python${PY_VER_SUFFIX}/bitset.h | |
14 | include/python${PY_VER_SUFFIX}/bltinmodule.h | 14 | include/python${PY_VER_SUFFIX}/bltinmodule.h | |
@@ -94,27 +94,26 @@ include/python${PY_VER_SUFFIX}/structmem | @@ -94,27 +94,26 @@ include/python${PY_VER_SUFFIX}/structmem | |||
94 | include/python${PY_VER_SUFFIX}/structseq.h | 94 | include/python${PY_VER_SUFFIX}/structseq.h | |
95 | include/python${PY_VER_SUFFIX}/symtable.h | 95 | include/python${PY_VER_SUFFIX}/symtable.h | |
96 | include/python${PY_VER_SUFFIX}/sysmodule.h | 96 | include/python${PY_VER_SUFFIX}/sysmodule.h | |
97 | include/python${PY_VER_SUFFIX}/token.h | 97 | include/python${PY_VER_SUFFIX}/token.h | |
98 | include/python${PY_VER_SUFFIX}/traceback.h | 98 | include/python${PY_VER_SUFFIX}/traceback.h | |
99 | include/python${PY_VER_SUFFIX}/tupleobject.h | 99 | include/python${PY_VER_SUFFIX}/tupleobject.h | |
100 | include/python${PY_VER_SUFFIX}/typeslots.h | 100 | include/python${PY_VER_SUFFIX}/typeslots.h | |
101 | include/python${PY_VER_SUFFIX}/ucnhash.h | 101 | include/python${PY_VER_SUFFIX}/ucnhash.h | |
102 | include/python${PY_VER_SUFFIX}/unicodeobject.h | 102 | include/python${PY_VER_SUFFIX}/unicodeobject.h | |
103 | include/python${PY_VER_SUFFIX}/warnings.h | 103 | include/python${PY_VER_SUFFIX}/warnings.h | |
104 | include/python${PY_VER_SUFFIX}/weakrefobject.h | 104 | include/python${PY_VER_SUFFIX}/weakrefobject.h | |
105 | lib/libpython${PY_VER_SUFFIX}.so | 105 | lib/libpython${PY_VER_SUFFIX}.so | |
106 | lib/libpython${PY_VER_SUFFIX}.so.1.0 | 106 | lib/libpython${PY_VER_SUFFIX}.so.1.0 | |
107 | lib/libpython3.so | |||
108 | lib/pkgconfig/python-${PY_VER_SUFFIX}.pc | 107 | lib/pkgconfig/python-${PY_VER_SUFFIX}.pc | |
109 | lib/python${PY_VER_SUFFIX}/LICENSE.txt | 108 | lib/python${PY_VER_SUFFIX}/LICENSE.txt | |
110 | lib/python${PY_VER_SUFFIX}/__future__.py | 109 | lib/python${PY_VER_SUFFIX}/__future__.py | |
111 | lib/python${PY_VER_SUFFIX}/__future__.pyc | 110 | lib/python${PY_VER_SUFFIX}/__future__.pyc | |
112 | lib/python${PY_VER_SUFFIX}/__future__.pyo | 111 | lib/python${PY_VER_SUFFIX}/__future__.pyo | |
113 | lib/python${PY_VER_SUFFIX}/__phello__.foo.py | 112 | lib/python${PY_VER_SUFFIX}/__phello__.foo.py | |
114 | lib/python${PY_VER_SUFFIX}/__phello__.foo.pyc | 113 | lib/python${PY_VER_SUFFIX}/__phello__.foo.pyc | |
115 | lib/python${PY_VER_SUFFIX}/__phello__.foo.pyo | 114 | lib/python${PY_VER_SUFFIX}/__phello__.foo.pyo | |
116 | lib/python${PY_VER_SUFFIX}/_bootlocale.py | 115 | lib/python${PY_VER_SUFFIX}/_bootlocale.py | |
117 | lib/python${PY_VER_SUFFIX}/_bootlocale.pyc | 116 | lib/python${PY_VER_SUFFIX}/_bootlocale.pyc | |
118 | lib/python${PY_VER_SUFFIX}/_bootlocale.pyo | 117 | lib/python${PY_VER_SUFFIX}/_bootlocale.pyo | |
119 | lib/python${PY_VER_SUFFIX}/_collections_abc.py | 118 | lib/python${PY_VER_SUFFIX}/_collections_abc.py | |
120 | lib/python${PY_VER_SUFFIX}/_collections_abc.pyc | 119 | lib/python${PY_VER_SUFFIX}/_collections_abc.pyc |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | $NetBSD: distinfo,v 1.13 2017/11/01 21:51:22 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.14 2017/12/13 12:55:32 jperkin Exp $ | |
2 | 2 | |||
3 | SHA1 (Python-3.5.4.tar.xz) = 4aacbd09ca6988255de84a98ab9e4630f584efba | 3 | SHA1 (Python-3.5.4.tar.xz) = 4aacbd09ca6988255de84a98ab9e4630f584efba | |
4 | RMD160 (Python-3.5.4.tar.xz) = b0df9be4047421672456c9c57b4ddc0aaad7c095 | 4 | RMD160 (Python-3.5.4.tar.xz) = b0df9be4047421672456c9c57b4ddc0aaad7c095 | |
5 | SHA512 (Python-3.5.4.tar.xz) = dbbe2740ee1cce5404b7b6436a9b3887e15f415a1006efa22014ec7e5b1e48c43eed0ff98f6f5b365c527b8d2525be4ce72bbe404ce71c0835529fcd6f0267ff | 5 | SHA512 (Python-3.5.4.tar.xz) = dbbe2740ee1cce5404b7b6436a9b3887e15f415a1006efa22014ec7e5b1e48c43eed0ff98f6f5b365c527b8d2525be4ce72bbe404ce71c0835529fcd6f0267ff | |
6 | Size (Python-3.5.4.tar.xz) = 15332320 bytes | 6 | Size (Python-3.5.4.tar.xz) = 15332320 bytes | |
7 | SHA1 (patch-Lib_distutils_command_install.py) = 9b44f339f65f029b7f17dbc654739a7ae3c12780 | 7 | SHA1 (patch-Lib_distutils_command_install.py) = 9b44f339f65f029b7f17dbc654739a7ae3c12780 | |
8 | SHA1 (patch-Lib_distutils_unixccompiler.py) = 7d0b70a64b79ee6084c41d8fbb01c8e8e4553419 | 8 | SHA1 (patch-Lib_distutils_unixccompiler.py) = 7d0b70a64b79ee6084c41d8fbb01c8e8e4553419 | |
9 | SHA1 (patch-Makefile.pre.in) = 330a1a74fbd967e0777860fa3ceecb88ac2eb7fd | 9 | SHA1 (patch-Makefile.pre.in) = a142218a5fe424891faab2f9c77715b4dd196fd8 | |
10 | SHA1 (patch-Modules___cursesmodule.c) = 2ab2779e0418a4529987641c254686ba05d28593 | 10 | SHA1 (patch-Modules___cursesmodule.c) = 2ab2779e0418a4529987641c254686ba05d28593 | |
11 | SHA1 (patch-Modules_makesetup) = c9b571eb54fdf0b1e93524a6de6780e8c4119221 | 11 | SHA1 (patch-Modules_makesetup) = c9b571eb54fdf0b1e93524a6de6780e8c4119221 | |
12 | SHA1 (patch-Modules_nismodule.c) = bd290417c265846e238660180e60e76c0f5f696a | 12 | SHA1 (patch-Modules_nismodule.c) = bd290417c265846e238660180e60e76c0f5f696a | |
13 | SHA1 (patch-Modules_socketmodule.c) = 63d583340b071b07ff3e31cf332fcc2ca9ab50e3 | 13 | SHA1 (patch-Modules_socketmodule.c) = 63d583340b071b07ff3e31cf332fcc2ca9ab50e3 | |
14 | SHA1 (patch-Modules_socketmodule.h) = 13a3290eb72078067060d3e71b7baa08f3eb591c | 14 | SHA1 (patch-Modules_socketmodule.h) = 13a3290eb72078067060d3e71b7baa08f3eb591c | |
15 | SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be | 15 | SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be | |
16 | SHA1 (patch-configure) = fcdc55c8cc84017364f840f35e7ec4a131074520 | 16 | SHA1 (patch-configure) = fcdc55c8cc84017364f840f35e7ec4a131074520 | |
17 | SHA1 (patch-pyconfig.h.in) = 5d11bd737a949f89b3fbd14db4920873bcc3282e | 17 | SHA1 (patch-pyconfig.h.in) = 5d11bd737a949f89b3fbd14db4920873bcc3282e | |
18 | SHA1 (patch-setup.py) = 7d8afe5e799c8373fe41fbb65e283e0c6f3967d2 | 18 | SHA1 (patch-setup.py) = 7d8afe5e799c8373fe41fbb65e283e0c6f3967d2 |
@@ -1,26 +1,37 @@ | @@ -1,26 +1,37 @@ | |||
1 | $NetBSD: patch-Makefile.pre.in,v 1.4 2017/08/14 09:16:28 adam Exp $ | 1 | $NetBSD: patch-Makefile.pre.in,v 1.5 2017/12/13 12:55:32 jperkin Exp $ | |
2 | ||||
3 | Do not build/install libpython3.so. | |||
2 | 4 | |||
3 | --- Makefile.pre.in.orig 2017-08-07 07:59:11.000000000 +0000 | 5 | --- Makefile.pre.in.orig 2017-08-07 07:59:11.000000000 +0000 | |
4 | +++ Makefile.pre.in | 6 | +++ Makefile.pre.in | |
5 | @@ -92,7 +92,7 @@ PY_CFLAGS_NODIST=$(CONFIGURE_CFLAGS_NODI | 7 | @@ -92,7 +92,7 @@ PY_CFLAGS_NODIST=$(CONFIGURE_CFLAGS_NODI | |
6 | # be able to build extension modules using the directories specified in the | 8 | # be able to build extension modules using the directories specified in the | |
7 | # environment variables | 9 | # environment variables | |
8 | PY_CPPFLAGS= $(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS) | 10 | PY_CPPFLAGS= $(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS) | |
9 | -PY_LDFLAGS= $(CONFIGURE_LDFLAGS) $(LDFLAGS) | 11 | -PY_LDFLAGS= $(CONFIGURE_LDFLAGS) $(LDFLAGS) | |
10 | +PY_LDFLAGS= -L. $(CONFIGURE_LDFLAGS) $(LDFLAGS) | 12 | +PY_LDFLAGS= -L. $(CONFIGURE_LDFLAGS) $(LDFLAGS) | |
11 | NO_AS_NEEDED= @NO_AS_NEEDED@ | 13 | NO_AS_NEEDED= @NO_AS_NEEDED@ | |
12 | LDLAST= @LDLAST@ | 14 | LDLAST= @LDLAST@ | |
13 | SGI_ABI= @SGI_ABI@ | 15 | SGI_ABI= @SGI_ABI@ | |
16 | @@ -202,7 +202,7 @@ DIST= $(DISTFILES) $(DISTDIRS) | |||
17 | LIBRARY= @LIBRARY@ | |||
18 | LDLIBRARY= @LDLIBRARY@ | |||
19 | BLDLIBRARY= @BLDLIBRARY@ | |||
20 | -PY3LIBRARY= @PY3LIBRARY@ | |||
21 | +PY3LIBRARY= | |||
22 | DLLLIBRARY= @DLLLIBRARY@ | |||
23 | LDLIBRARYDIR= @LDLIBRARYDIR@ | |||
24 | INSTSONAME= @INSTSONAME@ | |||
14 | @@ -864,7 +864,7 @@ regen-opcode-targets: | 25 | @@ -864,7 +864,7 @@ regen-opcode-targets: | |
15 | $(PYTHON_FOR_REGEN) $(srcdir)/Python/makeopcodetargets.py \ | 26 | $(PYTHON_FOR_REGEN) $(srcdir)/Python/makeopcodetargets.py \ | |
16 | $(srcdir)/Python/opcode_targets.h | 27 | $(srcdir)/Python/opcode_targets.h | |
17 | 28 | |||
18 | -Python/ceval.o: $(srcdir)/Python/opcode_targets.h $(srcdir)/Python/ceval_gil.h | 29 | -Python/ceval.o: $(srcdir)/Python/opcode_targets.h $(srcdir)/Python/ceval_gil.h | |
19 | +#Python/ceval.o: $(srcdir)/Python/opcode_targets.h $(srcdir)/Python/ceval_gil.h | 30 | +#Python/ceval.o: $(srcdir)/Python/opcode_targets.h $(srcdir)/Python/ceval_gil.h | |
20 | 31 | |||
21 | Python/frozen.o: $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib_external.h | 32 | Python/frozen.o: $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib_external.h | |
22 | 33 | |||
23 | @@ -1110,7 +1110,8 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORK | 34 | @@ -1110,7 +1110,8 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORK | |
24 | if test -n "$(PY3LIBRARY)"; then \ | 35 | if test -n "$(PY3LIBRARY)"; then \ | |
25 | $(INSTALL_SHARED) $(PY3LIBRARY) $(DESTDIR)$(LIBDIR)/$(PY3LIBRARY); \ | 36 | $(INSTALL_SHARED) $(PY3LIBRARY) $(DESTDIR)$(LIBDIR)/$(PY3LIBRARY); \ | |
26 | fi; \ | 37 | fi; \ |