Github messages for voidlinux
 help / color / mirror / Atom feed
From: chloris-pale-green <chloris-pale-green@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: jruby-9.3.7.0
Date: Thu, 25 Aug 2022 09:01:28 +0200	[thread overview]
Message-ID: <20220825070128.E__aKpwA1Z6AcmAY8nwY_hBZBVNPZKNt9tjot3xCh4Q@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38900@inbox.vuxu.org>

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

There is an updated 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: 1410 bytes --]

From 63d35fc5d3ffb5478c9c9f12ec9c2ba2454c4006 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..0ef6eb525432
--- /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 ruby-ri"
+
+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
+}

  reply	other threads:[~2022-08-25  7:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-25  6:47 [PR PATCH] " chloris-pale-green
2022-08-25  7:01 ` chloris-pale-green [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220825070128.E__aKpwA1Z6AcmAY8nwY_hBZBVNPZKNt9tjot3xCh4Q@z \
    --to=chloris-pale-green@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).