pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/clojure



Module Name:    pkgsrc
Committed By:   fox
Date:           Tue Oct  8 23:40:37 UTC 2019

Modified Files:
        pkgsrc/lang/clojure: Makefile PLIST distinfo
Removed Files:
        pkgsrc/lang/clojure: MESSAGE
        pkgsrc/lang/clojure/files: clj.sh

Log Message:
clojure: Update to 1.10.1.469

Changes since 1.8.0:

https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-19
https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-110
https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1101

Submitted by: Sunil Nimmagadda (sunil%nimmagadda.net@localhost)

ok maya@


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/lang/clojure/MESSAGE
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/clojure/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/clojure/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/clojure/distinfo
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/lang/clojure/files/clj.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/clojure/Makefile
diff -u pkgsrc/lang/clojure/Makefile:1.7 pkgsrc/lang/clojure/Makefile:1.8
--- pkgsrc/lang/clojure/Makefile:1.7    Tue Jul 23 20:33:51 2019
+++ pkgsrc/lang/clojure/Makefile        Tue Oct  8 23:40:37 2019
@@ -1,55 +1,50 @@
-# $NetBSD: Makefile,v 1.7 2019/07/23 20:33:51 sevan Exp $
+# $NetBSD: Makefile,v 1.8 2019/10/08 23:40:37 fox Exp $
 
-DISTNAME=      clojure-1.8.0
+DISTNAME=      clojure-tools-1.10.1.469
+PKGNAME=       clojure-1.10.1.469
 CATEGORIES=    lang
-MASTER_SITES=  http://repo1.maven.org/maven2/org/clojure/clojure/${PKGVERSION_NOREV}/
-EXTRACT_SUFX=  .zip
+MASTER_SITES=  https://download.clojure.org/install/
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
 HOMEPAGE=      https://clojure.org/
 COMMENT=       Dynamic programming language that targets the Java VM
 LICENSE=       epl-v1.0
 
+DEPENDS+=      rlwrap-[0-9]*:../../misc/rlwrap
+
 NO_BUILD=      yes
 USE_JAVA=      run
-USE_JAVA2=     1.5
-USE_LANGUAGES= # none
-USE_TOOLS+=    pax
+USE_JAVA2=     8
+USE_TOOLS+=    bash
 
-INSTALLATION_DIRS=     bin \
-                       share/doc/${PKGNAME_NOREV} \
-                       lib/java/clojure \
-                       share/examples/${PKGNAME_NOREV}
-
-CLOJURE_DOCS=  changes.md epl-v10.html readme.txt \
-               doc/clojure/pprint/CommonLispFormat.markdown \
-               doc/clojure/pprint/PrettyPrinting.markdown
-
-SUBST_CLASSES+=                java
-SUBST_STAGE.java=      pre-install
-SUBST_MESSAGE.java=    Set Java
-SUBST_FILES.java=      clj.sh
-SUBST_SED.java=                -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
-SUBST_VARS.java=       SH
+REPLACE_BASH+= clj
+REPLACE_BASH+= clojure
 
-pre-patch:
-       ${INSTALL_DATA} ${FILESDIR}/clj.sh ${WRKSRC}
+INSTALLATION_DIRS=     bin \
+                       clojure \
+                       clojure/libexec \
+                       ${PKGMANDIR}/man1
+
+WRKSRC=        ${WRKDIR}/clojure-tools
+
+SUBST_CLASSES+=                set-java
+SUBST_STAGE.set-java=  pre-configure
+SUBST_MESSAGE.set-java=        Setting JAVA_HOME path.
+SUBST_FILES.set-java=  clojure
+SUBST_SED.set-java=    -e '/^JAVA_CMD=/s,java,${PKG_JAVA_HOME}/bin/java,'
+
+SUBST_CLASSES+=                set-base
+SUBST_STAGE.set-base=  pre-configure
+SUBST_MESSAGE.set-base=        Setting package base path.
+SUBST_FILES.set-base=  clojure
+SUBST_SED.set-base=    -e 's,PREFIX,${PREFIX}/clojure,g'
 
 do-install:
