Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203
@ 2021-12-13  3:27 b-l-a-i-n-e
  2021-12-13 19:44 ` [PR REVIEW] " Chocimier
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: b-l-a-i-n-e @ 2021-12-13  3:27 UTC (permalink / raw)
  To: ml

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

There is a new pull request by b-l-a-i-n-e against master on the void-packages repository

https://github.com/b-l-a-i-n-e/void-packages rbenv
https://github.com/void-linux/void-packages/pull/34504

New packages: rbenv-1.2.0, ruby-build-20211203
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)


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

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

From 582c82eb4842684e5d9cad2811b6557b5578769f Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Sun, 12 Dec 2021 17:34:12 -0800
Subject: [PATCH 1/2] New package: ruby-build-20211203

---
 srcpkgs/ruby-build/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/ruby-build/template

diff --git a/srcpkgs/ruby-build/template b/srcpkgs/ruby-build/template
new file mode 100644
index 000000000000..52a872b0388a
--- /dev/null
+++ b/srcpkgs/ruby-build/template
@@ -0,0 +1,21 @@
+# Template file for 'ruby-build'
+pkgname=ruby-build
+version=20211203
+revision=1
+archs="x86_64"
+depends="bash"
+short_desc="Compile and install Ruby"
+maintainer="b-l-a-i-n-e <blaine.gilbreth@gmail.com>"
+homepage="https://github.com/rbenv/ruby-build"
+distfiles="https://github.com/rbenv/ruby-build/archive/refs/tags/v${version}.tar.gz"
+license="MIT"
+checksum=f6a9149b24c7452a512395bc43d9837171de5f43ef0cf191a4a24b013f6a2eed
+
+do_install() {
+	vinstall bin/ruby-build 755 /usr/bin
+	vinstall bin/rbenv-install 755 /usr/bin
+	vinstall bin/rbenv-uninstall 755 /usr/bin
+	vmkdir usr/share/ruby-build
+	vcopy share/ruby-build/* usr/share/ruby-build
+	vlicense LICENSE
+}

From a2794daf304bd5e0dd79bb935acdc2ac42b40552 Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Sun, 12 Dec 2021 17:35:09 -0800
Subject: [PATCH 2/2] New package: rbenv-1.2.0

---
 srcpkgs/rbenv/INSTALL.msg | 10 ++++++++++
 srcpkgs/rbenv/files/rbenv |  2 ++
 srcpkgs/rbenv/template    | 26 ++++++++++++++++++++++++++
 3 files changed, 38 insertions(+)
 create mode 100644 srcpkgs/rbenv/INSTALL.msg
 create mode 100644 srcpkgs/rbenv/files/rbenv
 create mode 100644 srcpkgs/rbenv/template

diff --git a/srcpkgs/rbenv/INSTALL.msg b/srcpkgs/rbenv/INSTALL.msg
new file mode 100644
index 000000000000..69fd6762df2f
--- /dev/null
+++ b/srcpkgs/rbenv/INSTALL.msg
@@ -0,0 +1,10 @@
+You may verify install with rbenv-doctor
+
+  $ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash
+
+Initialize as current user to create the ~/.rbenv file which holds the shims
+
+  $ rbenv init
+
+See readme for more info (https://github.com/rbenv/rbenv#readme)
+
diff --git a/srcpkgs/rbenv/files/rbenv b/srcpkgs/rbenv/files/rbenv
new file mode 100644
index 000000000000..b260c7334a01
--- /dev/null
+++ b/srcpkgs/rbenv/files/rbenv
@@ -0,0 +1,2 @@
+#!/bin/sh
+LD_LIBRARY_PATH=/usr/libexec/rbenv exec /usr/libexec/rbenv/rbenv "$@"
diff --git a/srcpkgs/rbenv/template b/srcpkgs/rbenv/template
new file mode 100644
index 000000000000..596c8a08bddd
--- /dev/null
+++ b/srcpkgs/rbenv/template
@@ -0,0 +1,26 @@
+# Template file for 'rbenv'
+pkgname=rbenv
+version=1.2.0
+revision=1
+archs="x86_64"
+depends="ruby-build"
+short_desc="Manage your app's Ruby environment"
+maintainer="b-l-a-i-n-e <blaine.gilbreth@gmail.com>"
+homepage="https://github.com/rbenv/rbenv"
+distfiles="https://github.com/rbenv/rbenv/archive/refs/tags/v${version}.tar.gz"
+license="MIT"
+checksum=3f3a31b8a73c174e3e877ccc1ea453d966b4d810a2aadcd4d8c460bc9ec85e0c
+
+do_build() {
+	src/configure && make -C src
+}
+
+do_install() {
+	vinstall "${FILESDIR}/rbenv" 755 /usr/bin
+	vmkdir usr/libexec/rbenv
+	vcopy libexec/* usr/libexec/rbenv
+	vmkdir /usr/share/bash-completion/completions/
+	vcopy completions/rbenv.bash /usr/share/bash-completion/completions/
+	vlicense LICENSE
+}
+

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

end of thread, other threads:[~2021-12-15 22:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13  3:27 [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203 b-l-a-i-n-e
2021-12-13 19:44 ` [PR REVIEW] " Chocimier
2021-12-13 19:44 ` Chocimier
2021-12-13 19:58 ` Chocimier
2021-12-13 20:55 ` [PR PATCH] [Updated] " b-l-a-i-n-e
2021-12-13 21:01 ` b-l-a-i-n-e
2021-12-14 18:55 ` b-l-a-i-n-e
2021-12-14 20:30 ` b-l-a-i-n-e
2021-12-15 20:10 ` Chocimier
2021-12-15 21:35 ` [PR PATCH] [Updated] " b-l-a-i-n-e
2021-12-15 21:38 ` b-l-a-i-n-e
2021-12-15 22:42 ` [PR PATCH] [Merged]: " Chocimier

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