Hello ports,

diff below updates clojure to the latest release.  clj(1) works fine
(tested both from command line and from Emacs' CIDER), leiningen and
reimann still builds fine.

I've also added NO_BUILD since there's no build step and I couldn't
resist to tweak clj_completions.clj a bit :)

ok?

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/lang/clojure/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- Makefile    11 Mar 2022 19:28:53 -0000      1.40
+++ Makefile    13 Apr 2022 08:25:38 -0000
@@ -1,6 +1,6 @@
 COMMENT =              Lisp-1 dialect for the Java Virtual Machine
 
-V =                    1.10.3.1029
+V =                    1.11.1.1107
 DISTNAME =             clojure-tools-$V
 PKGNAME =              clojure-$V
 
@@ -25,6 +25,7 @@ RUN_DEPENDS =         java/javaPathHelper \
                        misc/rlwrap \
                        shells/bash
 
+NO_BUILD =             Yes
 NO_TEST =              Yes
 
 CLOJURE_HOME =         ${PREFIX}/clojure
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/lang/clojure/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo    29 Nov 2021 12:15:04 -0000      1.13
+++ distinfo    12 Apr 2022 22:06:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (clojure-tools-1.10.3.1029.tar.gz) = 
QimG8llgjASfz/cUciLHE7VWOp8MbnTgoNrkoHZHgJE=
-SIZE (clojure-tools-1.10.3.1029.tar.gz) = 14253369
+SHA256 (clojure-tools-1.11.1.1107.tar.gz) = 
ItSKM546QW4DpnGotGzYs6917cbHYYkPvL9XezQBzOY=
+SIZE (clojure-tools-1.11.1.1107.tar.gz) = 17733939
Index: files/clj_completions
===================================================================
RCS file: /home/cvs/ports/lang/clojure/files/clj_completions,v
retrieving revision 1.11
diff -u -p -r1.11 clj_completions
--- files/clj_completions       7 Nov 2019 09:39:15 -0000       1.11
+++ files/clj_completions       12 Apr 2022 22:10:06 -0000
@@ -864,4 +864,4 @@ with-redefs-fn
 writer
 xml-seq
 zero?
-zipmap
\ No newline at end of file
+zipmap
Index: files/clj_completions.clj
===================================================================
RCS file: /home/cvs/ports/lang/clojure/files/clj_completions.clj,v
retrieving revision 1.5
diff -u -p -r1.5 clj_completions.clj
--- files/clj_completions.clj   11 Mar 2022 19:28:53 -0000      1.5
+++ files/clj_completions.clj   12 Apr 2022 22:10:16 -0000
@@ -1,3 +1,7 @@
-(def completions (mapcat (comp keys ns-publics) (all-ns)))
-(with-open [f (java.io.BufferedWriter. (java.io.FileWriter. 
"files/clj_completions"))]
-          (.write f (apply str (interpose \newline (sort (distinct 
completions))))))
+(def completions
+  (mapcat (comp keys ns-publics) (all-ns)))
+
+(with-open [f (java.io.FileWriter. "files/clj_completions")]
+  (binding [*out* f]
+    (doseq [c (-> completions sort distinct)]
+      (println c))))

Reply via email to