Skip to content

Commits on Source 3

jython (2.7.1+repack1-4) unstable; urgency=medium
* Team upload.
* Preserve the backward compatibility with Java 7 (Closes: #934111)
* Adjusted the Vcs-* fields
-- Emmanuel Bourg <ebourg@apache.org> Thu, 08 Aug 2019 10:11:23 +0200
jython (2.7.1+repack1-3) unstable; urgency=medium
* Improve previous fix with default-jre-headless (>= 2:1.9), thanks to
......
......@@ -25,14 +25,14 @@ Build-Depends-Indep: default-jdk,
libicu4j-java,
libnetty-java
Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/java-team/jython
Vcs-Browser: https://salsa.debian.org/java-team/jython.git
Vcs-Git: https://salsa.debian.org/java-team/jython.git
Vcs-Browser: https://salsa.debian.org/java-team/jython
Homepage: http://www.jython.org
Package: jython
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}, ${python:Depends}, ${java:Depends},
default-jre-headless (>= 2:1.9) | java9-runtime-headless,
default-jre-headless (>= 2:1.7) | java7-runtime-headless,
Recommends: default-jdk | java-compiler
Suggests: jython-doc, libmariadb-java, libpostgresql-jdbc-java
Description: Python seamlessly integrated with Java
......
Description: Preserves the backward compatibility with previous Java versions when built with Java 11+
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not
--- a/build.xml
+++ b/build.xml
@@ -436,6 +436,7 @@
destdir="${compile.dir}"
target="${jdk.target.version}"
source="${jdk.source.version}"
+ release="${jdk.target.version}"
debug="${debug}"
deprecation="${deprecation}"
nowarn="${nowarn}">
@@ -483,6 +484,7 @@
<javac destdir="${compile.dir}"
target="${jdk.target.version}"
source="${jdk.source.version}"
+ release="${jdk.target.version}"
debug="${debug}"
deprecation="${deprecation}"
nowarn="${nowarn}"
@@ -502,6 +504,7 @@
destdir="${compile.dir}"
target="${jdk.target.version}"
source="${jdk.source.version}"
+ release="${jdk.target.version}"
debug="${debug}"
deprecation="${deprecation}"
nowarn="${nowarn}">
@@ -513,6 +516,7 @@
destdir="${compile.dir}"
target="${jdk.target.version}"
source="${jdk.source.version}"
+ release="${jdk.target.version}"
debug="${debug}"
deprecation="${deprecation}"
nowarn="${nowarn}"
@@ -882,6 +886,7 @@
destdir="${compile.dir}"
target="${jdk.target.version}"
source="${jdk.source.version}"
+ release="${jdk.target.version}"
debug="${debug}"
deprecation="${deprecation}"
nowarn="${nowarn}"
......@@ -4,3 +4,4 @@
05-no-com.carrotsearch.sizeof.patch
javadoc-classpath.patch
reproducible-builds.patch
08-java-backward-compatibility.patch
......@@ -74,6 +74,7 @@ override_dh_auto_build:
# Build the class files.
# -nouserlib is required to prevent conflicts with the ant jython plugin
ant -nouserlib developer-build jar javadoc \
-Djython.java.version=7 \
-Dmain.classpath=$(OUR_MAIN_CLASSPATH) \
-Dtest.classpath=$(OUR_TEST_CLASSPATH) \
-Druntime.classpath="$(OUR_RUNTIME_CLASSPATH)"
......