[med-svn] [libsbml] 13/14: Revert the try to support Python3 - it simply does not work that way but there is a Python3 version of libsbml available at pypi which should be packaged separately

Andreas Tille tille at debian.org
Thu Dec 15 10:49:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository libsbml.

commit db74d93153af79a965c7642939b9429a671c7ff1
Author: Andreas Tille <tille at debian.org>
Date:   Thu Dec 15 08:16:16 2016 +0100

    Revert the try to support Python3 - it simply does not work that way but there is a Python3 version of libsbml available at pypi which should be packaged separately
---
 debian/changelog                |  2 --
 debian/control                  | 18 ------------------
 debian/libsbml5-python3.install |  1 -
 debian/rules                    |  4 ++--
 4 files changed, 2 insertions(+), 23 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index df8a35c..ff71f7a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,6 @@ libsbml (5.13.0+dfsg-1) UNRELEASED; urgency=medium
   * hardening=+all
   * Use triggers instead of explicit ldconfig calls
   * debhelper 10
-  * Add Python3 bindings
-    Closes: #847013
   * Proper dealing with lintian-overrides
 
  -- Afif Elghraoui <afif at debian.org>  Tue, 13 Dec 2016 11:11:27 +0100
diff --git a/debian/control b/debian/control
index f337209..2682187 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,6 @@ Build-Depends: autoconf,
                swig,
                libxml2-dev,
                python-dev,
-               python3-dev,
                perl,
                libperl-dev,
                default-jdk,
@@ -76,23 +75,6 @@ Description: System Biology Markup Language library - Python bindings
  .
  This package contains the Python bindings of LibSBML.
 
-Package: libsbml5-python3
-Architecture: any
-Section: python
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         ${python3:Depends},
-         swig2.0 | swig
-Provides: python-sbml,
-          libsbml-python
-Description: System Biology Markup Language library - Python3 bindings
- LibSBML is a library designed to help you read, write, manipulate,
- translate, and validate SBML files and data streams. It is not an
- application itself (though it does come with many example programs),
- but rather a library you can embed in your own applications.
- .
- This package contains the Python3 bindings of LibSBML.
-
 Package: libsbml5-java
 Architecture: any
 Section: java
diff --git a/debian/libsbml5-python3.install b/debian/libsbml5-python3.install
deleted file mode 100644
index 4606faa..0000000
--- a/debian/libsbml5-python3.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3*
diff --git a/debian/rules b/debian/rules
index 99e6088..17a8924 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,7 +37,7 @@ endif
 DEB_COMPRESS_EXCLUDE = .pdf
 
 %:
-	dh  $@ --with python2,python3,cli
+	dh  $@ --with python2,cli
 
 get-orig-source:
 	uscan --verbose --download-current-version --force-download --repack --compression xz
@@ -85,7 +85,7 @@ override_dh_auto_install:
 	find $(debtmp)/usr -type f -name "*.js" -delete
 	find $(debtmp)/usr -type f -name "*.md5" -delete
 	find $(debtmp)/usr -type f -exec chmod 644 {} +
-	for pyv in `py3versions -s` `pyversions -s` ; do \
+	for pyv in `pyversions -s` ; do \
 	    test -e $(debtmp)/usr/lib/$${pyv}/site-packages && mv $(debtmp)/usr/lib/python$${pyv}/site-packages $(debtmp)/usr/lib/python$${pyv}/dist-packages || true ; \
 	done
 	find $(debtmp)/usr/lib -name "*.mex*" -exec strip --strip-unneeded {} + || true

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libsbml.git



More information about the debian-med-commit mailing list