summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScardracS <marco@scardovi.com>2021-03-19 07:59:18 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-03-21 15:12:07 +0200
commitbb90d19d57f566b0e6afc348e8d9f41aff5d3081 (patch)
tree1cdb0e92d700dcaa283f5be7133befb05a94f052 /dev-lang
parentnet-analyzer/telegraf: fix formatting (diff)
downloadgentoo-bb90d19d57f566b0e6afc348e8d9f41aff5d3081.tar.gz
gentoo-bb90d19d57f566b0e6afc348e8d9f41aff5d3081.tar.bz2
gentoo-bb90d19d57f566b0e6afc348e8d9f41aff5d3081.zip
dev-lang/clojure: version bump to 1.10.3
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Marco Scardovi <marco@scardovi.com> Closes: https://github.com/gentoo/gentoo/pull/19991 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/clojure/Manifest1
-rw-r--r--dev-lang/clojure/clojure-1.10.3.ebuild49
-rw-r--r--dev-lang/clojure/metadata.xml15
3 files changed, 61 insertions, 4 deletions
diff --git a/dev-lang/clojure/Manifest b/dev-lang/clojure/Manifest
index a3d34f05fbe4..881e4b79705c 100644
--- a/dev-lang/clojure/Manifest
+++ b/dev-lang/clojure/Manifest
@@ -1,3 +1,4 @@
DIST clojure-1.10.0.tar.gz 678715 BLAKE2B 8f69a327e94e173864b3d8b81e92ab716c70be9fa59bbd836889cb75a8d44518a3aa2a8fbec50a04f2e7d1afdb07ffef2f7069077e22ef91f321c5fb122d2bb9 SHA512 d53d2322662974d2eed97d7870f0f91822de8acb91e30b50b0dca4186ee667c46b2b5863e080d89e3bfe63d090c6ac2e25617f74d1434bae2ca1e73ae9a36012
+DIST clojure-1.10.3.tar.gz 683020 BLAKE2B ea57231375589d5c45b7e8a1fe87ea3f371e631733d5ae27d547e84a575cd7a54394fa401c920a7ec5e7218719f2ecd728a77e1d3e05c803f0620fcfeabd4199 SHA512 540c4c730a9f504f4e8a33e957fb150a70c3f1afa8e10205d23bb3c0528a46ca615b3a95dbedf367d4d0965d8eabc69b2d7f3bc144be9b4cb64fba085bfc6d9d
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.3.ebuild b/dev-lang/clojure/clojure-1.10.3.ebuild
new file mode 100644
index 000000000000..bae7564f607f
--- /dev/null
+++ b/dev-lang/clojure/clojure-1.10.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/${PN}/${PN}/archive/${P}.tar.gz"
+
+LICENSE="EPL-1.0 Apache-2.0 BSD"
+SLOT="1.10"
+
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+
+# Restrict test as broken due to file not found issue and more.
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-java/spec-alpha:0.2
+ dev-java/core-specs-alpha:0.2
+ dev-java/ant-core:0"
+
+RDEPEND="${COMMON_DEPEND}
+ >=virtual/jre-1.8"
+
+DEPEND="${COMMON_DEPEND}
+ >=virtual/jdk-1.8"
+
+S="${WORKDIR}/${PN}-${PN}-${PV}"
+
+DOCS=( changes.md CONTRIBUTING.md readme.txt )
+
+src_compile() {
+ eant -Dmaven.compile.classpath=$(java-pkg_getjars core-specs-alpha-0.2,spec-alpha-0.2) -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
+}
diff --git a/dev-lang/clojure/metadata.xml b/dev-lang/clojure/metadata.xml
index d3f6b1a43343..30ffdd2271ca 100644
--- a/dev-lang/clojure/metadata.xml
+++ b/dev-lang/clojure/metadata.xml
@@ -1,8 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">clojure/clojure</remote-id>
- </upstream>
+ <maintainer type="person" proxied="yes">
+ <email>marco@scardovi.com</email>
+ <name>Marco Scardovi</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">clojure/clojure</remote-id>
+ </upstream>
</pkgmetadata>