[med-svn] [libsbml] 01/01: Make fiddling around with debian/control due to matlab the exception

Andreas Tille tille at debian.org
Thu Dec 17 09:33:30 UTC 2015


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

tille pushed a commit to branch master
in repository libsbml.

commit 1f4f0cf0a17e119335a1a47ac510e69d9e37efe8
Author: Andreas Tille <tille at debian.org>
Date:   Thu Dec 17 10:31:18 2015 +0100

    Make fiddling around with debian/control due to matlab the exception
---
 debian/changelog      |   1 +
 debian/control        |  14 ---
 debian/control.in     | 244 --------------------------------------------------
 debian/control.matlab |  14 +++
 debian/rules          |   4 +-
 5 files changed, 16 insertions(+), 261 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 93caac1..fdb76de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,7 @@ libsbml (5.12.0+dfsg-1) UNRELEASED; urgency=medium
   * Do not Build-Depend from transitional package mono-gmcs but rather mono-mcs
   * move packaging from SVN to Git
   * cme fix dpkg-control
+  * make fiddling around with debian/control due to matlab the exception
 
  -- Andreas Tille <tille at debian.org>  Mon, 14 Dec 2015 15:16:36 +0100
 
diff --git a/debian/control b/debian/control
index 98b90f4..542629a 100644
--- a/debian/control
+++ b/debian/control
@@ -90,20 +90,6 @@ Description: System Biology Markup Language library - Python bindings
  .
  This package contains the Python bindings of LibSBML.
 
-#Package: libsbml5-matlab
-#Architecture: any
-#Section: contrib/math
-#Depends: ${shlibs:Depends},
-#         ${misc:Depends}
-#Provides: libsbml-matlab
-#Description: System Biology Markup Language library - matlab 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 matlab bindings of LibSBML.
-
 Package: libsbml5-java
 Architecture: any
 Section: java
diff --git a/debian/control.in b/debian/control.in
deleted file mode 100644
index 98b90f4..0000000
--- a/debian/control.in
+++ /dev/null
@@ -1,244 +0,0 @@
-Source: libsbml
-Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Ivo Maintz <ivo at maintz.de>,
-           Andreas Tille <tille at debian.org>
-Section: science
-Priority: optional
-Build-Depends: autoconf,
-               automake,
-               debhelper (>= 9.0.0),
-               cmake,
-               doxygen (>= 1.8.0),
-               swig (>= 2),
-               libxml2-dev,
-               python-dev,
-               perl,
-               libperl-dev,
-               openjdk-7-jdk,
-               octave-pkg-dev,
-               r-base-dev,
-               r-base-core,
-               graphviz,
-               zlib1g-dev,
-               libbz2-dev,
-               mono-devel,
-               mono-mcs,
-               cli-common-dev,
-               mono-runtime-common,
-               dpkg-dev (>= 1.16.1~),
-               texlive-latex-base
-Standards-Version: 3.9.6
-Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/libsbml.git
-Vcs-Git: git://anonscm.debian.org/debian-med/libsbml.git
-Homepage: http://www.sbml.org/
-
-Package: libsbml5-dev
-Architecture: any
-Section: libdevel
-Depends: libsbml5 (= ${binary:Version}),
-         ${misc:Depends}
-Provides: libsbml-dev
-Description: System Biology Markup Language library - development files
- 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 files necessary for development with libsbml.
-
-Package: libsbml5-dbg
-Architecture: any
-Section: debug
-Priority: extra
-Depends: libsbml5 (= ${binary:Version}),
-         ${misc:Depends}
-Provides: libsbml-dbg
-Description: System Biology Markup Language library - debug symbols
- 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 th debugging symbols for libsbml.
-
-Package: libsbml5
-Architecture: any
-Section: libs
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
-Pre-Depends: ${misc:Pre-Depends}
-Provides: libsbml
-Description: System Biology Markup Language library
- 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.
-
-Package: libsbml5-python
-Architecture: any
-Section: python
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         swig2.0 | swig (>= 2)
-Provides: python-sbml,
-          libsbml-python
-Description: System Biology Markup Language library - Python 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 Python bindings of LibSBML.
-
-#Package: libsbml5-matlab
-#Architecture: any
-#Section: contrib/math
-#Depends: ${shlibs:Depends},
-#         ${misc:Depends}
-#Provides: libsbml-matlab
-#Description: System Biology Markup Language library - matlab 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 matlab bindings of LibSBML.
-
-Package: libsbml5-java
-Architecture: any
-Section: java
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         jarwrapper
-Pre-Depends: ${misc:Pre-Depends}
-Provides: libsbml-java
-Description: System Biology Markup Language library - Java 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 Java bindings of LibSBML.
-
-Package: libsbml5-perl
-Architecture: any
-Section: perl
-Depends: ${shlibs:Depends},
-         ${perl:Depends},
-         ${misc:Depends}
-Provides: libsbml-perl
-Description: System Biology Markup Language library - Perl 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 Perl bindings of LibSBML.
-
-Package: libsbml5-octave
-Architecture: any
-Section: math
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         octave
-Provides: libsbml-octave
-Description: System Biology Markup Language library - Octave 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 Octave bindings of LibSBML.
-
-Package: libsbml5-cil
-Architecture: any
-Section: cli-mono
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         libsbml5-dev
-Provides: libsbml-cil
-Description: System Biology Markup Language library - CLI 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 CLI bindings of LibSBML.
-
-Package: libsbml5-examples
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Suggests: libsbml5-dev (= ${binary:Version})
-Description: System Biology Markup Language library -- example files
- 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 C/C++, Java, Perl and layout examples.
-
-Package: libsbml5-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Suggests: libsbml5-dev (= ${binary:Version})
-Description: System Biology Markup Language library -- documentation
- 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 C/C++ documentation.
-
-Package: libsbml5-cil-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Suggests: libsbml5-dev (= ${binary:Version})
-Description: System Biology Markup Language library -- CLI documentation
- 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 documentation for Mono/CLI bindings
-
-Package: libsbml5-java-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Suggests: libsbml5-dev (= ${binary:Version})
-Description: System Biology Markup Language library -- Java documentation
- 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 documentation for Java bindings
-
-Package: libsbml5-perl-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Suggests: libsbml5-dev (= ${binary:Version})
-Description: System Biology Markup Language library -- Perl documentation
- 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 documentation for Perl bindings
-
-Package: libsbml5-python-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Suggests: libsbml5-dev (= ${binary:Version})
-Description: System Biology Markup Language library -- Python documentation
- 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 documentation for Python bindings
diff --git a/debian/control.matlab b/debian/control.matlab
new file mode 100644
index 0000000..e179e3e
--- /dev/null
+++ b/debian/control.matlab
@@ -0,0 +1,14 @@
+
+Package: libsbml5-matlab
+Architecture: any
+Section: contrib/math
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Provides: libsbml-matlab
+Description: System Biology Markup Language library - matlab 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 matlab bindings of LibSBML.
diff --git a/debian/rules b/debian/rules
index 16a9169..5079ef1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,9 +53,7 @@ override_dh_auto_clean:
 
 override_dh_auto_configure:
 ifdef BIND_MATLAB
-	sed -e 's/^#//'  debian/control.in > debian/control || true
-else
-	grep -v ^# debian/control.in > debian/control
+	cat debian/control.matlab >> debian/control || true
 endif
 	mkdir -p build
 	cd build ; cmake $(CMAKE_OPTS) ../

-- 
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