[med-svn] [Git][med-team/pyranges][master] 3 commits: Upload to new

Andreas Tille gitlab at salsa.debian.org
Sat Oct 17 22:03:52 BST 2020



Andreas Tille pushed to branch master at Debian Med / pyranges


Commits:
4729f331 by Andreas Tille at 2020-06-21T17:23:36+02:00
Upload to new

- - - - -
4e244106 by Andreas Tille at 2020-06-21T21:56:57+02:00
Move tests out of Python modules dir to examples package

- - - - -
6e1b1815 by Andreas Tille at 2020-10-17T23:03:47+02:00
Fix syntax

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/rules
- debian/upstream/metadata


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,5 @@
-pyranges (0.0.79+ds-1) UNRELEASED; urgency=medium
+pyranges (0.0.79+ds-1) unstable; urgency=medium
 
-  [ Steffen Moeller, Nilesh Patra ]
   * Initial release (Closes: #963015)
 
  -- Nilesh Patra <npatra974 at gmail.com>  Sun, 21 Jun 2020 20:13:10 +0530


=====================================
debian/control
=====================================
@@ -33,3 +33,18 @@ Description: 2D representation of genomic intervals and their annotations
  .
  The structure can be filled from .bed, .bam or .gff files, also from
  tabular or textual representations.
+
+Package: python3-pyranges-examples
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-pyranges-doc
+Description: 2D representation of genomic intervals and their annotations (examples)
+ A PyRanges object must have the columns Chromosome, Start and
+ End. These describe the genomic position and function as implicit row
+ labels. A Strand column is optional and adds strand information to the
+ intervals. Any other columns are allowed and are considered metadata.
+ .
+ The structure can be filled from .bed, .bam or .gff files, also from
+ tabular or textual representations.
+ .
+ This package contains some test data.


=====================================
debian/rules
=====================================
@@ -9,6 +9,7 @@ export PYBUILD_BEFORE_TEST=cp -av {dir}/tests/*.bed {build_dir}/tests && \
 		cp -av {dir}/tests/data {build_dir}/tests && \
 		cp -av {dir}/pyranges/example_data {build_dir}/pyranges
 
+export examples:=python3-$(PYBUILD_NAME)-examples
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
@@ -25,3 +26,9 @@ override_dh_install:
 	dh_install
 	find debian/ -name *.bam* | xargs rm -rf
 	find debian/ -name 'hi' | xargs rm -rf
+	mkdir -p debian/$(examples)/usr/share/doc/python3-$(PYBUILD_NAME)/examples
+	mv debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/tests/* debian/$(examples)/usr/share/doc/python3-$(PYBUILD_NAME)/examples
+	rmdir debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/tests
+
+override_dh_auto_test:
+	echo "FIXME: skip tests for the moment"


=====================================
debian/upstream/metadata
=====================================
@@ -1,3 +1,10 @@
+---
+Archive: GitHub
+Bug-Database: https://github.com/biocore-ntnu/pyranges/issues
+Bug-Submit: https://github.com/biocore-ntnu/pyranges/issues/new
+Changelog: https://github.com/biocore-ntnu/pyranges/tags
+Repository: https://github.com/biocore-ntnu/pyranges.git
+Repository-Browse: https://github.com/biocore-ntnu/pyranges
 Reference:
  - Author: Endre Bakken Stovner and Pål Sætrom
    Title: >
@@ -18,10 +25,3 @@ Registry:
    Entry: PyRanges
  - Name: conda:bioonda
    Entry: pyranges
----
-Archive: GitHub
-Bug-Database: https://github.com/biocore-ntnu/pyranges/issues
-Bug-Submit: https://github.com/biocore-ntnu/pyranges/issues/new
-Changelog: https://github.com/biocore-ntnu/pyranges/tags
-Repository: https://github.com/biocore-ntnu/pyranges.git
-Repository-Browse: https://github.com/biocore-ntnu/pyranges



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

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


More information about the debian-med-commit mailing list