[med-svn] [Git][med-team/sourmash][master] fix tests running outside of git repo

Michael R. Crusoe gitlab at salsa.debian.org
Sat Jan 19 15:04:43 GMT 2019


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


Commits:
490680fa by Michael R. Crusoe at 2019-01-19T15:04:31Z
fix tests running outside of git repo

when using pybuild

- - - - -


5 changed files:

- MANIFEST.in
- debian/clean
- debian/control
- + debian/patches/series
- + debian/patches/ship_tests_data_demo


Changes:

=====================================
MANIFEST.in
=====================================
@@ -2,6 +2,9 @@ include LICENSE Makefile Dockerfile LICENSE Makefile README.md requirements.txt
 include index.ipynb
 recursive-include sourmash_lib *
 recursive-include sourmash *
+recursive-include tests *
+recursive-include data *
+recursive-include demo *
 recursive-include third-party *.cc *.h
 global-exclude *.orig
 global-exclude *.pyc


=====================================
debian/clean
=====================================
@@ -1,4 +1,5 @@
 .pytest_cache/
+.eggs/
 sourmash.egg-info/
 sourmash/_minhash.cpp
 sourmash/version.py


=====================================
debian/control
=====================================
@@ -16,6 +16,7 @@ Build-Depends: debhelper (>= 12~),
 	       python3-sphinx,
                python3-screed,
                python3-setuptools,
+	       python3-setuptools-scm,
 	       python3-setuptools-scm-git-archive,
                python3-yaml,
 Standards-Version: 4.3.0


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+ship_tests_data_demo


=====================================
debian/patches/ship_tests_data_demo
=====================================
@@ -0,0 +1,16 @@
+Author: Michael R. Crusoe <michael.crusoe at gmail.com>
+Description: Include the tests, example data, and demo in the package
+
+Fixes running the tests using pybuild for Debian
+--- sourmash.orig/MANIFEST.in
++++ sourmash/MANIFEST.in
+@@ -2,6 +2,9 @@
+ include index.ipynb
+ recursive-include sourmash_lib *
+ recursive-include sourmash *
++recursive-include tests *
++recursive-include data *
++recursive-include demo *
+ recursive-include third-party *.cc *.h
+ global-exclude *.orig
+ global-exclude *.pyc



View it on GitLab: https://salsa.debian.org/med-team/sourmash/commit/490680fae4529a663c9a076f83b6d9741173fd25

-- 
View it on GitLab: https://salsa.debian.org/med-team/sourmash/commit/490680fae4529a663c9a076f83b6d9741173fd25
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/20190119/c03a3d38/attachment-0001.html>


More information about the debian-med-commit mailing list