Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
don't ship pycache, .pyc
· 9590032b
Michael R. Crusoe
authored
Sep 06, 2019
9590032b
set $HOME to fix build on sbuild
· a1945ce7
Michael R. Crusoe
authored
Sep 06, 2019
a1945ce7
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
a1945ce7
snakemake (5.5.4-1) UNRELEASED; urgency=medium
snakemake (5.5.4-2) unstable; urgency=medium
* set $HOME to fix build on sbuild
-- Michael R. Crusoe <michael.crusoe@gmail.com> Fri, 06 Sep 2019 13:50:09 +0900
snakemake (5.5.4-1) unstable; urgency=medium
[ Dylan Aïssi ]
* Apply patch from Chris Lamb to make the build reproducible
...
...
@@ -7,7 +13,7 @@ snakemake (5.5.4-1) UNRELEASED; urgency=medium
[ Michael R. Crusoe ]
* New upstream release
* debian/control: Add missing build-deps (as shown in errors during the
documenation building)
documen
t
ation building)
* debian/README.source: Document missing (optional?) dependencies
* debian/rules: Fix test invocation, as almost all tests were missed;
Document what is known about the skipped tests
...
...
debian/clean
0 → 100644
View file @
a1945ce7
fakehome/
debian/rules
View file @
a1945ce7
...
...
@@ -3,6 +3,7 @@
# output every command that modifies files on the build system.
# export DH_VERBOSE = 1
export HOME=$(CURDIR)/fakehome
export PYBUILD_NAME=snakemake
export PYBUILD_DESTDIR_python3=debian/snakemake
export PYBUILD_BEFORE_TEST_python3=chmod +x {dir}/bin/snakemake; cp -r {dir}/bin {dir}/tests {build_dir}
...
...
@@ -33,7 +34,14 @@ override_dh_auto_build:
PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \
python3 setup.py build_sphinx
override_dh_auto_install:
dh_auto_install
find . -name '__pycache__' | xargs rm -Rf
find . -name '*.pyc' | xargs rm -Rf
find debian -name '.gitignore' | xargs rm -Rf
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
mkdir -p $(CURDIR)/fakehome
PYBUILD_SYSTEM=custom dh_auto_test
endif