[med-svn] [Git][med-team/snakemake][master] 2 commits: don't ship pycache, .pyc

Michael R. Crusoe gitlab at salsa.debian.org
Fri Sep 6 06:08:05 BST 2019



Michael R. Crusoe pushed to branch master at Debian Med / snakemake


Commits:
9590032b by Michael R. Crusoe at 2019-09-06T03:38:21Z
don't ship pycache, .pyc

- - - - -
a1945ce7 by Michael R. Crusoe at 2019-09-06T04:55:26Z
set $HOME to fix build on sbuild

- - - - -


3 changed files:

- debian/changelog
- + debian/clean
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,10 @@
-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 at 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)
+                    documentation 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,0 +1 @@
+fakehome/


=====================================
debian/rules
=====================================
@@ -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



View it on GitLab: https://salsa.debian.org/med-team/snakemake/compare/e8198d44850ce964298f7c1e7aab8d44b7b662f9...a1945ce7dbc14f4feccce5bf92ecd98015676647

-- 
View it on GitLab: https://salsa.debian.org/med-team/snakemake/compare/e8198d44850ce964298f7c1e7aab8d44b7b662f9...a1945ce7dbc14f4feccce5bf92ecd98015676647
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190906/97d822ee/attachment-0001.html>


More information about the debian-med-commit mailing list