head 1.4; access; symbols pkgsrc-2017Q4:1.3.0.2 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.2.0.24 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.20 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.18 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.16 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.14 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.12 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.10 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.8 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.6 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.4 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.2 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.1.0.6 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2018.02.05.17.35.12; author adam; state dead; branches; next 1.3; commitid pfO6EJzPpD7E9HpA; 1.3 date 2017.12.13.12.54.57; author jperkin; state Exp; branches; next 1.2; commitid EEpAQ6TBgj1ykJiA; 1.2 date 2015.03.16.13.53.05; author tnn; state Exp; branches; next 1.1; commitid uhXlPiEsJobIUPdy; 1.1 date 2014.05.09.02.27.14; author wen; state Exp; branches; next ; commitid d0cYvuL9ekui7Ozx; desc @@ 1.4 log @python34: updated to 3.4.8 3.4.8: This is a bug-fix release. @ text @$NetBSD: patch-au,v 1.3 2017/12/13 12:54:57 jperkin Exp $ Do not build/install libpython3.so. --- Makefile.pre.in.orig 2017-08-09 07:08:33.000000000 +0000 +++ Makefile.pre.in @@@@ -86,7 +86,7 @@@@ PY_CFLAGS_NODIST=$(CONFIGURE_CFLAGS_NODI # be able to build extension modules using the directories specified in the # environment variables PY_CPPFLAGS= $(BASECPPFLAGS) -I. -IInclude -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS) -PY_LDFLAGS= $(CONFIGURE_LDFLAGS) $(LDFLAGS) +PY_LDFLAGS= -L. $(CONFIGURE_LDFLAGS) $(LDFLAGS) NO_AS_NEEDED= @@NO_AS_NEEDED@@ LDLAST= @@LDLAST@@ SGI_ABI= @@SGI_ABI@@ @@@@ -194,7 +194,7 @@@@ DIST= $(DISTFILES) $(DISTDIRS) LIBRARY= @@LIBRARY@@ LDLIBRARY= @@LDLIBRARY@@ BLDLIBRARY= @@BLDLIBRARY@@ -PY3LIBRARY= @@PY3LIBRARY@@ +PY3LIBRARY= DLLLIBRARY= @@DLLLIBRARY@@ LDLIBRARYDIR= @@LDLIBRARYDIR@@ INSTSONAME= @@INSTSONAME@@ @@@@ -683,7 +683,7 @@@@ Modules/_testembed: Modules/_testembed.o Modules/_freeze_importlib: Modules/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LINKCC) $(PY_LDFLAGS) -o $@@ Modules/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) -Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Modules/_freeze_importlib.c +Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Modules/_freeze_importlib.c $(LIBRARY_OBJS_OMIT_FROZEN) $(MAKE) Modules/_freeze_importlib ./Modules/_freeze_importlib \ $(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h @@@@ -828,7 +828,7 @@@@ Objects/setobject.o: $(srcdir)/Objects/s $(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES) $(OPCODETARGETGEN) $(OPCODETARGETS_H) -Python/ceval.o: $(OPCODETARGETS_H) $(srcdir)/Python/ceval_gil.h +#Python/ceval.o: $(OPCODETARGETS_H) $(srcdir)/Python/ceval_gil.h Python/frozen.o: Python/importlib.h @@@@ -1066,7 +1066,8 @@@@ altbininstall: $(BUILDPYTHON) @@FRAMEWORK if test -n "$(PY3LIBRARY)"; then \ $(INSTALL_SHARED) $(PY3LIBRARY) $(DESTDIR)$(LIBDIR)/$(PY3LIBRARY); \ fi; \ - else true; \ + elif test -f $(INSTSONAME); then \ + $(INSTALL_SHARED) $(INSTSONAME) $(DESTDIR)$(LIBDIR); \ fi if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \ rm -f $(DESTDIR)$(BINDIR)python$(VERSION)-32$(EXE); \ @ 1.3 log @python34: 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. @ text @d1 1 a1 1 $NetBSD: patch-au,v 1.2 2015/03/16 13:53:05 tnn Exp $ @ 1.2 log @Fix a MAKE_JOBS safety problem. In the recipe for Python/importlib.h it launches a submake for _freeze_importlib before all the object files have been compiled. List $(LIBRARY_OBJS_OMIT_FROZEN) as dependencies to make it wait until it is safe to launch the submake. Should fix occasional errors of the sort: Python/Python-ast.o: file not recognized: File truncated *** [Modules/_freeze_importlib] Error code 1 @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 --- Makefile.pre.in.orig 2015-02-25 11:27:45.000000000 +0000 d16 9 @ 1.1 log @Import python-3.4.0 as lang/python34. 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. @ text @d3 1 a3 1 --- Makefile.pre.in.orig 2014-05-04 20:07:49.000000000 +0000 d5 1 a5 1 @@@@ -81,7 +81,7 @@@@ PY_CFLAGS= $(BASECFLAGS) $(OPT) $(CONFIG d14 10 a23 1 @@@@ -812,7 +812,7 @@@@ Objects/setobject.o: $(srcdir)/Objects/s d32 1 a32 1 @@@@ -1050,7 +1050,8 @@@@ altbininstall: $(BUILDPYTHON) @@FRAMEWORK @