* [PR PATCH] New package: clj-kondo-2024.08.01
@ 2024-08-23 20:23 atweiden
2024-08-23 20:33 ` [PR PATCH] [Updated] " atweiden
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: atweiden @ 2024-08-23 20:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
There is a new pull request by atweiden against master on the void-packages repository
https://github.com/atweiden/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/51961
New package: clj-kondo-2024.08.01
[clj-kondo](https://github.com/clj-kondo/clj-kondo): Static analyzer and linter for Clojure
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
A patch file from https://github.com/void-linux/void-packages/pull/51961.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clj-kondo-51961.patch --]
[-- Type: text/x-diff, Size: 2361 bytes --]
From 04bcd129efaed3c532665bcc5c0f3611a6babae1 Mon Sep 17 00:00:00 2001
From: Andy Weidenbaum <atweiden@ioiojo.com>
Date: Fri, 23 Aug 2024 19:20:46 +0000
Subject: [PATCH] New package: clj-kondo-2024.08.01
---
srcpkgs/clj-kondo/template | 63 ++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 srcpkgs/clj-kondo/template
diff --git a/srcpkgs/clj-kondo/template b/srcpkgs/clj-kondo/template
new file mode 100644
index 00000000000000..93b8a7c7154b57
--- /dev/null
+++ b/srcpkgs/clj-kondo/template
@@ -0,0 +1,63 @@
+# Template file for 'clj-kondo'
+pkgname=clj-kondo
+version=2024.08.01
+revision=1
+hostmakedepends="clojure leiningen mandrel"
+makedepends="zlib-devel"
+checkdepends="git"
+short_desc="Static analyzer and linter for Clojure code that sparks joy"
+maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
+license="EPL-1.0"
+homepage="https://github.com/clj-kondo/clj-kondo"
+changelog="https://github.com/clj-kondo/clj-kondo/raw/main/CHANGELOG.md"
+distfiles="https://github.com/clj-kondo/clj-kondo/archive/v${version}.tar.gz"
+checksum=229372ddf49dbc484534fa174c7b50e78ecfa20a882a8e000d0b1598de1c336e
+nocross="mandrel"
+
+do_build() {
+ local _args
+
+ export JAVA_HOME=/usr/lib/jvm/mandrel21
+ export GRAALVM_HOME=/usr/lib/jvm/mandrel21
+ export PATH="${PATH}:${GRAALVM_HOME}/bin"
+
+ export CLJ_KONDO_NATIVE=true
+ export CLJ_KONDO_STATIC=true
+ lein with-profiles +clojure-1.10.2 "do" clean, uberjar
+
+ _args+=" --static"
+ # necessary for compatibility with older machines, e.g. see:
+ # https://github.com/borkdude/deps.clj/actions/runs/6337277754/job/17212028399
+ _args+=" -march=compatibility"
+ _args+=" -O1"
+
+ if [ "$XBPS_TARGET_LIBC" = musl ]; then
+ export CLJ_KONDO_MUSL=true
+ _args+=" --libc=musl"
+ # see: https://github.com/oracle/graal/issues/3398
+ _args+=" -H:CCompilerOption=-Wl,-z,stack-size=2097152"
+ else
+ # see: https://github.com/oracle/graal/issues/3737
+ _args+=" -H:+StaticExecutableWithDynamicLibC"
+ fi
+
+ LC_ALL=C.UTF-8 \
+ ${GRAALVM_HOME}/bin/native-image \
+ -J-Xss$(ulimit -s)K \
+ -J-Xmx3G \
+ -J-Xms2G \
+ -jar target/clj-kondo-$version-standalone.jar \
+ $_args \
+ -H:+ReportExceptionStackTraces \
+ --verbose \
+ --no-fallback
+}
+
+do_check() {
+ CLJ_KONDO_TEST_ENV=native script/test
+}
+
+do_install() {
+ vbin clj-kondo
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: clj-kondo-2024.08.01
2024-08-23 20:23 [PR PATCH] New package: clj-kondo-2024.08.01 atweiden
@ 2024-08-23 20:33 ` atweiden
2024-09-12 20:59 ` atweiden
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: atweiden @ 2024-08-23 20:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
There is an updated pull request by atweiden against master on the void-packages repository
https://github.com/atweiden/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/51961
New package: clj-kondo-2024.08.01
[clj-kondo](https://github.com/clj-kondo/clj-kondo): Static analyzer and linter for Clojure
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
A patch file from https://github.com/void-linux/void-packages/pull/51961.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clj-kondo-51961.patch --]
[-- Type: text/x-diff, Size: 2358 bytes --]
From a7706ed4f902cc858a8021c5398f2d606c520265 Mon Sep 17 00:00:00 2001
From: Andy Weidenbaum <atweiden@ioiojo.com>
Date: Fri, 23 Aug 2024 19:20:46 +0000
Subject: [PATCH] New package: clj-kondo-2024.08.01
---
srcpkgs/clj-kondo/template | 63 ++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 srcpkgs/clj-kondo/template
diff --git a/srcpkgs/clj-kondo/template b/srcpkgs/clj-kondo/template
new file mode 100644
index 00000000000000..6a0abb75e3d331
--- /dev/null
+++ b/srcpkgs/clj-kondo/template
@@ -0,0 +1,63 @@
+# Template file for 'clj-kondo'
+pkgname=clj-kondo
+version=2024.08.01
+revision=1
+hostmakedepends="clojure leiningen mandrel"
+makedepends="zlib-devel"
+checkdepends="git"
+short_desc="Static analyzer and linter for Clojure code that sparks joy"
+maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
+license="EPL-1.0"
+homepage="https://github.com/clj-kondo/clj-kondo"
+changelog="https://github.com/clj-kondo/clj-kondo/raw/main/CHANGELOG.md"
+distfiles="https://github.com/clj-kondo/clj-kondo/archive/v${version}.tar.gz"
+checksum=229372ddf49dbc484534fa174c7b50e78ecfa20a882a8e000d0b1598de1c336e
+nocross="mandrel"
+
+export JAVA_HOME=/usr/lib/jvm/mandrel21
+export GRAALVM_HOME=/usr/lib/jvm/mandrel21
+export PATH="${PATH}:${GRAALVM_HOME}/bin"
+
+do_build() {
+ local _args
+
+ export CLJ_KONDO_NATIVE=true
+ export CLJ_KONDO_STATIC=true
+ lein with-profiles +clojure-1.10.2 "do" clean, uberjar
+
+ _args+=" --static"
+ # necessary for compatibility with older machines, e.g. see:
+ # https://github.com/borkdude/deps.clj/actions/runs/6337277754/job/17212028399
+ _args+=" -march=compatibility"
+ _args+=" -O1"
+
+ if [ "$XBPS_TARGET_LIBC" = musl ]; then
+ export CLJ_KONDO_MUSL=true
+ _args+=" --libc=musl"
+ # see: https://github.com/oracle/graal/issues/3398
+ _args+=" -H:CCompilerOption=-Wl,-z,stack-size=2097152"
+ else
+ # see: https://github.com/oracle/graal/issues/3737
+ _args+=" -H:+StaticExecutableWithDynamicLibC"
+ fi
+
+ LC_ALL=C.UTF-8 \
+ ${GRAALVM_HOME}/bin/native-image \
+ -J-Xss$(ulimit -s)K \
+ -J-Xmx3G \
+ -J-Xms2G \
+ -jar target/clj-kondo-$version-standalone.jar \
+ $_args \
+ -H:+ReportExceptionStackTraces \
+ --verbose \
+ --no-fallback
+}
+
+do_check() {
+ CLJ_KONDO_TEST_ENV=native script/test
+}
+
+do_install() {
+ vbin clj-kondo
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: clj-kondo-2024.08.01
2024-08-23 20:23 [PR PATCH] New package: clj-kondo-2024.08.01 atweiden
2024-08-23 20:33 ` [PR PATCH] [Updated] " atweiden
@ 2024-09-12 20:59 ` atweiden
2024-09-13 15:12 ` [PR REVIEW] New package: clj-kondo-2024.08.29 leahneukirchen
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: atweiden @ 2024-09-12 20:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
There is an updated pull request by atweiden against master on the void-packages repository
https://github.com/atweiden/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/51961
New package: clj-kondo-2024.08.01
[clj-kondo](https://github.com/clj-kondo/clj-kondo): Static analyzer and linter for Clojure
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
A patch file from https://github.com/void-linux/void-packages/pull/51961.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clj-kondo-51961.patch --]
[-- Type: text/x-diff, Size: 2358 bytes --]
From 464b71102d93c095628eb9dd36f0ee48fa27d959 Mon Sep 17 00:00:00 2001
From: Andy Weidenbaum <atweiden@ioiojo.com>
Date: Fri, 23 Aug 2024 19:20:46 +0000
Subject: [PATCH] New package: clj-kondo-2024.08.29
---
srcpkgs/clj-kondo/template | 63 ++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 srcpkgs/clj-kondo/template
diff --git a/srcpkgs/clj-kondo/template b/srcpkgs/clj-kondo/template
new file mode 100644
index 00000000000000..6f907ecfe9fdbf
--- /dev/null
+++ b/srcpkgs/clj-kondo/template
@@ -0,0 +1,63 @@
+# Template file for 'clj-kondo'
+pkgname=clj-kondo
+version=2024.08.29
+revision=1
+hostmakedepends="clojure leiningen mandrel"
+makedepends="zlib-devel"
+checkdepends="git"
+short_desc="Static analyzer and linter for Clojure code that sparks joy"
+maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
+license="EPL-1.0"
+homepage="https://github.com/clj-kondo/clj-kondo"
+changelog="https://github.com/clj-kondo/clj-kondo/raw/main/CHANGELOG.md"
+distfiles="https://github.com/clj-kondo/clj-kondo/archive/v${version}.tar.gz"
+checksum=b07896374b5e6346736c3b2eaca899c627c1748b96feeed963694efab44de2cc
+nocross="mandrel"
+
+export JAVA_HOME=/usr/lib/jvm/mandrel21
+export GRAALVM_HOME=/usr/lib/jvm/mandrel21
+export PATH="${PATH}:${GRAALVM_HOME}/bin"
+
+do_build() {
+ local _args
+
+ export CLJ_KONDO_NATIVE=true
+ export CLJ_KONDO_STATIC=true
+ lein with-profiles +clojure-1.10.2 "do" clean, uberjar
+
+ _args+=" --static"
+ # necessary for compatibility with older machines, e.g. see:
+ # https://github.com/borkdude/deps.clj/actions/runs/6337277754/job/17212028399
+ _args+=" -march=compatibility"
+ _args+=" -O1"
+
+ if [ "$XBPS_TARGET_LIBC" = musl ]; then
+ export CLJ_KONDO_MUSL=true
+ _args+=" --libc=musl"
+ # see: https://github.com/oracle/graal/issues/3398
+ _args+=" -H:CCompilerOption=-Wl,-z,stack-size=2097152"
+ else
+ # see: https://github.com/oracle/graal/issues/3737
+ _args+=" -H:+StaticExecutableWithDynamicLibC"
+ fi
+
+ LC_ALL=C.UTF-8 \
+ ${GRAALVM_HOME}/bin/native-image \
+ -J-Xss$(ulimit -s)K \
+ -J-Xmx3G \
+ -J-Xms2G \
+ -jar target/clj-kondo-$version-standalone.jar \
+ $_args \
+ -H:+ReportExceptionStackTraces \
+ --verbose \
+ --no-fallback
+}
+
+do_check() {
+ CLJ_KONDO_TEST_ENV=native script/test
+}
+
+do_install() {
+ vbin clj-kondo
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR REVIEW] New package: clj-kondo-2024.08.29
2024-08-23 20:23 [PR PATCH] New package: clj-kondo-2024.08.01 atweiden
2024-08-23 20:33 ` [PR PATCH] [Updated] " atweiden
2024-09-12 20:59 ` atweiden
@ 2024-09-13 15:12 ` leahneukirchen
2024-09-22 17:58 ` [PR PATCH] [Updated] " atweiden
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: leahneukirchen @ 2024-09-13 15:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
New review comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/pull/51961#discussion_r1759047958
Comment:
broken link
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: clj-kondo-2024.08.29
2024-08-23 20:23 [PR PATCH] New package: clj-kondo-2024.08.01 atweiden
` (2 preceding siblings ...)
2024-09-13 15:12 ` [PR REVIEW] New package: clj-kondo-2024.08.29 leahneukirchen
@ 2024-09-22 17:58 ` atweiden
2024-09-26 14:43 ` atweiden
2024-11-17 2:06 ` [PR PATCH] [Updated] New package: clj-kondo-2024.09.26 atweiden
5 siblings, 0 replies; 7+ messages in thread
From: atweiden @ 2024-09-22 17:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
There is an updated pull request by atweiden against master on the void-packages repository
https://github.com/atweiden/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/51961
New package: clj-kondo-2024.08.29
[clj-kondo](https://github.com/clj-kondo/clj-kondo): Static analyzer and linter for Clojure
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
A patch file from https://github.com/void-linux/void-packages/pull/51961.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clj-kondo-51961.patch --]
[-- Type: text/x-diff, Size: 2360 bytes --]
From 62a09d759093bcf5538b2522bf7e2089ceab9248 Mon Sep 17 00:00:00 2001
From: Andy Weidenbaum <atweiden@ioiojo.com>
Date: Fri, 23 Aug 2024 19:20:46 +0000
Subject: [PATCH] New package: clj-kondo-2024.08.29
---
srcpkgs/clj-kondo/template | 63 ++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 srcpkgs/clj-kondo/template
diff --git a/srcpkgs/clj-kondo/template b/srcpkgs/clj-kondo/template
new file mode 100644
index 00000000000000..270b4c9d0c7ff2
--- /dev/null
+++ b/srcpkgs/clj-kondo/template
@@ -0,0 +1,63 @@
+# Template file for 'clj-kondo'
+pkgname=clj-kondo
+version=2024.08.29
+revision=1
+hostmakedepends="clojure leiningen mandrel"
+makedepends="zlib-devel"
+checkdepends="git"
+short_desc="Static analyzer and linter for Clojure code that sparks joy"
+maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
+license="EPL-1.0"
+homepage="https://github.com/clj-kondo/clj-kondo"
+changelog="https://github.com/clj-kondo/clj-kondo/raw/master/CHANGELOG.md"
+distfiles="https://github.com/clj-kondo/clj-kondo/archive/v${version}.tar.gz"
+checksum=b07896374b5e6346736c3b2eaca899c627c1748b96feeed963694efab44de2cc
+nocross="mandrel"
+
+export JAVA_HOME=/usr/lib/jvm/mandrel21
+export GRAALVM_HOME=/usr/lib/jvm/mandrel21
+export PATH="${PATH}:${GRAALVM_HOME}/bin"
+
+do_build() {
+ local _args
+
+ export CLJ_KONDO_NATIVE=true
+ export CLJ_KONDO_STATIC=true
+ lein with-profiles +clojure-1.10.2 "do" clean, uberjar
+
+ _args+=" --static"
+ # necessary for compatibility with older machines, e.g. see:
+ # https://github.com/borkdude/deps.clj/actions/runs/6337277754/job/17212028399
+ _args+=" -march=compatibility"
+ _args+=" -O1"
+
+ if [ "$XBPS_TARGET_LIBC" = musl ]; then
+ export CLJ_KONDO_MUSL=true
+ _args+=" --libc=musl"
+ # see: https://github.com/oracle/graal/issues/3398
+ _args+=" -H:CCompilerOption=-Wl,-z,stack-size=2097152"
+ else
+ # see: https://github.com/oracle/graal/issues/3737
+ _args+=" -H:+StaticExecutableWithDynamicLibC"
+ fi
+
+ LC_ALL=C.UTF-8 \
+ ${GRAALVM_HOME}/bin/native-image \
+ -J-Xss$(ulimit -s)K \
+ -J-Xmx3G \
+ -J-Xms2G \
+ -jar target/clj-kondo-$version-standalone.jar \
+ $_args \
+ -H:+ReportExceptionStackTraces \
+ --verbose \
+ --no-fallback
+}
+
+do_check() {
+ CLJ_KONDO_TEST_ENV=native script/test
+}
+
+do_install() {
+ vbin clj-kondo
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: clj-kondo-2024.08.29
2024-08-23 20:23 [PR PATCH] New package: clj-kondo-2024.08.01 atweiden
` (3 preceding siblings ...)
2024-09-22 17:58 ` [PR PATCH] [Updated] " atweiden
@ 2024-09-26 14:43 ` atweiden
2024-11-17 2:06 ` [PR PATCH] [Updated] New package: clj-kondo-2024.09.26 atweiden
5 siblings, 0 replies; 7+ messages in thread
From: atweiden @ 2024-09-26 14:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
There is an updated pull request by atweiden against master on the void-packages repository
https://github.com/atweiden/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/51961
New package: clj-kondo-2024.08.29
[clj-kondo](https://github.com/clj-kondo/clj-kondo): Static analyzer and linter for Clojure
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
A patch file from https://github.com/void-linux/void-packages/pull/51961.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clj-kondo-51961.patch --]
[-- Type: text/x-diff, Size: 2360 bytes --]
From 0bfa13087affad3b10287c37bdd29fbe72c07ecc Mon Sep 17 00:00:00 2001
From: Andy Weidenbaum <atweiden@ioiojo.com>
Date: Fri, 23 Aug 2024 19:20:46 +0000
Subject: [PATCH] New package: clj-kondo-2024.09.26
---
srcpkgs/clj-kondo/template | 63 ++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 srcpkgs/clj-kondo/template
diff --git a/srcpkgs/clj-kondo/template b/srcpkgs/clj-kondo/template
new file mode 100644
index 00000000000000..cff45b38ae5896
--- /dev/null
+++ b/srcpkgs/clj-kondo/template
@@ -0,0 +1,63 @@
+# Template file for 'clj-kondo'
+pkgname=clj-kondo
+version=2024.09.26
+revision=1
+hostmakedepends="clojure leiningen mandrel"
+makedepends="zlib-devel"
+checkdepends="git"
+short_desc="Static analyzer and linter for Clojure code that sparks joy"
+maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
+license="EPL-1.0"
+homepage="https://github.com/clj-kondo/clj-kondo"
+changelog="https://github.com/clj-kondo/clj-kondo/raw/master/CHANGELOG.md"
+distfiles="https://github.com/clj-kondo/clj-kondo/archive/v${version}.tar.gz"
+checksum=4a4220085ca9c8e2f60afaeb7fa8cf9459ec2eafb493df117ba1823f808712ee
+nocross="mandrel"
+
+export JAVA_HOME=/usr/lib/jvm/mandrel21
+export GRAALVM_HOME=/usr/lib/jvm/mandrel21
+export PATH="${PATH}:${GRAALVM_HOME}/bin"
+
+do_build() {
+ local _args
+
+ export CLJ_KONDO_NATIVE=true
+ export CLJ_KONDO_STATIC=true
+ lein with-profiles +clojure-1.10.2 "do" clean, uberjar
+
+ _args+=" --static"
+ # necessary for compatibility with older machines, e.g. see:
+ # https://github.com/borkdude/deps.clj/actions/runs/6337277754/job/17212028399
+ _args+=" -march=compatibility"
+ _args+=" -O1"
+
+ if [ "$XBPS_TARGET_LIBC" = musl ]; then
+ export CLJ_KONDO_MUSL=true
+ _args+=" --libc=musl"
+ # see: https://github.com/oracle/graal/issues/3398
+ _args+=" -H:CCompilerOption=-Wl,-z,stack-size=2097152"
+ else
+ # see: https://github.com/oracle/graal/issues/3737
+ _args+=" -H:+StaticExecutableWithDynamicLibC"
+ fi
+
+ LC_ALL=C.UTF-8 \
+ ${GRAALVM_HOME}/bin/native-image \
+ -J-Xss$(ulimit -s)K \
+ -J-Xmx3G \
+ -J-Xms2G \
+ -jar target/clj-kondo-$version-standalone.jar \
+ $_args \
+ -H:+ReportExceptionStackTraces \
+ --verbose \
+ --no-fallback
+}
+
+do_check() {
+ CLJ_KONDO_TEST_ENV=native script/test
+}
+
+do_install() {
+ vbin clj-kondo
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: clj-kondo-2024.09.26
2024-08-23 20:23 [PR PATCH] New package: clj-kondo-2024.08.01 atweiden
` (4 preceding siblings ...)
2024-09-26 14:43 ` atweiden
@ 2024-11-17 2:06 ` atweiden
5 siblings, 0 replies; 7+ messages in thread
From: atweiden @ 2024-11-17 2:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
There is an updated pull request by atweiden against master on the void-packages repository
https://github.com/atweiden/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/51961
New package: clj-kondo-2024.09.26
[clj-kondo](https://github.com/clj-kondo/clj-kondo): Static analyzer and linter for Clojure
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
A patch file from https://github.com/void-linux/void-packages/pull/51961.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clj-kondo-51961.patch --]
[-- Type: text/x-diff, Size: 2360 bytes --]
From 4141df7151c8dea488266b431b27cec4024238c2 Mon Sep 17 00:00:00 2001
From: Andy Weidenbaum <atweiden@ioiojo.com>
Date: Fri, 23 Aug 2024 19:20:46 +0000
Subject: [PATCH] New package: clj-kondo-2024.11.14
---
srcpkgs/clj-kondo/template | 63 ++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 srcpkgs/clj-kondo/template
diff --git a/srcpkgs/clj-kondo/template b/srcpkgs/clj-kondo/template
new file mode 100644
index 00000000000000..19a469f1a07816
--- /dev/null
+++ b/srcpkgs/clj-kondo/template
@@ -0,0 +1,63 @@
+# Template file for 'clj-kondo'
+pkgname=clj-kondo
+version=2024.11.14
+revision=1
+hostmakedepends="clojure leiningen mandrel"
+makedepends="zlib-devel"
+checkdepends="git"
+short_desc="Static analyzer and linter for Clojure code that sparks joy"
+maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
+license="EPL-1.0"
+homepage="https://github.com/clj-kondo/clj-kondo"
+changelog="https://github.com/clj-kondo/clj-kondo/raw/master/CHANGELOG.md"
+distfiles="https://github.com/clj-kondo/clj-kondo/archive/v${version}.tar.gz"
+checksum=07745d19b29d2bcd895b1bdb073eee6848cda9ec09037fea583748fab814c9a4
+nocross="mandrel"
+
+export JAVA_HOME=/usr/lib/jvm/mandrel21
+export GRAALVM_HOME=/usr/lib/jvm/mandrel21
+export PATH="${PATH}:${GRAALVM_HOME}/bin"
+
+do_build() {
+ local _args
+
+ export CLJ_KONDO_NATIVE=true
+ export CLJ_KONDO_STATIC=true
+ lein with-profiles +clojure-1.10.2 "do" clean, uberjar
+
+ _args+=" --static"
+ # necessary for compatibility with older machines, e.g. see:
+ # https://github.com/borkdude/deps.clj/actions/runs/6337277754/job/17212028399
+ _args+=" -march=compatibility"
+ _args+=" -O1"
+
+ if [ "$XBPS_TARGET_LIBC" = musl ]; then
+ export CLJ_KONDO_MUSL=true
+ _args+=" --libc=musl"
+ # see: https://github.com/oracle/graal/issues/3398
+ _args+=" -H:CCompilerOption=-Wl,-z,stack-size=2097152"
+ else
+ # see: https://github.com/oracle/graal/issues/3737
+ _args+=" -H:+StaticExecutableWithDynamicLibC"
+ fi
+
+ LC_ALL=C.UTF-8 \
+ ${GRAALVM_HOME}/bin/native-image \
+ -J-Xss$(ulimit -s)K \
+ -J-Xmx3G \
+ -J-Xms2G \
+ -jar target/clj-kondo-$version-standalone.jar \
+ $_args \
+ -H:+ReportExceptionStackTraces \
+ --verbose \
+ --no-fallback
+}
+
+do_check() {
+ CLJ_KONDO_TEST_ENV=native script/test
+}
+
+do_install() {
+ vbin clj-kondo
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-11-17 2:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-23 20:23 [PR PATCH] New package: clj-kondo-2024.08.01 atweiden
2024-08-23 20:33 ` [PR PATCH] [Updated] " atweiden
2024-09-12 20:59 ` atweiden
2024-09-13 15:12 ` [PR REVIEW] New package: clj-kondo-2024.08.29 leahneukirchen
2024-09-22 17:58 ` [PR PATCH] [Updated] " atweiden
2024-09-26 14:43 ` atweiden
2024-11-17 2:06 ` [PR PATCH] [Updated] New package: clj-kondo-2024.09.26 atweiden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).