diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-11-20 22:14:01 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-11-20 22:14:01 +0000 |
commit | ea1c2647d965ffa4f17e508ab48677faa150af87 (patch) | |
tree | 3c7b4b9c8d7f476062f86e1681f2099378c0bd19 /lang/jython/distinfo | |
parent | e954142267cecc7cbd179e4ad9d45ffe21b11528 (diff) | |
download | ports-ea1c2647d965ffa4f17e508ab48677faa150af87.tar.gz ports-ea1c2647d965ffa4f17e508ab48677faa150af87.zip |
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>
Notes
Notes:
svn path=/head/; revision=402105
Diffstat (limited to 'lang/jython/distinfo')
-rw-r--r-- | lang/jython/distinfo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/jython/distinfo b/lang/jython/distinfo index 703dce7bca9b..302e980e5d79 100644 --- a/lang/jython/distinfo +++ b/lang/jython/distinfo @@ -1,2 +1,2 @@ -SHA256 (jython-installer-2.5.3.jar) = 05405966cdfa57abc8e705dd6aab92b8240097ce709fb916c8a0dbcaa491f99e -SIZE (jython-installer-2.5.3.jar) = 18487200 +SHA256 (jython-installer-2.7.0.jar) = b44352ece72382268a60e2848741c96609a91d796bb9a9c6ebeff62f0c12c9cf +SIZE (jython-installer-2.7.0.jar) = 92889527 |