Date: Thu, 18 Aug 2016 02:48:39 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420379 - in head/devel/nuitka: . files Message-ID: <201608180248.u7I2mdoQ043884@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Thu Aug 18 02:48:39 2016 New Revision: 420379 URL: https://svnweb.freebsd.org/changeset/ports/420379 Log: - Update Nuitka to version 0.5.22 - Make it work on PowerPC where Clang is not the default compiler yet NB: TIMESTAMP line in distinfo should read as follows, but has to stay in its current form due to a bug in the hook script: TIMESTAMP (Nuitka-0.5.22.tar.bz2) = 1471339534 Added: head/devel/nuitka/files/ head/devel/nuitka/files/patch-nuitka_build_SingleExe.scons (contents, props changed) Modified: head/devel/nuitka/Makefile head/devel/nuitka/distinfo Modified: head/devel/nuitka/Makefile ============================================================================== --- head/devel/nuitka/Makefile Thu Aug 18 02:21:07 2016 (r420378) +++ head/devel/nuitka/Makefile Thu Aug 18 02:48:39 2016 (r420379) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= nuitka -PORTVERSION= 0.5.21 +PORTVERSION= 0.5.22 CATEGORIES= devel python MASTER_SITES= http://nuitka.net/releases/ DISTNAME= Nuitka-${PORTVERSION} Modified: head/devel/nuitka/distinfo ============================================================================== --- head/devel/nuitka/distinfo Thu Aug 18 02:21:07 2016 (r420378) +++ head/devel/nuitka/distinfo Thu Aug 18 02:48:39 2016 (r420379) @@ -1,2 +1,3 @@ -SHA256 (Nuitka-0.5.21.tar.bz2) = 29b16b2bdd6894536037b246beb4d04c10c645a7750795fa3bb3b1d2ad110e61 -SIZE (Nuitka-0.5.21.tar.bz2) = 1185182 +TIMESTAMP = 1471339534 +SHA256 (Nuitka-0.5.22.tar.bz2) = 9d4bce77c15e7aefba9ce934dc99ccdfd3106ef7cda09fba3769713a8ae086bd +SIZE (Nuitka-0.5.22.tar.bz2) = 1203830 Added: head/devel/nuitka/files/patch-nuitka_build_SingleExe.scons ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/nuitka/files/patch-nuitka_build_SingleExe.scons Thu Aug 18 02:48:39 2016 (r420379) @@ -0,0 +1,34 @@ +--- nuitka/build/SingleExe.scons.orig 2016-04-24 12:07:33 UTC ++++ nuitka/build/SingleExe.scons +@@ -110,9 +110,11 @@ uninstalled_python = getBoolOption("unin + # Unstriped mode: Do not remove debug symbols. + unstripped_mode = getBoolOption("unstripped_mode", False) + +-# Clang compiler mode, default on MacOS X and FreeBSD, optional on Linux. ++# Clang compiler mode, default on MacOS X and FreeBSD (unless PowerPC), ++# optional on Linux. + clang_mode = getBoolOption("clang_mode", False) +-if sys.platform == "darwin" or "freebsd" in sys.platform: ++if sys.platform == "darwin" or ("freebsd" in sys.platform and ++ platform.machine() != "powerpc"): + clang_mode = True + + # MinGW compiler mode, optional and interesting to Windows only. +@@ -448,7 +450,7 @@ orig_cxx_version = env.get("CXXVERSION", + if "g++" in (env["CXX"] or "") and "clang" not in (env["CXX"] or ""): + gpp_version, compiler_arch = getGccVersion() + +- if gpp_version is None or int(gpp_version.replace('.', "")) < 440: ++ if gpp_version is None or int(gpp_version.replace('.', "")) < 421: + env["CXX"] = None + elif win_target and compiler_arch != target_arch: + env["CXX"] = None +@@ -594,7 +596,7 @@ if "g++" in env["CXX"] and "clang" not i + # binary if it's not high enough. This is esp. useful under Debian which + # allows all compiler to exist next to each other and where g++ might not be + # good enough, but g++-4.5 would be. +- if gpp_version < 440: ++ if gpp_version < 421: + sys.exit( + """\ + The g++ compiler %s (version %s) doesn't have the sufficient \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608180248.u7I2mdoQ043884>