[med-svn] [Git][med-team/python-cooler][master] 2 commits: Install test data

Andreas Tille gitlab at salsa.debian.org
Sun Jun 14 09:19:52 BST 2020



Andreas Tille pushed to branch master at Debian Med / python-cooler


Commits:
f91261f0 by Andreas Tille at 2020-06-14T10:13:14+02:00
Install test data

- - - - -
c67c084b by Andreas Tille at 2020-06-14T10:19:21+02:00
Autopkgtest

- - - - -


4 changed files:

- debian/control
- + debian/python3-cooler-examples.install
- debian/tests/control
- debian/tests/run-unit-test


Changes:

=====================================
debian/control
=====================================
@@ -37,7 +37,7 @@ Depends: ${python3:Depends},
          python3-multiprocess,
          python3-biopython,
          python3-pyfaidx,
-         python3-pypairix,
+         python3-pairix,
          python3-asciitree,
          python3-yaml,
          python3-simplejson
@@ -50,3 +50,21 @@ Description: library for a sparse, compressed, binary persistent storage
  model using HDF5 as the container format. The cooler package includes a
  suite of command line tools and a Python API to facilitate creating,
  querying and manipulating cooler files.
+
+Package: python3-cooler-examples
+Architecture: all
+Section: python
+Depends: ${python3:Depends},
+         ${misc:Depends},
+Enhances: python3-cooler
+Description: library for a sparse, compressed, binary persistent storage (examples)
+ Cooler is a support library for a sparse, compressed, binary persistent
+ storage format, also called cooler, used to store genomic interaction
+ data, such as Hi-C contact matrices.
+ .
+ The cooler file format is an implementation of a genomic matrix data
+ model using HDF5 as the container format. The cooler package includes a
+ suite of command line tools and a Python API to facilitate creating,
+ querying and manipulating cooler files.
+ .
+ This package contains some example data.


=====================================
debian/python3-cooler-examples.install
=====================================
@@ -0,0 +1 @@
+tests	usr/share/doc/python3-cooler


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
 Tests: run-unit-test
-Depends: @
+Depends: @, python3-pytest, python3-mock
 Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -1,19 +1,15 @@
 #!/bin/bash
 set -e
 
-pkg=#PACKAGENAME#
+pkg=python3-cooler
 
 export LC_ALL=C.UTF-8
 if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
   AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
-  # Double quote below to expand the temporary directory variable now versus
-  # later is on purpose.
-  # shellcheck disable=SC2064
   trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
 fi
 
-cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+cp -a /usr/share/doc/${pkg}/tests "${AUTOPKGTEST_TMP}"
 
 cd "${AUTOPKGTEST_TMP}"
-
-#do_stuff_to_test_package#
+pytest-3



View it on GitLab: https://salsa.debian.org/med-team/python-cooler/-/compare/a796e28a20eb926d1ad74c063a85eecb65d3b742...c67c084b1db739f71f34db017a8c15dc045c8170

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-cooler/-/compare/a796e28a20eb926d1ad74c063a85eecb65d3b742...c67c084b1db739f71f34db017a8c15dc045c8170
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/20200614/428434ab/attachment-0001.html>


More information about the debian-med-commit mailing list