pkgsrc-WIP-changes archive

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

Clojure: update to 1.10.1



Module Name:	pkgsrc-wip
Committed By:	Sunil Nimmagadda <sunil%nimmagadda.net@localhost>
Pushed By:	skn
Date:		Sat Sep 14 11:29:42 2019 +0530
Changeset:	1214c7971e3d852a04e3991278b5cc0b31f93e3e

Added Files:
	clojure/DESCR
	clojure/Makefile
	clojure/PLIST
	clojure/distinfo

Log Message:
Clojure: update to 1.10.1

* CLJ-2484 Significant performance regression of code loaded in user.clj in Java 8u202/11.0
* CLJ-2463 Improve error printing in clojure.main with -m, -e, etc
* CLJ-2497 Put error report location on its own line
* CLJ-2504 Provide more options for error reporting in clojure.main
* CLJ-2499 Some compiler expr evals report as wrong error phase
* CLJ-2491 Updated fragile tests so Clojure test suite runs on Java 12

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1214c7971e3d852a04e3991278b5cc0b31f93e3e

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

diffstat:
 clojure/DESCR    | 20 ++++++++++++++++++++
 clojure/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++
 clojure/PLIST    |  8 ++++++++
 clojure/distinfo |  6 ++++++
 4 files changed, 76 insertions(+)

diffs:
diff --git a/clojure/DESCR b/clojure/DESCR
new file mode 100644
index 0000000000..43f3600ae6
--- /dev/null
+++ b/clojure/DESCR
@@ -0,0 +1,20 @@
+Clojure is a dynamic programming language that targets the Java
+Virtual Machine (and the CLR, and JavaScript). It is designed to
+be a general-purpose language, combining the approachability and
+interactive development of a scripting language with an efficient
+and robust infrastructure for multithreaded programming. Clojure
+is a compiled language - it compiles directly to JVM bytecode, yet
+remains completely dynamic. Every feature supported by Clojure is
+supported at runtime. Clojure provides easy access to the Java
+frameworks, with optional type hints and type inference, to ensure
+that calls to Java can avoid reflection.
+
+Clojure is a dialect of Lisp, and shares with Lisp the code-as-data
+philosophy and a powerful macro system. Clojure is predominantly
+a functional programming language, and features a rich set of
+immutable, persistent data structures. When mutable state is needed,
+Clojure offers a software transactional memory system and reactive
+Agent system that ensure clean, correct, multithreaded designs.
+
+I hope you find Clojure's combination of facilities elegant,
+powerful, practical and fun to use.
diff --git a/clojure/Makefile b/clojure/Makefile
new file mode 100644
index 0000000000..94e1b657b0
--- /dev/null
+++ b/clojure/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+PKG_VERSION=	1.10.1.469
+DISTNAME=	clojure-tools-${PKG_VERSION}
+PKGNAME=	clojure-${PKG_VERSION}
+CATEGORIES=	lang
+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
+
+NO_BUILD=	yes
+USE_JAVA=	run
+USE_JAVA2=	8
+USE_TOOLS+=	bash
+
+INSTALLATION_DIRS=	bin \
+			clojure \
+			clojure/libexec \
+			${PKGMANDIR}/man1
+
+WRKSRC=	${WRKDIR}/clojure-tools
+
+SUBST_CLASSES+=		java
+SUBST_STAGE.java=	pre-install
+SUBST_FILES.java=	clojure
+SUBST_SED.java=		-e 's,PREFIX,${DESTDIR}${PREFIX}/clojure,g'
+
+DEPENDS+=	rlwrap-[0-9]*:../../misc/rlwrap
+
+do-install:
+	${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"
+.include "../../mk/bsd.pkg.mk"
diff --git a/clojure/PLIST b/clojure/PLIST
new file mode 100644
index 0000000000..ca30a76d0c
--- /dev/null
+++ b/clojure/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/clj
+bin/clojure
+clojure/deps.edn
+clojure/example-deps.edn
+clojure/libexec/clojure-tools-${PKGVERSION}.jar
+man/man1/clj.1
+man/man1/clojure.1
diff --git a/clojure/distinfo b/clojure/distinfo
new file mode 100644
index 0000000000..a7f3d0e45f
--- /dev/null
+++ b/clojure/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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