-       ${INSTALL_DATA} ${WRKSRC}/${PKGNAME_NOREV}.jar \
-               ${DESTDIR}${PREFIX}/lib/java/clojure/clojure.jar
-
-       cd ${WRKSRC}/test/clojure && pax -rw -pmp test_clojure \
-               ${DESTDIR}${PREFIX}/share/examples/${PKGNAME_NOREV}/
-       ${INSTALL_DATA} ${WRKSRC}/test/clojure/test_helper.clj \
-               ${DESTDIR}${PREFIX}/share/examples/${PKGNAME_NOREV}
-
-.for f in ${CLOJURE_DOCS}
-       ${INSTALL_DATA} ${WRKSRC}/${f} \
-               ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}
-.endfor
-
-       ${INSTALL_SCRIPT} ${WRKSRC}/clj.sh ${DESTDIR}${PREFIX}/bin/clj
+       ${INSTALL_DATA} ${WRKSRC}/*.edn ${DESTDIR}${PREFIX}/clojure
+       ${INSTALL_DATA} ${WRKSRC}/*.jar ${DESTDIR}${PREFIX}/clojure/libexec
+       ${INSTALL_MAN} ${WRKSRC}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_SCRIPT} ${WRKSRC}/clj ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/clojure ${DESTDIR}${PREFIX}/bin
 
 .include "../../mk/java-env.mk"
 .include "../../mk/java-vm.mk"

Index: pkgsrc/lang/clojure/PLIST
diff -u pkgsrc/lang/clojure/PLIST:1.3 pkgsrc/lang/clojure/PLIST:1.4
--- pkgsrc/lang/clojure/PLIST:1.3       Tue Jul 23 20:33:51 2019
+++ pkgsrc/lang/clojure/PLIST   Tue Oct  8 23:40:37 2019
@@ -1,81 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2019/07/23 20:33:51 sevan Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/10/08 23:40:37 fox Exp $
 bin/clj
-lib/java/clojure/clojure.jar
-share/doc/${PKGNAME}/CommonLispFormat.markdown
-share/doc/${PKGNAME}/PrettyPrinting.markdown
-share/doc/${PKGNAME}/changes.md
-share/doc/${PKGNAME}/epl-v10.html
-share/doc/${PKGNAME}/readme.txt
-share/examples/${PKGNAME}/test_clojure/agents.clj
-share/examples/${PKGNAME}/test_clojure/annotations.clj
-share/examples/${PKGNAME}/test_clojure/annotations/java_5.clj
-share/examples/${PKGNAME}/test_clojure/annotations/java_6.clj
-share/examples/${PKGNAME}/test_clojure/api.clj
-share/examples/${PKGNAME}/test_clojure/atoms.clj
-share/examples/${PKGNAME}/test_clojure/clojure_set.clj
-share/examples/${PKGNAME}/test_clojure/clojure_walk.clj
-share/examples/${PKGNAME}/test_clojure/clojure_xml.clj
-share/examples/${PKGNAME}/test_clojure/clojure_zip.clj
-share/examples/${PKGNAME}/test_clojure/compilation.clj
-share/examples/${PKGNAME}/test_clojure/compilation/examples.clj
-share/examples/${PKGNAME}/test_clojure/compilation/line_number_examples.clj
-share/examples/${PKGNAME}/test_clojure/compilation/load_ns.clj
-share/examples/${PKGNAME}/test_clojure/control.clj
-share/examples/${PKGNAME}/test_clojure/data.clj
-share/examples/${PKGNAME}/test_clojure/data_structures.clj
-share/examples/${PKGNAME}/test_clojure/data_structures_interop.clj
-share/examples/${PKGNAME}/test_clojure/def.clj
-share/examples/${PKGNAME}/test_clojure/delays.clj
-share/examples/${PKGNAME}/test_clojure/edn.clj
-share/examples/${PKGNAME}/test_clojure/errors.clj
-share/examples/${PKGNAME}/test_clojure/evaluation.clj
-share/examples/${PKGNAME}/test_clojure/fn.clj
-share/examples/${PKGNAME}/test_clojure/for.clj
-share/examples/${PKGNAME}/test_clojure/genclass.clj
-share/examples/${PKGNAME}/test_clojure/genclass/examples.clj
-share/examples/${PKGNAME}/test_clojure/generators.clj
-share/examples/${PKGNAME}/test_clojure/java/io.clj
-share/examples/${PKGNAME}/test_clojure/java/javadoc.clj
-share/examples/${PKGNAME}/test_clojure/java/shell.clj
-share/examples/${PKGNAME}/test_clojure/java_interop.clj
-share/examples/${PKGNAME}/test_clojure/keywords.clj
-share/examples/${PKGNAME}/test_clojure/logic.clj
-share/examples/${PKGNAME}/test_clojure/macros.clj
-share/examples/${PKGNAME}/test_clojure/main.clj
-share/examples/${PKGNAME}/test_clojure/metadata.clj
-share/examples/${PKGNAME}/test_clojure/multimethods.clj
-share/examples/${PKGNAME}/test_clojure/ns_libs.clj
-share/examples/${PKGNAME}/test_clojure/numbers.clj
-share/examples/${PKGNAME}/test_clojure/other_functions.clj
-share/examples/${PKGNAME}/test_clojure/parallel.clj
-share/examples/${PKGNAME}/test_clojure/pprint.clj
-share/examples/${PKGNAME}/test_clojure/pprint/test_cl_format.clj
-share/examples/${PKGNAME}/test_clojure/pprint/test_helper.clj
-share/examples/${PKGNAME}/test_clojure/pprint/test_pretty.clj
-share/examples/${PKGNAME}/test_clojure/predicates.clj
-share/examples/${PKGNAME}/test_clojure/printer.clj
-share/examples/${PKGNAME}/test_clojure/protocols.clj
-share/examples/${PKGNAME}/test_clojure/protocols/examples.clj
-share/examples/${PKGNAME}/test_clojure/protocols/hash_collisions.clj
-share/examples/${PKGNAME}/test_clojure/protocols/more_examples.clj
-share/examples/${PKGNAME}/test_clojure/reader.cljc
-share/examples/${PKGNAME}/test_clojure/reducers.clj
-share/examples/${PKGNAME}/test_clojure/reflect.clj
-share/examples/${PKGNAME}/test_clojure/refs.clj
-share/examples/${PKGNAME}/test_clojure/repl.clj
-share/examples/${PKGNAME}/test_clojure/repl/example.clj
-share/examples/${PKGNAME}/test_clojure/rt.clj
-share/examples/${PKGNAME}/test_clojure/sequences.clj
-share/examples/${PKGNAME}/test_clojure/serialization.clj
-share/examples/${PKGNAME}/test_clojure/server.clj
-share/examples/${PKGNAME}/test_clojure/special.clj
-share/examples/${PKGNAME}/test_clojure/string.clj
-share/examples/${PKGNAME}/test_clojure/test.clj
-share/examples/${PKGNAME}/test_clojure/test_fixtures.clj
-share/examples/${PKGNAME}/test_clojure/transducers.clj
-share/examples/${PKGNAME}/test_clojure/transients.clj
-share/examples/${PKGNAME}/test_clojure/try_catch.clj
-share/examples/${PKGNAME}/test_clojure/vars.clj
-share/examples/${PKGNAME}/test_clojure/vectors.clj
-share/examples/${PKGNAME}/test_clojure/volatiles.clj
-share/examples/${PKGNAME}/test_helper.clj
+bin/clojure
+clojure/deps.edn
+clojure/example-deps.edn
+clojure/libexec/clojure-tools-${PKGVERSION}.jar
+man/man1/clj.1
+man/man1/clojure.1

Index: pkgsrc/lang/clojure/distinfo
diff -u pkgsrc/lang/clojure/distinfo:1.4 pkgsrc/lang/clojure/distinfo:1.5
--- pkgsrc/lang/clojure/distinfo:1.4    Tue Jul 23 20:33:51 2019
+++ pkgsrc/lang/clojure/distinfo        Tue Oct  8 23:40:37 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2019/07/23 20:33:51 sevan Exp $
+$NetBSD: distinfo,v 1.5 2019/10/08 23:40:37 fox Exp $
 
-SHA1 (clojure-1.8.0.zip) = 93e9dd5559225d219b557b418bfcabd5c2a2ade6
-RMD160 (clojure-1.8.0.zip) = e447a3e7e81ace291b3c75ecca4742ed98f5f8e5
-SHA512 (clojure-1.8.0.zip) = fda661310f5b52045e87701146415eae57c1c5b1fa1968f64b7e214bc386fe49e3df5bccb53aeab3234631d07c969e3e716b0ee83528c9226f505abb205a2dbd
-Size (clojure-1.8.0.zip) = 5017209 bytes
+SHA1 (clojure-tools-1.10.1.469.tar.gz) = 33b42797609740c6c4a3d478ce07aae94d130ab0
+RMD160 (clojure-tools-1.10.1.469.tar.gz) = 163f9bad72ccfdd122480f06f6b56f7d16c357d9
+SHA512 (clojure-tools-1.10.1.469.tar.gz) = b74654f2e0382332fa2ea514ad2022153419726fa2e63f9b0fe791832b6817508fdd8009f06798c8a36b19351925ad1808e999fab6e6165512e957aed37d5d6a
+Size (clojure-tools-1.10.1.469.tar.gz) = 19750978 bytes



Home | Main Index | Thread Index | Old Index