diff options
| author | Florian Schmaus <flo@geekplace.eu> | 2021-06-17 17:54:16 +0200 |
|---|---|---|
| committer | Göktürk Yüksek <gokturk@gentoo.org> | 2021-06-21 10:26:38 -0400 |
| commit | cc57f9f25d40bff2e2b0e3179eac82e467f5952e (patch) | |
| tree | f7687616fd1b627936563258367ad2bb613f2011 /dev-lang/clojure/files/add-compile-spec-ant-build-target.patch | |
| parent | c5d1dbb1b57e1016b8ce28aeffcc0c87edcf6c16 (diff) | |
| download | gentoo-cc57f9f25d40bff2e2b0e3179eac82e467f5952e.tar.gz gentoo-cc57f9f25d40bff2e2b0e3179eac82e467f5952e.tar.bz2 gentoo-cc57f9f25d40bff2e2b0e3179eac82e467f5952e.zip | |
dev-lang/clojure: add 1.10.3
This is a "new kind" of clojure ebuilds, which does not longer depend
on dev-java/spec-alpha and dev-java/core-specs-alpha, but instead is
able to bootstrap itself. Major thanks to Göktürk Yüksek for coming up
with a way to bootstrap clojure (see
add-compile-spec-ant-build-target.patch).
Closes: https://bugs.gentoo.org/661442
Closes: https://bugs.gentoo.org/737064
Closes: https://github.com/gentoo/gentoo/pull/21285
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'dev-lang/clojure/files/add-compile-spec-ant-build-target.patch')
| -rw-r--r-- | dev-lang/clojure/files/add-compile-spec-ant-build-target.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-lang/clojure/files/add-compile-spec-ant-build-target.patch b/dev-lang/clojure/files/add-compile-spec-ant-build-target.patch new file mode 100644 index 000000000000..5faea8013122 --- /dev/null +++ b/dev-lang/clojure/files/add-compile-spec-ant-build-target.patch @@ -0,0 +1,54 @@ +From 3270c158d191f7e59540667c2dbe6c5dc7a19a59 Mon Sep 17 00:00:00 2001 +From: Florian Schmaus <flo@geekplace.eu> +Date: Thu, 17 Jun 2021 14:52:01 +0200 +Subject: [PATCH] Add compile-spec ant build target +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Suggested-by: Göktürk Yüksek <gokturk@gentoo.org> +--- + build.xml | 20 +++++++++++++++++++- + 1 file changed, 19 insertions(+), 1 deletion(-) + +diff --git a/build.xml b/build.xml +index 4d29bbf9a27e..dc742113938f 100644 +--- a/build.xml ++++ b/build.xml +@@ -85,6 +85,24 @@ + </java> + </target> + ++ <target name="compile-spec" ++ description="Compile Clojure spec sources." ++ depends="compile-java"> ++ <java classname="clojure.lang.Compile" ++ classpath="${build}:${cljsrc}" ++ failonerror="true" ++ fork="true"> ++ <sysproperty key="clojure.compile.path" value="${build}"/> ++ <sysproperty key="clojure.compiler.direct-linking" value="true"/> ++ <sysproperty key="clojure.spec.skip-macros" value="true"/> ++ <sysproperty key="java.awt.headless" value="true"/> ++ <arg value="clojure.spec.alpha"/> ++ <arg value="clojure.spec.gen.alpha"/> ++ <arg value="clojure.spec.test.alpha"/> ++ <arg value="clojure.core.specs.alpha"/> ++ </java> ++ </target> ++ + <target name="compile-tests" + description="Compile the subset of tests that require compilation." + unless="maven.test.skip"> +@@ -149,7 +167,7 @@ + + <target name="build" + description="Build Clojure (compilation only, no tests)." +- depends="compile-java, compile-clojure"/> ++ depends="compile-java, compile-clojure, compile-spec"/> + + <target name="jar" depends="build" + description="Create clojure jar file."> +-- +2.31.1 + |
