This is an automated email from the git hooks/post-receive script. tille pushed a commit to tag debian/3.9.1-1 in repository snakemake.
commit 1ca7ec8a34ed37312ce486fa69c584b975d5c55f Author: Andreas Tille <ti...@debian.org> Date: Mon Jan 9 17:34:45 2017 +0100 ersion 3.9.1 is lacking snakemake executable - using copy from 3.9.0 created via this quilt patch to enable running build time tests --- debian/changelog | 3 ++- debian/patches/0006-restore-bin.patch | 28 ++++++++++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 4 +++- 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 75f3333..0a2e729 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,10 @@ snakemake (3.9.1-1) UNRELEASED; urgency=medium + * Team upload * New upstream version * New Build-Depends: python3-sphinx-rtd-theme - -- Andreas Tille <ti...@debian.org> Mon, 09 Jan 2017 14:14:08 +0100 + -- Andreas Tille <ti...@debian.org> Mon, 09 Jan 2017 14:39:07 +0100 snakemake (3.9.0+dfsg-2) unstable; urgency=medium diff --git a/debian/patches/0006-restore-bin.patch b/debian/patches/0006-restore-bin.patch new file mode 100644 index 0000000..98cc474 --- /dev/null +++ b/debian/patches/0006-restore-bin.patch @@ -0,0 +1,28 @@ +Author: Andreas Tille <ti...@debian.org> +Last-Update: Mon, 09 Jan 2017 14:39:07 +0100 +Description: Version 3.9.1 is lacking snakemake executable - using copy + from 3.9.0 created via this quilt patch + +--- /dev/null ++++ b/bin/snakemake +@@ -0,0 +1,20 @@ ++#!/usr/bin/env python3 ++# -*- coding: utf-8 -*- ++ ++import os ++import sys ++ ++__author__ = "Johannes Köster" ++ ++# If running from within source directory, ++# add '../snakemake' to sys.path. ++_libdir = os.path.join(os.path.dirname(os.path.realpath(__file__)), '../') ++if os.path.isfile(os.path.join(_libdir, 'snakemake', '__init__.py')): ++ sys.path.insert(0, _libdir) ++ ++from snakemake import main ++ ++if __name__ == "__main__": ++ #import cProfile ++ #cProfile.run('main()', "snakemake.profile") ++ main() diff --git a/debian/patches/series b/debian/patches/series index 37cd426..1bf9663 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ 0003-Compat-fix.patch 0004-drop_test_symlink_time_handling.patch 0005-drop_test_symlink_temp.patch +0006-restore-bin.patch diff --git a/debian/rules b/debian/rules index b379ef8..a85f48f 100755 --- a/debian/rules +++ b/debian/rules @@ -5,9 +5,11 @@ export PYBUILD_NAME=snakemake export PYBUILD_DESTDIR_python3=debian/snakemake -export PYBUILD_BEFORE_TEST_python3=cp -r {dir}/bin {dir}/tests {build_dir} +export PYBUILD_BEFORE_TEST_python3=chmod +x {dir}/bin/snakemake; cp -r {dir}/bin {dir}/tests {build_dir} export PYBUILD_AFTER_TEST_python3=rm -fr {build_dir}/bin {build_dir}/tests +export PATH:=$(CURDIR)/.pybuild/pythonX.Y_3.5/build/bin:$(PATH) + # Force the use of python3's sphinx-build. export SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/snakemake.git _______________________________________________ debian-med-commit mailing list debian-med-commit@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit