From owner-freebsd-python@freebsd.org Fri Nov 20 22:14:48 2015 Return-Path: <owner-freebsd-python@freebsd.org> Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EC73A34758 for <freebsd-python@mailman.ysv.freebsd.org>; Fri, 20 Nov 2015 22:14:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 22F441532 for <freebsd-python@freebsd.org>; Fri, 20 Nov 2015 22:14:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1F7B9A34757; Fri, 20 Nov 2015 22:14:48 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F122A34756 for <python@mailman.ysv.freebsd.org>; Fri, 20 Nov 2015 22:14:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E6DD7152D for <python@FreeBSD.org>; Fri, 20 Nov 2015 22:14:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tAKMEl9N021488 for <python@FreeBSD.org>; Fri, 20 Nov 2015 22:14:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 204231] [patch] lang/jython: Fix numerous bugs and update to 2.7.0 Date: Fri, 20 Nov 2015 22:14:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: <bug-204231-21822-yO7TB62yEG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-204231-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-204231-21822@https.bugs.freebsd.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 20 Nov 2015 22:14:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204231 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: rm Date: Fri Nov 20 22:14:01 UTC 2015 New revision: 402105 URL: https://svnweb.freebsd.org/changeset/ports/402105 Log: lang/jython: update to 2.7.0 - update to 2.7.0 - change MASTER_SITES to use https and modern mirror as suggested by [1] - Jython uses two licenses, indicate that in the port. Extract the licenses from the jar earlier so ports framework can find them - the port complains when trying to build with openjdk6, so set JAVA_VERSION to 1.7+ - mark NO_ARCH - null the PATH for installer invocation. If installer finds python2.7 in PATH it installs python wrapper script instead of bash one. [2] - exclude "ensurepip" module from the installation as it doesn't build on FreeBSD - change kinda dirty and not obvious replacement of "-cl"(asspath) to addition to JAVA_OPTS. This hack is needed to place jython cachedir into user's home directory, as it needs to be writable by the user invoking jython - write comments to not obvious parts of the installation - wrapper script is now placed in bin/ directory in JYTHON_PREFIX rather then in root, fix that - Jython uses *$py.class files as an analog for *.pyc ones in plain Python, installer puts pre-compiled *$py.class files into the STAGEDIR. We need to recompile that because, after installation: 1) If we invoke Jython as user - it can't use the *$py.class files as they have different source path inside, slowing down the startup; 2) If we invoke jython as root - it will recompile the *$py.class files breaking the de-installation process of the package. Compilation phase always have non-portrelated errors, so we need to ignore it's exit code - Don't ignore the exit code of symlink installation as we don't expect that to fail [1] https://central.maven.org/ [2] https://hg.python.org/jython/file/tip/installer/src/java/org/python/util/install/StartScriptGenerator.java#l22 PR: 204231 Submitted by: Sergey Kozlov <kozlov.sergey.404@gmail.com> Changes: head/lang/jython/Makefile head/lang/jython/distinfo head/lang/jython/pkg-plist -- You are receiving this mail because: You are the assignee for the bug.