[Python-modules-commits] [python-jpype] 06/18: debian/control: Build python2 and python3 package.
Takaki Taniguchi
takaki at moszumanska.debian.org
Tue Jul 4 09:40:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
takaki pushed a commit to branch master
in repository python-jpype.
commit cf47693c728bb6586aa242723a541a988c52cba6
Author: TANIGUCHI Takaki <takaki at debian.org>
Date: Thu Jun 29 18:23:14 2017 +0900
debian/control: Build python2 and python3 package.
---
debian/control | 20 +++++++++++++++++++-
debian/rules | 3 ++-
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 3772780..423d95d 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Package: python-jpype
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, default-jre | java6-runtime-headless
Provides: ${python:Provides}
-Description: Binding the worlds of Java and Python
+Description: Binding the worlds of Java and Python (for Python 2)
JPype is an effort to allow Python programs full access to java class
libraries. This is achieved not through re-implementing Python, as
Jython/JPython has done, but rather through interfacing at the native
@@ -22,3 +22,21 @@ Description: Binding the worlds of Java and Python
Eventually, it should be possible to replace Java with Python in many,
though not all, situations. JSP, Servlets, RMI servers and IDE plugins
are good candidates.
+ .
+ This package for Python 2.
+
+Package: python3-jpype
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, default-jre | java6-runtime-headless
+Provides: ${python3:Provides}
+Description: Binding the worlds of Java and Python (for Python 3)
+ JPype is an effort to allow Python programs full access to java class
+ libraries. This is achieved not through re-implementing Python, as
+ Jython/JPython has done, but rather through interfacing at the native
+ level in both Virtual Machines.
+ .
+ Eventually, it should be possible to replace Java with Python in many,
+ though not all, situations. JSP, Servlets, RMI servers and IDE plugins
+ are good candidates.
+ .
+ This package for Python 3.
diff --git a/debian/rules b/debian/rules
index 918a03b..72b8fa8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java
# export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
+export PYBUILD_NAME=jpype
%:
- dh $@ --with python2
+ dh $@ --buildsystem=pybuild --with python2,python3
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-jpype.git
More information about the Python-modules-commits
mailing list