Package list comidi-clojure / 884f035
Add prospective upstream patch (issues/36, pull/37) (Closes: #889125). This fixes spec conformance issues following the upgrade to Clojure 1.9+, fixing the FTBFS due to test failures. Cyril Brulebois 3 years ago
3 changed file(s) with 46 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 comidi-clojure (0.3.1-2) UNRELEASED; urgency=medium
1
2 * Add prospective upstream patch (issues/36, pull/37) to fix spec
3 conformance issues following the upgrade to Clojure 1.9+, fixing
4 the FTBFS due to test failures (Closes: #889125).
5
6 -- Cyril Brulebois <kibi@debian.org> Thu, 07 Feb 2019 13:53:00 +0100
7
08 comidi-clojure (0.3.1-1) unstable; urgency=medium
19
210 * Initial release (Closes: #855765)
0 From feed07ec54e9d68e3bf52dd1f1a56138d8fd0eab Mon Sep 17 00:00:00 2001
1 From: Cyril Brulebois <kibi@debian.org>
2 Date: Wed, 2 Jan 2019 04:34:31 +0100
3 Subject: [PATCH] Fix test failure with Clojure 1.9+
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 Quoting the Clojure documentation:
9
10 Use :require in the ns macro in preference to calling this directly.
11
12 As kindly pointed out by Alex Miller (@puredanger), the “require” syntax
13 happened to work accidentally in Clojure 1.8, but that's now rejected by
14 Clojure 1.9+ with:
15
16 Call to clojure.core/ns did not conform to spec: […] Extra input
17
18 Debian bug report: https://bugs.debian.org/889125
19 ---
20 test/puppetlabs/comidi_test.clj | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23 diff --git a/test/puppetlabs/comidi_test.clj b/test/puppetlabs/comidi_test.clj
24 index 0b3a53a..4d0e064 100644
25 --- a/test/puppetlabs/comidi_test.clj
26 +++ b/test/puppetlabs/comidi_test.clj
27 @@ -1,5 +1,5 @@
28 (ns puppetlabs.comidi-test
29 - (require [clojure.test :refer :all]
30 + (:require [clojure.test :refer :all]
31 [puppetlabs.comidi :as comidi :refer :all]
32 [schema.test :as schema-test]
33 [schema.core :as schema]
34 --
35 2.11.0
36
0 0001-Fix-test-failure-with-Clojure-1.9.patch