[147483] trunk/dports/ruby/rbenv
mojca at macports.org
mojca at macports.org
Tue Apr 5 06:32:58 PDT 2016
Revision: 147483
https://trac.macports.org/changeset/147483
Author: mojca at macports.org
Date: 2016-04-05 06:32:58 -0700 (Tue, 05 Apr 2016)
Log Message:
-----------
rbenv: upgrade to v1.0.0, take over maintenance
Modified Paths:
--------------
trunk/dports/ruby/rbenv/Portfile
trunk/dports/ruby/rbenv/files/patch-libexec-rbenv-init.diff
Modified: trunk/dports/ruby/rbenv/Portfile
===================================================================
--- trunk/dports/ruby/rbenv/Portfile 2016-04-05 12:53:49 UTC (rev 147482)
+++ trunk/dports/ruby/rbenv/Portfile 2016-04-05 13:32:58 UTC (rev 147483)
@@ -4,20 +4,21 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup sstephenson rbenv 0.4.0 v
-revision 1
+github.setup rbenv rbenv 1.0.0 v
license MIT
platforms darwin
supported_archs noarch
-maintainers nomaintainer
+maintainers mojca openmaintainer
description Simple Ruby Version Management
long_description ${description}
-checksums rmd160 1201f1072c63464ffa829d332c363ddc0d2ef1b6 \
- sha256 e9b54d2d3669e52aed439094fa92aab36d826573e1a4f8dd65241406204a3e23
+checksums rmd160 602fc2c045520e65c1bc4175c81bee13dd4446b4 \
+ sha256 a5b2ee98492af7195539d3f05791c9ec7c11bed269d5bfba3ba9dbeb2d97dd40
+worksrcdir rbenv-rbenv-3997a39
+
patchfiles patch-libexec-rbenv-init.diff
use_configure no
build {}
Modified: trunk/dports/ruby/rbenv/files/patch-libexec-rbenv-init.diff
===================================================================
--- trunk/dports/ruby/rbenv/files/patch-libexec-rbenv-init.diff 2016-04-05 12:53:49 UTC (rev 147482)
+++ trunk/dports/ruby/rbenv/files/patch-libexec-rbenv-init.diff 2016-04-05 13:32:58 UTC (rev 147483)
@@ -5,17 +5,26 @@
--- libexec/rbenv-init.orig
+++ libexec/rbenv-init
-@@ -76,8 +76,11 @@ mkdir -p "${RBENV_ROOT}/"{shims,versions}
- echo 'export PATH="'${RBENV_ROOT}'/shims:${PATH}"'
+@@ -95,13 +95,15 @@ fish )
+ ;;
+ esac
- case "$shell" in
--bash | zsh )
-- echo "source \"$root/completions/rbenv.${shell}\""
+-completion="${root}/completions/rbenv.${shell}"
+-if [ -r "$completion" ]; then
+- case "$shell" in
+- fish ) echo ". '$completion'" ;;
+- * ) echo "source '$completion'" ;;
+- esac
+-fi
++case "$shell" in
+bash )
+ echo "source \"$root/etc/bash_completion.d/rbenv\""
+ ;;
+zsh )
+ echo "source \"$root/share/zsh/site-functions/rbenv.zsh_completion\""
- ;;
- esac
++ ;;
++# support for fish and other shells missing
++esac
+ if [ -z "$no_rehash" ]; then
+ echo 'command rbenv rehash 2>/dev/null'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160405/abe8bd8f/attachment.html>
More information about the macports-changes
mailing list