debian/0000775000000000000000000000000012144612063007167 5ustar debian/patches/0000775000000000000000000000000012144612063010616 5ustar debian/patches/default_jvm_path0000664000000000000000000000233012144606741014061 0ustar Index: python-jpype-0.5.4.2/src/python/jpype/_linux.py =================================================================== --- python-jpype-0.5.4.2.orig/src/python/jpype/_linux.py 2013-05-15 13:18:27.704339655 +0900 +++ python-jpype-0.5.4.2/src/python/jpype/_linux.py 2013-05-15 13:23:59.229960405 +0900 @@ -17,7 +17,8 @@ import os, re - +import subprocess +dpkg_arch = subprocess.check_output(['dpkg', '--print-architecture']).strip() _KNOWN_LOCATIONS = [ ("/opt/sun/", re.compile(r"j2sdk(.+)/jre/lib/i386/client/libjvm.so") ), @@ -26,12 +27,9 @@ ] JRE_ARCHS = [ - "amd64/server/libjvm.so", - "i386/client/libjvm.so", - "i386/server/libjvm.so", + "%s/server/libjvm.so" % dpkg_arch, ] - def getDefaultJVMPath() : jvm = _getJVMFromJavaHome() if jvm is not None : @@ -47,10 +45,10 @@ # TODO pass - return "/usr/java/jre1.5.0_05/lib/i386/client/libjvm.so" + return "/usr/lib/jvm/default-java/jre/lib/%s/server/libjvm.so" % dpkg_arch def _getJVMFromJavaHome(): - java_home = os.getenv("JAVA_HOME") + java_home = os.getenv("JAVA_HOME", '') rootJre = None if os.path.exists(java_home+"/bin/javac") : # this is a JDK home debian/patches/series0000664000000000000000000000002112144574622012034 0ustar default_jvm_path debian/source/0000775000000000000000000000000012144612063010467 5ustar debian/source/format0000664000000000000000000000001411506321150011670 0ustar 3.0 (quilt) debian/control0000664000000000000000000000213212144574255010602 0ustar Source: python-jpype Section: python Priority: extra Maintainer: Debian Python Modules Team Uploaders: TANIGUCHI Takaki Build-Depends: debhelper (>= 7), default-jdk, python-all-dev Standards-Version: 3.9.4 Homepage: http://jpype.sourceforge.net/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-jpype/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-jpype/trunk/ 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 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. debian/docs0000664000000000000000000000010611506321150010032 0ustar README-LINUX.TXT README-LINUX.TXT README.txt README.txt examples test debian/copyright0000664000000000000000000000214511506321150011117 0ustar This work was packaged for Debian by: TANIGUCHI Takaki on Sun, 18 Oct 2009 16:56:17 +0900 It was downloaded from http://jpype.sourceforge.net/ . Upstream Author: Steve Menard Copyright: Copyright 2004-2008 Steve Menard License: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. On Debian systems, the complete text of the Apache version 2.0 license can be found in `/usr/share/common-licenses/Apache-2.0'. The Debian packaging is: Copyright (C) 2009 TANIGUCHI Takaki and is licensed under the Apache License, Version 2.0 debian/pycompat0000664000000000000000000000000211506321150010731 0ustar 2 debian/changelog0000664000000000000000000000336412144611355011052 0ustar python-jpype (0.5.4.2-3) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ TANIGUCHI Takaki ] * Bump Standards Version to 3.9.4 (with no changes). * debian/patches/default_jvm_path: Set default JVM path. (Closes: #683048) * debian/control: B-D depends on only default-jdk. (Closes: #684278) -- TANIGUCHI Takaki Wed, 15 May 2013 13:30:55 +0900 python-jpype (0.5.4.2-2) unstable; urgency=low [ Jakub Wilk ] * Add Vcs-* fields. [ TANIGUCHI Takaki ] * Fixed FTBFS (Closes: #640345) * debian/rules: change JAVA_HOMEk * debian/control: add default-jre-headless to B-D. -- TANIGUCHI Takaki Tue, 27 Sep 2011 10:54:19 +0900 python-jpype (0.5.4.2-1) unstable; urgency=low * New upstream. -- TANIGUCHI Takaki Thu, 11 Aug 2011 21:51:48 +0900 python-jpype (0.5.4.1-4) unstable; urgency=low * Change Maintainer to DPMT. * Switch to dh_python2. * Bump Standards-Version to 3.9.2 (with no changes). -- TANIGUCHI Takaki Mon, 23 May 2011 11:17:05 +0900 python-jpype (0.5.4.1-3) unstable; urgency=low * debian/control: add java6-runtime-headeless to Depends:. (Closes: 601510) * debian/source/format: 3.0 (quilt). * debian/control: Bumped Standards-version to 3.9.1 - no changes necessary. -- TANIGUCHI Takaki Thu, 28 Oct 2010 14:03:10 +0900 python-jpype (0.5.4.1-2) unstable; urgency=low * debian/control: add openjdk-6-jdk to Build-Depends:. (Closes: #559090) -- TANIGUCHI Takaki Sun, 20 Dec 2009 17:03:26 +0900 python-jpype (0.5.4.1-1) unstable; urgency=low * Initial release (Closes: #551485) -- TANIGUCHI Takaki Sun, 18 Oct 2009 16:56:17 +0900 debian/watch0000664000000000000000000000151711506321150010217 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to examine a Webpage # #http://www.example.com/downloads.php python-jpype-(.*)\.tar\.gz # Uncomment to examine a Webserver directory #http://www.example.com/pub/python-jpype-(.*)\.tar\.gz # Uncommment to examine a FTP server #ftp://ftp.example.com/pub/python-jpype-(.*)\.tar\.gz debian uupdate # Uncomment to find new files on sourceforge, for devscripts >= 2.9 # http://sf.net/python-jpype/python-jpype-(.*)\.tar\.gz http://sf.net/jpype/JPype-(.*)\.zip # Uncomment to find new files on GooglePages # http://example.googlepages.com/foo.html python-jpype-(.*)\.tar\.gz debian/rules0000775000000000000000000000020711640226361010250 0ustar #!/usr/bin/make -f export JAVA_HOME=/usr/lib/jvm/default-java # export JAVA_HOME=/usr/lib/jvm/java-6-openjdk %: dh $@ --with python2 debian/compat0000664000000000000000000000000211506321150010360 0ustar 7