Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Use nostetest3
· b45ab981
Andreas Tille
authored
Dec 07, 2019
b45ab981
TODO: Not compatible with recent version of pbcore whic his lacking CmpH5Reader and rangeQueries
· 25bd3361
Andreas Tille
authored
Dec 07, 2019
25bd3361
Fix calls in test suite
· 5505769c
Andreas Tille
authored
Dec 07, 2019
5505769c
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
5505769c
...
...
@@ -12,6 +12,8 @@ pbh5tools (0.8.0+git20181212.9fa8fc4+dfsg-2) UNRELEASED; urgency=medium
debian/patches/series.
* Use 2to3 to convert from Python2 to Python3
Closes: #937256
TODO: Not compatible with recent version of pbcore whic his lacking
CmpH5Reader and rangeQueries
-- Andreas Tille <tille@debian.org> Sat, 07 Dec 2019 09:23:30 +0100
...
...
debian/patches/2to3.patch
View file @
5505769c
...
...
@@ -5,7 +5,7 @@ Last-Update: Sat, 07 Dec 2019 09:23:30 +0100
--- a/Makefile
+++ b/Makefile
@@ -4,
17
+4,
17
@@
SHELL = /bin/bash -e
@@ -4,
26
+4,
26
@@
SHELL = /bin/bash -e
all: build install
build:
...
...
@@ -27,7 +27,19 @@ Last-Update: Sat, 07 Dec 2019 09:23:30 +0100
+ python3 setup.py develop
test: examples
find tests -name "*.py" | xargs nosetests -v
- find tests -name "*.py" | xargs nosetests -v
- -find tests/cram -name "*.t" | xargs cram -v
+ find tests -name "*.py" | xargs nosetests3 -v
+ -find tests/cram -name "*.t" | xargs cram3 -v
doc:
sphinx-apidoc -T -f -o doc src/ && cd doc && make html
examples:
- -cram -v doc/examples.t
+ -cram3 -v doc/examples.t
sed 's/^ / /' doc/examples.t > doc/examples.md
example-rendered: examples
--- a/bin/bash5tools.py
+++ b/bin/bash5tools.py
@@ -1,4 +1,4 @@
...
...
debian/rules
View file @
5505769c
...
...
@@ -24,6 +24,7 @@ override_dh_install:
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
PATH=$(PATH):$(CURDIR)/`find build -name cmph5tools.py | head -n1 | xargs dirname` \
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="PATH=$(CURDIR)/build/scripts-2.7:$$PATH $(MAKE) test" \
dh_auto_test
...
...