Hello ports,
while testing the lang/clojure diff I noticed that our leiningen has
updates available. I've mostly moved to clj(1) for my projects, but I
did some tests and seems to work fine (opened a repl, uberjar.)
I'm tempted to update the MODJAVA_VER to 1.11 even if upstream still
recommends 1.8 but I've kept as is (for now ;-). I've been using it
successfully for a long time already with 1.11, in fact I've
re-installed 1.8 just to try the port (I have leiningen locally in my
home directory before because I haven't noticed that there were a port
for it.)
Straightforward update, with only some context changed in the patch.
The full changelog is:
2.9.4 / 2020-07-08
- Fix a bug where dependency conflict resolution errors were
wrong. (Phil Hagelberg)
- Make test selectors skip non-test vars. (Mourjo Sen)
- Fix a bug where deps :query would report incorrect results. (Chris
Thunes)
- Update nREPL to 0.7. (Bozhidar Batsov)
- Add scheme configuration support to REPL-y and use configured
transport when starting the ack-server. (Paulo Feodrippe, Bozhidar
Batsov)
2.9.5 / 2020-12-07
- Several dependency version bumps. (Bozhidar Batsov, Utkarsh Gupta, Chris
Thunes)
2.9.6 / 2021-04-15
- Look for templates in a way that reflects new Clojars group
rules. (Phil Hagelberg)
- Update template-generating template to reflect new Clojars
rules. (Phil Hagelberg)
- Don't :reload in tests unless connecting to an nrepl. (Ambrose
Bonnaire-Sergeant)
2.9.7
- Detect certain pathological dependency trees and warn. (Phil
Hagelberg)
- Bump to Clojure 1.10.3. (Grzegorz Smajdor)
- Don't warn on version ranges which point to a single
version. (Pierre-Yves Ritschard)
- Fix a bug where verifying deps could loop forever. (James Carnegie)
- Get better error messages when deploys fail. (Toby Crawley)
Note: previous release jars were published under .zip filenames to work
around quirks in Github; this is no longer needed so jar files have a
.jar extension now as expected.
2.9.8 / 2021-11-11
- Fix a bug where certain deep dependency trees would overflow
stack. (Phil Hagelberg)
- Allow LEIN_JAR to be overridden if you install elsewhere. (Ahmed
Sajid)
OK/comments?
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/devel/leiningen/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile 14 May 2020 18:59:22 -0000 1.9
+++ Makefile 29 Nov 2021 08:49:19 -0000
@@ -4,9 +4,9 @@ COMMENT = Clojure project automation
GH_ACCOUNT = technomancy
GH_PROJECT = leiningen
-GH_TAGNAME = 2.9.3
+GH_TAGNAME = 2.9.8
-JAR_FILE = ${DISTNAME}-standalone.zip
+JAR_FILE = ${DISTNAME}-standalone.jar
CATEGORIES = devel lang
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/devel/leiningen/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 14 May 2020 18:59:22 -0000 1.5
+++ distinfo 29 Nov 2021 08:49:27 -0000
@@ -1,4 +1,4 @@
-SHA256 (leiningen-2.9.3-standalone.zip) =
I+HfGLyXIm1XD0czWo1UPht1nqMDVE6lfVMJvj3ty7s=
-SHA256 (leiningen-2.9.3.tar.gz) = mMweWOvg1x/t5zrmx2mfG5uURlDVeiIOV2vJWjGFuEY=
-SIZE (leiningen-2.9.3-standalone.zip) = 14670316
-SIZE (leiningen-2.9.3.tar.gz) = 754027
+SHA256 (leiningen-2.9.8-standalone.jar) =
Kg6RFODWI8dIqa3l1ytUEosxtd2xP1GwTFM/EEuwxI0=
+SHA256 (leiningen-2.9.8.tar.gz) = vimcvXBpMhPGiH+TEyf7nfO9VJMKUh0PyIvqBNVcXNQ=
+SIZE (leiningen-2.9.8-standalone.jar) = 12834369
+SIZE (leiningen-2.9.8.tar.gz) = 924543
Index: patches/patch-bin_lein-pkg
===================================================================
RCS file: /home/cvs/ports/devel/leiningen/patches/patch-bin_lein-pkg,v
retrieving revision 1.3
diff -u -p -r1.3 patch-bin_lein-pkg
--- patches/patch-bin_lein-pkg 14 May 2020 18:59:22 -0000 1.3
+++ patches/patch-bin_lein-pkg 29 Nov 2021 08:49:36 -0000
@@ -34,7 +34,7 @@ Index: bin/lein-pkg
if ! { [ "$1" = "compile" ] &&
@@ -88,8 +88,8 @@ fi
if [ "$LEIN_FAST_TRAMPOLINE" != "" ] && [ -r project.clj ]; then
- INPUTS="$* $(cat project.clj) $(test -f "$LEIN_HOME/profiles.clj" && cat
"$LEIN_HOME/profiles.clj")"
+ INPUTS="$* $(cat project.clj) $LEIN_VERSION $(test -f
"$LEIN_HOME/profiles.clj" && cat "$LEIN_HOME/profiles.clj") $(test -f
profiles.clj && cat profiles.clj)"
- if command -v shasum >/dev/null 2>&1; then
- SUM="shasum"