[Git][java-team/comidi-clojure][master] 3 commits: Add prospective upstream patch (issues/36, pull/37) (Closes: #889125).

Cyril Brulebois gitlab at salsa.debian.org
Thu Feb 7 13:00:06 GMT 2019


Cyril Brulebois pushed to branch master at Debian Java Maintainers / comidi-clojure


Commits:
884f0351 by Cyril Brulebois at 2019-02-07T12:56:09Z
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.

- - - - -
e276b031 by Cyril Brulebois at 2019-02-07T12:58:51Z
Update Vcs-{Browser,Git} to point to salsa (alioth's replacement).

- - - - -
2f75598c by Cyril Brulebois at 2019-02-07T12:59:05Z
releasing version 0.3.1-2

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/0001-Fix-test-failure-with-Clojure-1.9.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+comidi-clojure (0.3.1-2) unstable; urgency=medium
+
+  * Add prospective upstream patch (issues/36, pull/37) to fix spec
+    conformance issues following the upgrade to Clojure 1.9+, fixing
+    the FTBFS due to test failures (Closes: #889125).
+  * Update Vcs-{Browser,Git} to point to salsa (alioth's replacement).
+
+ -- Cyril Brulebois <kibi at debian.org>  Thu, 07 Feb 2019 13:58:55 +0100
+
 comidi-clojure (0.3.1-1) unstable; urgency=medium
 
   * Initial release (Closes: #855765)


=====================================
debian/control
=====================================
@@ -16,8 +16,8 @@ Build-Depends:
  libtext-markdown-perl | markdown,
  default-jdk-headless
 Standards-Version: 4.0.0
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/comidi-clojure.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/comidi-clojure.git
+Vcs-Git: https://salsa.debian.org/java-team/comidi-clojure.git
+Vcs-Browser: https://salsa.debian.org/java-team/comidi-clojure
 Homepage: https://github.com/puppetlabs/comidi
 
 Package: libcomidi-clojure


=====================================
debian/patches/0001-Fix-test-failure-with-Clojure-1.9.patch
=====================================
@@ -0,0 +1,37 @@
+From feed07ec54e9d68e3bf52dd1f1a56138d8fd0eab Mon Sep 17 00:00:00 2001
+From: Cyril Brulebois <kibi at debian.org>
+Date: Wed, 2 Jan 2019 04:34:31 +0100
+Subject: [PATCH] Fix test failure with Clojure 1.9+
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Quoting the Clojure documentation:
+
+    Use :require in the ns macro in preference to calling this directly.
+
+As kindly pointed out by Alex Miller (@puredanger), the “require” syntax
+happened to work accidentally in Clojure 1.8, but that's now rejected by
+Clojure 1.9+ with:
+
+    Call to clojure.core/ns did not conform to spec: […] Extra input
+
+Debian bug report: https://bugs.debian.org/889125
+---
+ test/puppetlabs/comidi_test.clj | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/puppetlabs/comidi_test.clj b/test/puppetlabs/comidi_test.clj
+index 0b3a53a..4d0e064 100644
+--- a/test/puppetlabs/comidi_test.clj
++++ b/test/puppetlabs/comidi_test.clj
+@@ -1,5 +1,5 @@
+ (ns puppetlabs.comidi-test
+-  (require [clojure.test :refer :all]
++  (:require [clojure.test :refer :all]
+            [puppetlabs.comidi :as comidi :refer :all]
+            [schema.test :as schema-test]
+            [schema.core :as schema]
+-- 
+2.11.0
+


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+0001-Fix-test-failure-with-Clojure-1.9.patch



View it on GitLab: https://salsa.debian.org/java-team/comidi-clojure/compare/ae6e2ac7237c2a37c911bdb59c21ff33562aa622...2f75598c91c0263692fcd41d37ce8cea8b62839c

-- 
View it on GitLab: https://salsa.debian.org/java-team/comidi-clojure/compare/ae6e2ac7237c2a37c911bdb59c21ff33562aa622...2f75598c91c0263692fcd41d37ce8cea8b62839c
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/pkg-java-commits/attachments/20190207/c40d0ff3/attachment.html>


More information about the pkg-java-commits mailing list