summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-04-17 10:04:38 +0200
committerPatrice Clement <monsieurp@gentoo.org>2019-04-17 10:43:36 +0200
commit5ff47c259ceb0f625d61cf590a76a3f532221b75 (patch)
tree90c19bcb704b06dff0a3b18eaaf3584baa19eeac
parentdev-libs/libpcre2: Removed old. (diff)
downloadgentoo-5ff47c25.tar.gz
gentoo-5ff47c25.tar.bz2
gentoo-5ff47c25.zip
dev-lang/clojure: version bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
-rw-r--r--dev-lang/clojure/Manifest1
-rw-r--r--dev-lang/clojure/clojure-1.10.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-lang/clojure/Manifest b/dev-lang/clojure/Manifest
index 0994f4e6fe4..a3d34f05fbe 100644
--- a/dev-lang/clojure/Manifest
+++ b/dev-lang/clojure/Manifest
@@ -1,2 +1,3 @@
+DIST clojure-1.10.0.tar.gz 678715 BLAKE2B 8f69a327e94e173864b3d8b81e92ab716c70be9fa59bbd836889cb75a8d44518a3aa2a8fbec50a04f2e7d1afdb07ffef2f7069077e22ef91f321c5fb122d2bb9 SHA512 d53d2322662974d2eed97d7870f0f91822de8acb91e30b50b0dca4186ee667c46b2b5863e080d89e3bfe63d090c6ac2e25617f74d1434bae2ca1e73ae9a36012
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.10.0.ebuild b/dev-lang/clojure/clojure-1.10.0.ebuild
new file mode 100644
index 00000000000..1df71774d54
--- /dev/null
+++ b/dev-lang/clojure/clojure-1.10.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="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.10"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+RESTRICT="test" # patches welcome to fix the test
+
+CDEPEND="
+ dev-java/ant-core:0
+ dev-java/maven-bin:3.6"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.8"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.8"
+
+S="${WORKDIR}/clojure-clojure-76b87a6"
+
+DOCS=( changes.md CONTRIBUTING.md readme.txt )
+
+src_compile() {
+ ./antsetup.sh || die "antsetup.sh failed"
+ eant -f build.xml jar
+}
+
+src_test() {
+ eant -f build.xml test
+}
+
+src_install() {
+ java-pkg_newjar "${PN}.jar"
+ java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
+ einstalldocs
+}