This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository hyphy.
commit 2e63b89c874e44de914a3ac1e784d4a10ec76746 Author: Andreas Tille <[email protected]> Date: Thu Jul 9 20:01:56 2015 +0200 Get Python files into the packages, experimental libhyphy package - may be this will be deleted again --- debian/control | 29 +++++++++++++++++++++++++---- debian/rules | 9 ++++++--- 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/debian/control b/debian/control index dcb4ed3..e86f4da 100644 --- a/debian/control +++ b/debian/control @@ -54,8 +54,7 @@ Description: Hypothesis testing using Phylogenies (MPI version) Package: hyphy-common Architecture: all -Depends: ${shlibs:Depends}, - ${misc:Depends} +Depends: ${misc:Depends} Suggests: hyphy | hyphy-mpi Description: Hypothesis testing using Phylogenies (common files) HyPhy is an open-source software package for the analysis of genetic @@ -70,8 +69,29 @@ Description: Hypothesis testing using Phylogenies (common files) . This package provides files that are common to all binary versions. +Package: libhyphy +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Suggests: hyphy | hyphy-mpi +Description: Hypothesis testing using Phylogenies (library) + HyPhy is an open-source software package for the analysis of genetic + sequences using techniques in phylogenetics, molecular evolution, and + machine learning. It features a complete graphical user interface (GUI) + and a rich scripting language for limitless customization of analyses. + Additionally, HyPhy features support for parallel computing environments + (via message passing interface) and it can be compiled as a shared + library and called from other programming environments such as Python or + R. Continued development of HyPhy is currently supported in part by an + NIGMS R01 award 1R01GM093939. + . + This package provides files that a dynamic library. + . + FIXME: The usage is unclear currently. + Package: python-hyphy -Architecture: all +Architecture: any +Section: python Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} @@ -89,7 +109,8 @@ Description: Hypothesis testing using Phylogenies (Python 2 module) This package provides files the Python 2 module. Package: python3-hyphy -Architecture: all +Architecture: any +Section: python Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} diff --git a/debian/rules b/debian/rules index 02dfb22..46b79df 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,8 @@ # DH_VERBOSE := 1 -export PYBUILD_NAME=$(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}') +pkg=$(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}') +export PYBUILD_NAME=$(pkg) PYVERS = $(shell pyversions -r) PY3VERS = $(shell py3versions -r) @@ -37,13 +38,15 @@ override_dh_auto_install: dh_auto_install cd src/lib ; \ for py in $(PYVERS); do \ - $$py -B setup.py install --skip-build --root debian/python-$(PYBUILD_NAME) \ + $$py -B setup.py install --skip-build --root ../../debian/python-$(PYBUILD_NAME) \ --install-layout deb; \ done ; \ for py in $(PY3VERS); do \ - $$py -B setup.py install --skip-build --root debian/python-$(PYBUILD_NAME) \ + $$py -B setup.py install --skip-build --root ../../debian/python3-$(PYBUILD_NAME) \ --install-layout deb; \ done + mkdir -p $(CURDIR)/debian/lib$(pkg)/usr/lib + find debian -name "*.so" -exec mv \{\} $(CURDIR)/debian/lib$(pkg)/usr/lib \; override_dh_install: # smallcaps for executables -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hyphy.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
