[med-svn] [Git][med-team/pyranges][master] 3 commits: Readme for missing sources

Nilesh Patra gitlab at salsa.debian.org
Sun Jun 21 15:45:38 BST 2020



Nilesh Patra pushed to branch master at Debian Med / pyranges


Commits:
f49182c8 by Nilesh Patra at 2020-06-21T20:13:56+05:30
Readme for missing sources

- - - - -
739fd416 by Nilesh Patra at 2020-06-21T20:14:21+05:30
Do not install binaries

- - - - -
32b41b1f by Nilesh Patra at 2020-06-21T20:15:15+05:30
Update changelog

- - - - -


3 changed files:

- + debian/README.source
- debian/changelog
- debian/rules


Changes:

=====================================
debian/README.source
=====================================
@@ -0,0 +1,23 @@
+Upstream provides binary files without sources for:
+
+* tests/test_data/test_sorted.bam.bai 
+* tests/test_data/test_sorted.bam
+* pyranges/example_data/control.bam.bai
+* pyranges/example_data/control.bam
+
+These have been converted to corresponding text (.sam) files with the commands:
+* samtools view -h -o test_sorted.sam test_sorted.bam
+* samtools view -h -o control.sam control.bam
+
+And the corresponding *.sam files are added to: debian/missing-sources
+
+They can be generated back with the following commands:
+
+* cat debian/missing-sources/test_sorted.sam| samtools view -Sb - > tests/test_data/test_sorted.bam
+* cat debian/missing-sources/control.sam| samtools view -Sb - > pyranges/example_data/control.bam
+* samtools index tests/test_data/test_sorted.bam tests/test_data/test_sorted.bam.bai
+* samtools index pyranges/example_data/control.bam pyranges/example_data/control.bam.bai
+
+These commands are also being run in debian/rules since these binaries are needed for testing.
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Sun, 21 Jun 2020 20:13:10 +0530


=====================================
debian/changelog
=====================================
@@ -1,7 +1,6 @@
 pyranges (0.0.79+ds-1) UNRELEASED; urgency=medium
 
+  [ Steffen Moeller, Nilesh Patra ]
   * Initial release (Closes: #963015)
 
-    TODO: Waiting for python3-pyrle
-
- -- Steffen Moeller <moeller at debian.org>  Wed, 17 Jun 2020 20:08:00 +0200
+ -- Nilesh Patra <npatra974 at gmail.com>  Sun, 21 Jun 2020 20:13:10 +0530


=====================================
debian/rules
=====================================
@@ -21,3 +21,7 @@ override_dh_auto_build:
 	samtools index tests/test_data/test_sorted.bam tests/test_data/test_sorted.bam.bai
 	samtools index pyranges/example_data/control.bam pyranges/example_data/control.bam.bai
 
+override_dh_install:
+	dh_install
+	find debian/ -name *.bam* | xargs rm -rf
+	find debian/ -name 'hi' | xargs rm -rf



View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/compare/f16a1c93c262892ce4134072d4ca93e26591f4df...32b41b1fb93c50e75cbae7e7f42ad1acb8a09174

-- 
View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/compare/f16a1c93c262892ce4134072d4ca93e26591f4df...32b41b1fb93c50e75cbae7e7f42ad1acb8a09174
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/20200621/6f11347f/attachment-0001.html>


More information about the debian-med-commit mailing list