summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-11-07 23:28:10 +0100
committerPatrice Clement <monsieurp@gentoo.org>2018-11-07 23:31:43 +0100
commit51cf91ee7564002303e41374ca65641100a7f8cd (patch)
tree52e01e15c6d0d2e22d6124296652b86695f0a696
parentapp-admin/ansible: keyword ~arm (diff)
downloadgentoo-51cf91ee7564002303e41374ca65641100a7f8cd.tar.gz
gentoo-51cf91ee7564002303e41374ca65641100a7f8cd.tar.bz2
gentoo-51cf91ee7564002303e41374ca65641100a7f8cd.zip
dev-lang/clojure: version bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
-rw-r--r--dev-lang/clojure/Manifest1
-rw-r--r--dev-lang/clojure/clojure-1.9.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-lang/clojure/Manifest b/dev-lang/clojure/Manifest
index efadd5b03846..ec8712da806a 100644
--- a/dev-lang/clojure/Manifest
+++ b/dev-lang/clojure/Manifest
@@ -2,3 +2,4 @@ DIST clojure-1.5.1.tar.gz 540021 BLAKE2B a9887142f251b490deae33c6d3749cd5592c5e8
DIST clojure-1.6.0.tar.gz 579154 BLAKE2B 29b15c25ec3085e977da6a59c8a3d19f5fd369599cf6f8c535b828fab0176c7c0a24274507eb0cfd66f728c5961c928b9de4aed8edf00970193c1ea2addeba29 SHA512 52bf54d157dae77e71e53bac421daa1bca7ef55b837600c8b04751a545cbed0f04d3718543031d1e5b8ca43e2518d356082b9f8c029c2e318996450cfaee9c81
DIST clojure-1.7.0.tar.gz 614331 BLAKE2B 4584eb81dddb7660084a067b9332d7e5375f3fe62d9a0af8fefece446c0be654f9916298672b3bab33a166e2e4edd73c3fcd61c49f956bfe83e0de0a122f0e83 SHA512 243d3120fa1a0f559c1f6b4724d0f7ba72e6f6dd009d0849377087e890aa04dba7c119862001d0c543eb0e35ef5c13cc8967ad494ffa9522daa9f8b1dfc77ef1
DIST clojure-1.8.0.tar.gz 627688 BLAKE2B 7dc3029e38e574cd32c74cce1f3ae03890869023d5fb2e8138f2fdc4461b3f9e119c4b6042e2b7caee9561b664b49cbaf79378ef1fdd0fd78c4d712c3b9d95de SHA512 fa5714397e679f77260db054bdc0891a311e7bd14bfceb2dd0494480fb9cf21fc74dd295e75070105ff0cdd50842390a748d8782397c549f51d85d18d54a1231
+DIST clojure-1.9.0.tar.gz 641645 BLAKE2B 767241c7f252a2977511adf257b1805f81a96594cff2b1b9837c782cfaabd49ae8e6eef30398e7e277952124e843967ac635985da97e2e7c5cc98ec177f3d79c SHA512 8877c654f6aa8ad990593e69b611388659973e5d1d46cf8f6cfae59c4033424a3c7eebd477539784cbd7974f7ff30580f76d8a4117414491f38e18ac3b4efb27
diff --git a/dev-lang/clojure/clojure-1.9.0.ebuild b/dev-lang/clojure/clojure-1.9.0.ebuild
new file mode 100644
index 000000000000..782c22103c7d
--- /dev/null
+++ b/dev-lang/clojure/clojure-1.9.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="General-purpose programming language with an emphasis on functional programming"
+HOMEPAGE="https://clojure.org/"
+SRC_URI="https://github.com/clojure/clojure/tarball/${P} -> ${P}.tar.gz"
+
+LICENSE="EPL-1.0 Apache-2.0 BSD"
+SLOT="1.9"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+RESTRICT="test" # patches welcome to fix the test
+
+RDEPEND="
+ >=virtual/jre-1.8"
+
+DEPEND="
+ >=virtual/jdk-1.8
+ dev-java/ant-core
+ dev-java/maven-bin:3.5"
+
+S="${WORKDIR}/clojure-clojure-e5a8cfa"
+
+DOCS=( changes.md CONTRIBUTING.md readme.txt )
+
+src_compile() {
+ ./antsetup.sh || die "antsetup.sh failed"
+ eant local
+}
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_newjar "${PN}.jar"
+ java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
+ if use source; then
+ mv target/${P}-sources.jar ${PN}-sources.jar
+ insinto /usr/share/${PN}-${SLOT}/sources
+ doins ${PN}-sources.jar
+ fi
+ einstalldocs
+}