* [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
* Re: [PR REVIEW] New packages: rbenv-1.2.0, ruby-build-20211203
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 ` Chocimier
2021-12-13 19:44 ` Chocimier
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Chocimier @ 2021-12-13 19:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
New review comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/34504#discussion_r768068313
Comment:
Please make it build for all platforms, possibly b using configure build style and `build_wrksrc=src` instaead of defining do_build.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR REVIEW] New packages: rbenv-1.2.0, ruby-build-20211203
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
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Chocimier @ 2021-12-13 19:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
New review comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/34504#discussion_r768068313
Comment:
Please make it build for all platforms, possibly by using configure build style and `build_wrksrc=src` instaead of defining do_build.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR REVIEW] New packages: rbenv-1.2.0, ruby-build-20211203
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
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Chocimier @ 2021-12-13 19:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 221 bytes --]
New review comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/34504#discussion_r768078507
Comment:
This all is covered by readme. Please remove, and `vdoc` readme instead.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] New packages: rbenv-1.2.0, ruby-build-20211203
2021-12-13 3:27 [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203 b-l-a-i-n-e
` (2 preceding siblings ...)
2021-12-13 19:58 ` Chocimier
@ 2021-12-13 20:55 ` b-l-a-i-n-e
2021-12-13 21:01 ` b-l-a-i-n-e
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: b-l-a-i-n-e @ 2021-12-13 20:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
There is an updated 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: 5887 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/3] 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/3] 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
+}
+
From eb519e0a82a2d16ba564975fd102faa7c61f61f8 Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Mon, 13 Dec 2021 12:55:20 -0800
Subject: [PATCH 3/3] Use vdoc and build_style=configure
---
srcpkgs/rbenv/INSTALL.msg | 10 ----------
srcpkgs/rbenv/template | 10 +++++-----
srcpkgs/ruby-build/template | 2 +-
3 files changed, 6 insertions(+), 16 deletions(-)
delete mode 100644 srcpkgs/rbenv/INSTALL.msg
diff --git a/srcpkgs/rbenv/INSTALL.msg b/srcpkgs/rbenv/INSTALL.msg
deleted file mode 100644
index 69fd6762df2f..000000000000
--- a/srcpkgs/rbenv/INSTALL.msg
+++ /dev/null
@@ -1,10 +0,0 @@
-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/template b/srcpkgs/rbenv/template
index 596c8a08bddd..5bc368fa21c6 100644
--- a/srcpkgs/rbenv/template
+++ b/srcpkgs/rbenv/template
@@ -2,8 +2,11 @@
pkgname=rbenv
version=1.2.0
revision=1
-archs="x86_64"
depends="ruby-build"
+build_style="configure"
+configure_script="src/configure"
+make_build_args="-C"
+make_build_target="src"
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"
@@ -11,10 +14,6 @@ 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
@@ -22,5 +21,6 @@ do_install() {
vmkdir /usr/share/bash-completion/completions/
vcopy completions/rbenv.bash /usr/share/bash-completion/completions/
vlicense LICENSE
+ vdoc README.md
}
diff --git a/srcpkgs/ruby-build/template b/srcpkgs/ruby-build/template
index 52a872b0388a..b41726af69cd 100644
--- a/srcpkgs/ruby-build/template
+++ b/srcpkgs/ruby-build/template
@@ -2,7 +2,6 @@
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>"
@@ -18,4 +17,5 @@ do_install() {
vmkdir usr/share/ruby-build
vcopy share/ruby-build/* usr/share/ruby-build
vlicense LICENSE
+ vdoc README.md
}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] New packages: rbenv-1.2.0, ruby-build-20211203
2021-12-13 3:27 [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203 b-l-a-i-n-e
` (3 preceding siblings ...)
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
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: b-l-a-i-n-e @ 2021-12-13 21:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
There is an updated 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: 7629 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/4] 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/4] 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
+}
+
From eb519e0a82a2d16ba564975fd102faa7c61f61f8 Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Mon, 13 Dec 2021 12:55:20 -0800
Subject: [PATCH 3/4] Use vdoc and build_style=configure
---
srcpkgs/rbenv/INSTALL.msg | 10 ----------
srcpkgs/rbenv/template | 10 +++++-----
srcpkgs/ruby-build/template | 2 +-
3 files changed, 6 insertions(+), 16 deletions(-)
delete mode 100644 srcpkgs/rbenv/INSTALL.msg
diff --git a/srcpkgs/rbenv/INSTALL.msg b/srcpkgs/rbenv/INSTALL.msg
deleted file mode 100644
index 69fd6762df2f..000000000000
--- a/srcpkgs/rbenv/INSTALL.msg
+++ /dev/null
@@ -1,10 +0,0 @@
-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/template b/srcpkgs/rbenv/template
index 596c8a08bddd..5bc368fa21c6 100644
--- a/srcpkgs/rbenv/template
+++ b/srcpkgs/rbenv/template
@@ -2,8 +2,11 @@
pkgname=rbenv
version=1.2.0
revision=1
-archs="x86_64"
depends="ruby-build"
+build_style="configure"
+configure_script="src/configure"
+make_build_args="-C"
+make_build_target="src"
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"
@@ -11,10 +14,6 @@ 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
@@ -22,5 +21,6 @@ do_install() {
vmkdir /usr/share/bash-completion/completions/
vcopy completions/rbenv.bash /usr/share/bash-completion/completions/
vlicense LICENSE
+ vdoc README.md
}
diff --git a/srcpkgs/ruby-build/template b/srcpkgs/ruby-build/template
index 52a872b0388a..b41726af69cd 100644
--- a/srcpkgs/ruby-build/template
+++ b/srcpkgs/ruby-build/template
@@ -2,7 +2,6 @@
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>"
@@ -18,4 +17,5 @@ do_install() {
vmkdir usr/share/ruby-build
vcopy share/ruby-build/* usr/share/ruby-build
vlicense LICENSE
+ vdoc README.md
}
From f3cef8c6c54c2f804afcfd21918ca7cb50b465cf Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Mon, 13 Dec 2021 13:01:28 -0800
Subject: [PATCH 4/4] Fix linting errors
---
srcpkgs/rbenv/template | 4 ++--
srcpkgs/ruby-build/template | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/rbenv/template b/srcpkgs/rbenv/template
index 5bc368fa21c6..924ebf52dac2 100644
--- a/srcpkgs/rbenv/template
+++ b/srcpkgs/rbenv/template
@@ -2,16 +2,16 @@
pkgname=rbenv
version=1.2.0
revision=1
-depends="ruby-build"
build_style="configure"
configure_script="src/configure"
make_build_args="-C"
make_build_target="src"
+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"
+distfiles="https://github.com/rbenv/rbenv/archive/refs/tags/v${version}.tar.gz"
checksum=3f3a31b8a73c174e3e877ccc1ea453d966b4d810a2aadcd4d8c460bc9ec85e0c
do_install() {
diff --git a/srcpkgs/ruby-build/template b/srcpkgs/ruby-build/template
index b41726af69cd..987cccfe2c56 100644
--- a/srcpkgs/ruby-build/template
+++ b/srcpkgs/ruby-build/template
@@ -6,8 +6,8 @@ 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"
+distfiles="https://github.com/rbenv/ruby-build/archive/refs/tags/v${version}.tar.gz"
checksum=f6a9149b24c7452a512395bc43d9837171de5f43ef0cf191a4a24b013f6a2eed
do_install() {
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] New packages: rbenv-1.2.0, ruby-build-20211203
2021-12-13 3:27 [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203 b-l-a-i-n-e
` (4 preceding siblings ...)
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
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: b-l-a-i-n-e @ 2021-12-14 18:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
There is an updated 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: 2888 bytes --]
From 4a16eacdf24349a3fb73e79902120ce359be67f5 Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Tue, 14 Dec 2021 10:54:44 -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..987cccfe2c56
--- /dev/null
+++ b/srcpkgs/ruby-build/template
@@ -0,0 +1,21 @@
+# Template file for 'ruby-build'
+pkgname=ruby-build
+version=20211203
+revision=1
+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"
+license="MIT"
+distfiles="https://github.com/rbenv/ruby-build/archive/refs/tags/v${version}.tar.gz"
+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
+ vdoc README.md
+}
From fc8e9a7cf0e8cb73fe07f362c679dd593dc69b26 Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Tue, 14 Dec 2021 10:55:45 -0800
Subject: [PATCH 2/2] New package: rbenv-1.2.0
---
srcpkgs/rbenv/files/rbenv | 2 ++
srcpkgs/rbenv/template | 26 ++++++++++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 srcpkgs/rbenv/files/rbenv
create mode 100644 srcpkgs/rbenv/template
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..924ebf52dac2
--- /dev/null
+++ b/srcpkgs/rbenv/template
@@ -0,0 +1,26 @@
+# Template file for 'rbenv'
+pkgname=rbenv
+version=1.2.0
+revision=1
+build_style="configure"
+configure_script="src/configure"
+make_build_args="-C"
+make_build_target="src"
+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"
+license="MIT"
+distfiles="https://github.com/rbenv/rbenv/archive/refs/tags/v${version}.tar.gz"
+checksum=3f3a31b8a73c174e3e877ccc1ea453d966b4d810a2aadcd4d8c460bc9ec85e0c
+
+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
+ vdoc README.md
+}
+
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: New packages: rbenv-1.2.0, ruby-build-20211203
2021-12-13 3:27 [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203 b-l-a-i-n-e
` (5 preceding siblings ...)
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
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: b-l-a-i-n-e @ 2021-12-14 20:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
New comment by b-l-a-i-n-e on void-packages repository
https://github.com/void-linux/void-packages/pull/34504#issuecomment-993955945
Comment:
@Chocimier mind taking another look -- pushed up those changes
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: New packages: rbenv-1.2.0, ruby-build-20211203
2021-12-13 3:27 [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203 b-l-a-i-n-e
` (6 preceding siblings ...)
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
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Chocimier @ 2021-12-15 20:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/34504#issuecomment-995176639
Comment:
Make it pass lint, use xlint from xtools on template.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] New packages: rbenv-1.2.0, ruby-build-20211203
2021-12-13 3:27 [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203 b-l-a-i-n-e
` (7 preceding siblings ...)
2021-12-15 20:10 ` Chocimier
@ 2021-12-15 21:35 ` 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
10 siblings, 0 replies; 12+ messages in thread
From: b-l-a-i-n-e @ 2021-12-15 21:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
There is an updated 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: 2817 bytes --]
From 1575f51b583f6eab225d37a29e87ca4de0eafed0 Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Tue, 14 Dec 2021 10:54:44 -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..8ba698addb76
--- /dev/null
+++ b/srcpkgs/ruby-build/template
@@ -0,0 +1,21 @@
+# Template file for 'ruby-build'
+pkgname=ruby-build
+version=20211203
+revision=1
+depends="bash"
+short_desc="Compile and install Ruby"
+maintainer="b-l-a-i-n-e <blaine.gilbreth@gmail.com>"
+license="MIT"
+homepage="https://github.com/rbenv/ruby-build"
+distfiles="https://github.com/rbenv/ruby-build/archive/refs/tags/v${version}.tar.gz"
+checksum=f6a9149b24c7452a512395bc43d9837171de5f43ef0cf191a4a24b013f6a2eed
+
+do_install() {
+ vbin bin/ruby-build
+ vbin bin/rbenv-install
+ vbin bin/rbenv-uninstall
+ vmkdir usr/share/ruby-build
+ vcopy share/ruby-build/* usr/share/ruby-build
+ vlicense LICENSE
+ vdoc README.md
+}
From acbb50b96fc19104b7cdc8e448bcac8fb4e13dfe Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Wed, 15 Dec 2021 13:33:12 -0800
Subject: [PATCH 2/2] New package: rbenv-1.2.0
---
srcpkgs/rbenv/files/rbenv | 2 ++
srcpkgs/rbenv/template | 25 +++++++++++++++++++++++++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/rbenv/files/rbenv
create mode 100644 srcpkgs/rbenv/template
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..8cdca07a5228
--- /dev/null
+++ b/srcpkgs/rbenv/template
@@ -0,0 +1,25 @@
+# Template file for 'rbenv'
+pkgname=rbenv
+version=1.2.0
+revision=1
+build_style="configure"
+configure_script="src/configure"
+make_build_args="-C"
+make_build_target="src"
+depends="ruby-build"
+short_desc="Manage your app's Ruby environment"
+maintainer="b-l-a-i-n-e <blaine.gilbreth@gmail.com>"
+license="MIT"
+homepage="https://github.com/rbenv/rbenv"
+distfiles="https://github.com/rbenv/rbenv/archive/refs/tags/v${version}.tar.gz"
+checksum=3f3a31b8a73c174e3e877ccc1ea453d966b4d810a2aadcd4d8c460bc9ec85e0c
+
+do_install() {
+ vbin "${FILESDIR}/rbenv"
+ 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
+ vdoc README.md
+}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: New packages: rbenv-1.2.0, ruby-build-20211203
2021-12-13 3:27 [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203 b-l-a-i-n-e
` (8 preceding siblings ...)
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
10 siblings, 0 replies; 12+ messages in thread
From: b-l-a-i-n-e @ 2021-12-15 21:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
New comment by b-l-a-i-n-e on void-packages repository
https://github.com/void-linux/void-packages/pull/34504#issuecomment-995233545
Comment:
thanks @Chocimier, didn't realize there was an xtool for that-- fixed the lint errors
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Merged]: New packages: rbenv-1.2.0, ruby-build-20211203
2021-12-13 3:27 [PR PATCH] New packages: rbenv-1.2.0, ruby-build-20211203 b-l-a-i-n-e
` (9 preceding siblings ...)
2021-12-15 21:38 ` b-l-a-i-n-e
@ 2021-12-15 22:42 ` Chocimier
10 siblings, 0 replies; 12+ messages in thread
From: Chocimier @ 2021-12-15 22:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
There's a merged pull request on the void-packages repository
New packages: rbenv-1.2.0, ruby-build-20211203
https://github.com/void-linux/void-packages/pull/34504
Description:
#### 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)
^ 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).