public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/chruby/
@ 2021-11-17 16:40 Alexey Zapparov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Zapparov @ 2021-11-17 16:40 UTC (permalink / raw
  To: gentoo-commits

commit:     82532d83514c70b4f5ba12283d6e4843b9238903
Author:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
AuthorDate: Wed Nov 17 16:39:20 2021 +0000
Commit:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
CommitDate: Wed Nov 17 16:39:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82532d83

dev-ruby/chruby: 0.3.9-r2

Restrict test feature, as testdata is no longer available on <rvm.io>.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com>

 dev-ruby/chruby/{chruby-0.3.9-r1.ebuild => chruby-0.3.9-r2.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-ruby/chruby/chruby-0.3.9-r1.ebuild b/dev-ruby/chruby/chruby-0.3.9-r2.ebuild
similarity index 97%
rename from dev-ruby/chruby/chruby-0.3.9-r1.ebuild
rename to dev-ruby/chruby/chruby-0.3.9-r2.ebuild
index 9e37e8484..a4ec37b98 100644
--- a/dev-ruby/chruby/chruby-0.3.9-r1.ebuild
+++ b/dev-ruby/chruby/chruby-0.3.9-r2.ebuild
@@ -10,6 +10,7 @@ SRC_URI="https://github.com/postmodern/chruby/archive/v${PV}.tar.gz -> ${P}.tar.
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
 
 DEPEND="|| ( >=app-shells/bash-3.0:* app-shells/zsh )"
 RDEPEND="${DEPEND}"


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/chruby/
@ 2021-11-23  0:48 Alexey Zapparov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Zapparov @ 2021-11-23  0:48 UTC (permalink / raw
  To: gentoo-commits

commit:     1c5e721ffb3af2c815d96bde5cc31959196cfb2c
Author:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
AuthorDate: Tue Nov 23 00:46:41 2021 +0000
Commit:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
CommitDate: Tue Nov 23 00:46:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c5e721f

dev-ruby/chruby: add chruby-0.3.9-r3

Address QA failure report.

Closes: https://bugs.gentoo.org/825450
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com>

 .../chruby/{chruby-0.3.9-r2.ebuild => chruby-0.3.9-r3.ebuild}    | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dev-ruby/chruby/chruby-0.3.9-r2.ebuild b/dev-ruby/chruby/chruby-0.3.9-r3.ebuild
similarity index 77%
rename from dev-ruby/chruby/chruby-0.3.9-r2.ebuild
rename to dev-ruby/chruby/chruby-0.3.9-r3.ebuild
index a4ec37b98..f342c7ecb 100644
--- a/dev-ruby/chruby/chruby-0.3.9-r2.ebuild
+++ b/dev-ruby/chruby/chruby-0.3.9-r3.ebuild
@@ -15,6 +15,15 @@ RESTRICT="test"
 DEPEND="|| ( >=app-shells/bash-3.0:* app-shells/zsh )"
 RDEPEND="${DEPEND}"
 
+src_prepare() {
+	default
+
+	if [ -n "${PVR}" ] ; then
+		sed -i Makefile -e "s/^VERSION=${PV}$/VERSION=${PVR}/" \
+			|| die "can't fix doc location to follow Gentoo/FHS guidelines"
+	fi
+}
+
 src_install() {
 	# TODO: Remove `${D}` from PREFIX in >=chruby-0.3.10 (https://git.io/JPQ25)
 	emake DESTDIR="${D}" PREFIX="${D}/usr" install


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/chruby/
@ 2021-12-25 18:21 Alexey Zapparov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Zapparov @ 2021-12-25 18:21 UTC (permalink / raw
  To: gentoo-commits

commit:     424d5e5f3ba113910a3748fdb4a0fdec43dd5f88
Author:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
AuthorDate: Sat Dec 25 16:39:17 2021 +0000
Commit:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
CommitDate: Sat Dec 25 18:21:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=424d5e5f

dev-ruby/chruby: add 9999 (live) ebuild

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com>

 dev-ruby/chruby/chruby-9999.ebuild | 41 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/dev-ruby/chruby/chruby-9999.ebuild b/dev-ruby/chruby/chruby-9999.ebuild
new file mode 100644
index 000000000..bd7345d78
--- /dev/null
+++ b/dev-ruby/chruby/chruby-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == *9999 ]]; then
+	EGIT_REPO_URI="https://github.com/postmodern/chruby.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/postmodern/chruby/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Changes the current Ruby"
+HOMEPAGE="https://github.com/postmodern/chruby"
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="test"
+
+DEPEND="|| ( >=app-shells/bash-3.0:* app-shells/zsh )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+
+	sed -i Makefile -e "s/^VERSION=.\+$/VERSION=${PVR}/" \
+		|| die "can't fix doc location to follow Gentoo/FHS guidelines"
+}
+
+src_install() {
+	local emakeargs=(
+		DESTDIR="$D"
+		PREFIX="/usr"
+	)
+
+	emake "${emakeargs[@]}" install
+
+	insinto "/etc/profile.d"
+	newins "${FILESDIR}/systemwide.sh" "chruby.sh"
+}


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

end of thread, other threads:[~2021-12-25 18:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-23  0:48 [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/chruby/ Alexey Zapparov
  -- strict thread matches above, loose matches on Subject: below --
2021-12-25 18:21 Alexey Zapparov
2021-11-17 16:40 Alexey Zapparov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox