summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-04-06 18:00:10 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-04-06 18:27:15 +0200
commit618fa058d8ecdf0bc06da222ca7009245e173f88 (patch)
tree5d47c2b75f55dc415c21d533882479d67372555f /dev-lang/clojure
parentapp-emacs/corfu: bump to 1.3 (diff)
downloadgentoo-618fa058d8ecdf0bc06da222ca7009245e173f88.tar.gz
gentoo-618fa058d8ecdf0bc06da222ca7009245e173f88.tar.bz2
gentoo-618fa058d8ecdf0bc06da222ca7009245e173f88.zip
dev-lang/clojure: make unslottable
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/clojure')
-rw-r--r--dev-lang/clojure/clojure-1.11.1-r1.ebuild (renamed from dev-lang/clojure/clojure-1.11.1.ebuild)13
-rw-r--r--dev-lang/clojure/clojure-1.11.2-r1.ebuild (renamed from dev-lang/clojure/clojure-1.11.2.ebuild)4
2 files changed, 7 insertions, 10 deletions
diff --git a/dev-lang/clojure/clojure-1.11.1.ebuild b/dev-lang/clojure/clojure-1.11.1-r1.ebuild
index 547ce5a5e5d1..d95fe4b42eb9 100644
--- a/dev-lang/clojure/clojure-1.11.1.ebuild
+++ b/dev-lang/clojure/clojure-1.11.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -32,20 +32,17 @@ SRC_URI="
https://github.com/clojure/test.check/archive/v${TEST_CHECK_VER}.tar.gz -> test.check-${TEST_CHECK_VER}.tar.gz
)
"
+S="${WORKDIR}/${PN}-${P}"
LICENSE="EPL-1.0 Apache-2.0 BSD"
-SLOT="$(ver_cut 1-2)"
-
+SLOT="0/$(ver_cut 1-2)"
KEYWORDS="amd64 x86 ~x86-linux"
-
-PATCHES=( "${FILESDIR}"/add-compile-spec-ant-build-target.patch )
-
RESTRICT="!test? ( test )"
RDEPEND=">=virtual/jre-1.8"
DEPEND=">=virtual/jdk-1.8"
-S="${WORKDIR}"/${PN}-${P}
+PATCHES=( "${FILESDIR}"/add-compile-spec-ant-build-target.patch )
DOCS=( changes.md CONTRIBUTING.md readme.txt )
@@ -90,7 +87,7 @@ src_test() {
src_install() {
java-pkg_newjar "${PN}.jar"
- java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
+ java-pkg_dolauncher "${PN}" --main clojure.main
einstalldocs
}
diff --git a/dev-lang/clojure/clojure-1.11.2.ebuild b/dev-lang/clojure/clojure-1.11.2-r1.ebuild
index 169b3bad4187..a0ea1c284db5 100644
--- a/dev-lang/clojure/clojure-1.11.2.ebuild
+++ b/dev-lang/clojure/clojure-1.11.2-r1.ebuild
@@ -46,7 +46,7 @@ SRC_URI="
S="${WORKDIR}/${PN}-${P}"
LICENSE="EPL-1.0 Apache-2.0 BSD"
-SLOT="$(ver_cut 1-2)"
+SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~amd64 ~x86 ~x86-linux"
RESTRICT="!test? ( test )"
@@ -102,7 +102,7 @@ src_test() {
src_install() {
java-pkg_newjar "${PN}.jar"
- java-pkg_dolauncher "${PN}-${SLOT}" --main clojure.main
+ java-pkg_dolauncher "${PN}" --main clojure.main
einstalldocs
}