summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry-Nicolas Tourneur <debian@nilux.be>2020-05-14 19:29:23 +0000
committerHenry-Nicolas Tourneur <debian@nilux.be>2020-05-14 19:29:23 +0000
commit454617b18558ef235d2cb7ecc226caf186022085 (patch)
tree0af008f3971c76498dff9895086960cb084e9bc0
parentf780aaf98e36b15a043eb2d6b0f63e260b22bfb0 (diff)
new patch to disable setup.py testing
-rw-r--r--debian/changelog7
-rw-r--r--debian/patches/disable_tests11
-rw-r--r--debian/patches/series2
-rw-r--r--debian/patches/setup_deps12
4 files changed, 17 insertions, 15 deletions
diff --git a/debian/changelog b/debian/changelog
index 1fe0690..1a59b49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,11 @@
pyfavicon (0.1.1+dfsg1-1) unstable; urgency=medium
* Initial release; Closes: #956459
- * Added patch (setup_deps) to remove test dep on coveralls, which is
- unavailable in Debian and only used to generate badges
+ * Added patch (disable_tests) to:
+ - disable all tests, mitigating privacy violations and copyright
+ potential issue on base64 encoded favicon
+ - remove test_depend on coveralls, not available in Debian, used
+ to generate badges
* d/copyright: File-Excluded for tests/* to mitigate privacy violation
and copyright issues on base64 encoded favicon
diff --git a/debian/patches/disable_tests b/debian/patches/disable_tests
new file mode 100644
index 0000000..9481d4c
--- /dev/null
+++ b/debian/patches/disable_tests
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -29,8 +29,6 @@
+ ],
+ tests_require=[
+ 'pytest',
+- 'coveralls',
+ 'pytest-cov'
+ ],
+- test_suite='tests',
+ )
diff --git a/debian/patches/series b/debian/patches/series
index 8ebc82a..0b7f8d3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-setup_deps
+disable_tests
diff --git a/debian/patches/setup_deps b/debian/patches/setup_deps
deleted file mode 100644
index 5036762..0000000
--- a/debian/patches/setup_deps
+++ /dev/null
@@ -1,12 +0,0 @@
-Remove coveralls from the test deps, module is unavailable in Debian.
-It is only required to generate badges.
---- a/setup.py
-+++ b/setup.py
-@@ -29,7 +29,6 @@
- ],
- tests_require=[
- 'pytest',
-- 'coveralls',
- 'pytest-cov'
- ],
- test_suite='tests',