Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: jruby-9.3.7.0
@ 2022-08-25  6:47 chloris-pale-green
  2022-08-25  7:01 ` [PR PATCH] [Updated] " chloris-pale-green
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: chloris-pale-green @ 2022-08-25  6:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1417 bytes --]

There is a new pull request by chloris-pale-green against master on the void-packages repository

https://github.com/chloris-pale-green/void-packages jruby
https://github.com/void-linux/void-packages/pull/38900

New package: jruby-9.3.7.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l (crossbuild)

#### Motivation
The reference Ruby interpreter can not execute threads on multiple CPU cores because of [GIL](https://en.wikipedia.org/wiki/Global_interpreter_lock). JRuby is able to perform real threading.


A patch file from https://github.com/void-linux/void-packages/pull/38900.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jruby-38900.patch --]
[-- Type: text/x-diff, Size: 1402 bytes --]

From a6f61cc13823fa240a06145ed6d91c8b97b5c60f Mon Sep 17 00:00:00 2001
From: Maja Reberc <maja.reberc@freedommail.ch>
Date: Thu, 25 Aug 2022 08:38:39 +0200
Subject: [PATCH] New package: jruby-9.3.7.0

---
 srcpkgs/jruby/template | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/jruby/template

diff --git a/srcpkgs/jruby/template b/srcpkgs/jruby/template
new file mode 100644
index 000000000000..4ec205c058d2
--- /dev/null
+++ b/srcpkgs/jruby/template
@@ -0,0 +1,35 @@
+# Template file for 'jruby'
+pkgname=jruby
+version=9.3.7.0
+revision=1
+#archs="i686 x86_64"
+hostmakedepends="apache-ant>=1.8 apache-maven>=3.3.0"
+depends="virtual?java-runtime"
+short_desc="Implementation of the Ruby language using the JVM"
+maintainer="Chloris <chloris@freedommail.ch>"
+license="EPL-2.0, GPL-2.0-only, LGPL-2.1-only"
+homepage="https://www.jruby.org/"
+distfiles="https://repo1.maven.org/maven2/org/jruby/jruby-dist/${version}/${pkgname}-dist-${version}-src.zip"
+checksum=8001b09ceccb94b79868bc0f3382d2514ef9f1706a53a5bf6b62c272a3a49f63
+conflicts="ruby"
+
+do_build() {
+	./mvnw
+}
+
+post_build() {
+	cd bin
+	# Remove Windows scripts, binaries and libraries
+	rm -f *.bat *.exe *.dll
+}
+
+do_install() {
+	vmkdir usr/bin
+	vcopy "bin/*" usr/bin
+
+	vmkdir usr/lib
+	vinstall lib/jruby.jar 644 usr/lib/
+	vcopy lib/ruby usr/lib/
+
+	vdoc README.md
+}

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2022-12-30  1:58 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25  6:47 [PR PATCH] New package: jruby-9.3.7.0 chloris-pale-green
2022-08-25  7:01 ` [PR PATCH] [Updated] " chloris-pale-green
2022-08-25  7:11 ` chloris-pale-green
2022-08-25  7:48 ` chloris-pale-green
2022-08-25  8:32 ` classabbyamp
2022-08-25 14:04 ` [PR PATCH] [Updated] " chloris-pale-green
2022-08-25 14:18 ` chloris-pale-green
2022-08-25 15:01 ` classabbyamp
2022-08-25 16:10 ` chloris-pale-green
2022-08-25 16:10 ` chloris-pale-green
2022-08-31 15:29 ` chloris-pale-green
2022-08-31 16:06 ` chloris-pale-green
2022-08-31 16:25 ` classabbyamp
2022-08-31 16:57 ` [PR PATCH] [Updated] " chloris-pale-green
2022-08-31 17:02 ` chloris-pale-green
2022-09-14 10:06 ` [PR PATCH] [Updated] " chloris-pale-green
2022-09-14 10:10 ` chloris-pale-green
2022-12-15  2:02 ` New package: jruby-9.3.8.0 github-actions
2022-12-30  1:58 ` [PR PATCH] [Closed]: " github-actions

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).