* [gentoo-commits] gentoo-x86 commit in dev-lang/ruby: ruby-1.8.6_p287-r3.ebuild ruby-1.8.6_p287-r1.ebuild ChangeLog ruby-1.8.6_p114.ebuild ruby-1.8.7_p72-r1.ebuild
@ 2008-12-22 21:17 Hans de Graaff (graaff)
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2008-12-22 21:17 UTC (permalink / raw
To: gentoo-commits
graaff 08/12/22 21:17:44
Modified: ruby-1.8.6_p287-r3.ebuild ruby-1.8.6_p287-r1.ebuild
ChangeLog ruby-1.8.6_p114.ebuild
ruby-1.8.7_p72-r1.ebuild
Log:
Remove now obsolete pkg_postinst and pkg_postrm functions
(Portage version: 2.1.6.2/cvs/Linux 2.6.26-gentoo-r2 x86_64)
Revision Changes Path
1.4 dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild?r1=1.3&r2=1.4
Index: ruby-1.8.6_p287-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ruby-1.8.6_p287-r3.ebuild 21 Dec 2008 09:31:22 -0000 1.3
+++ ruby-1.8.6_p287-r3.ebuild 22 Dec 2008 21:17:44 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild,v 1.3 2008/12/21 09:31:22 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild,v 1.4 2008/12/22 21:17:44 graaff Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -143,19 +143,3 @@
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}
-
-pkg_postinst() {
-
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
- fi
- elog
- elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
- elog
-}
-
-pkg_postrm() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
- fi
-}
1.11 dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild?r1=1.10&r2=1.11
Index: ruby-1.8.6_p287-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ruby-1.8.6_p287-r1.ebuild 21 Dec 2008 09:31:22 -0000 1.10
+++ ruby-1.8.6_p287-r1.ebuild 22 Dec 2008 21:17:44 -0000 1.11
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild,v 1.10 2008/12/21 09:31:22 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild,v 1.11 2008/12/22 21:17:44 graaff Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -142,19 +142,3 @@
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}
-
-pkg_postinst() {
-
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
- fi
- elog
- elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
- elog
-}
-
-pkg_postrm() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
- fi
-}
1.360 dev-lang/ruby/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ChangeLog?rev=1.360&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ChangeLog?rev=1.360&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ChangeLog?r1=1.359&r2=1.360
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v
retrieving revision 1.359
retrieving revision 1.360
diff -u -r1.359 -r1.360
--- ChangeLog 21 Dec 2008 09:31:22 -0000 1.359
+++ ChangeLog 22 Dec 2008 21:17:44 -0000 1.360
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/ruby
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.359 2008/12/21 09:31:22 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.360 2008/12/22 21:17:44 graaff Exp $
+
+ 22 Dec 2008; Hans de Graaff <graaff@gentoo.org> ruby-1.8.6_p114.ebuild,
+ ruby-1.8.6_p287-r1.ebuild, ruby-1.8.6_p287-r3.ebuild,
+ ruby-1.8.7_p72-r1.ebuild:
+ Remove pkg_postinst and pkg_postrm functions now that ruby-config is gone.
+ Thanks for the people noticing this in bug #251833.
21 Dec 2008; Hans de Graaff <graaff@gentoo.org> ruby-1.8.6_p114.ebuild,
ruby-1.8.6_p287-r1.ebuild, ruby-1.8.6_p287-r3.ebuild,
1.12 dev-lang/ruby/ruby-1.8.6_p114.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild?r1=1.11&r2=1.12
Index: ruby-1.8.6_p114.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ruby-1.8.6_p114.ebuild 21 Dec 2008 09:31:22 -0000 1.11
+++ ruby-1.8.6_p114.ebuild 22 Dec 2008 21:17:44 -0000 1.12
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild,v 1.11 2008/12/21 09:31:22 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild,v 1.12 2008/12/22 21:17:44 graaff Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -151,19 +151,3 @@
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}
-
-pkg_postinst() {
-
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
- fi
- elog
- elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
- elog
-}
-
-pkg_postrm() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
- fi
-}
1.3 dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild?r1=1.2&r2=1.3
Index: ruby-1.8.7_p72-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ruby-1.8.7_p72-r1.ebuild 21 Dec 2008 09:31:22 -0000 1.2
+++ ruby-1.8.7_p72-r1.ebuild 22 Dec 2008 21:17:44 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild,v 1.2 2008/12/21 09:31:22 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild,v 1.3 2008/12/22 21:17:44 graaff Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -151,19 +151,3 @@
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}
-
-pkg_postinst() {
-
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
- fi
- elog
- elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
- elog
-}
-
-pkg_postrm() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
- fi
-}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ruby: ruby-1.8.6_p287-r3.ebuild ruby-1.8.6_p287-r1.ebuild ChangeLog ruby-1.8.6_p114.ebuild ruby-1.8.7_p72-r1.ebuild
@ 2008-12-23 20:20 Hans de Graaff (graaff)
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2008-12-23 20:20 UTC (permalink / raw
To: gentoo-commits
graaff 08/12/23 20:20:12
Modified: ruby-1.8.6_p287-r3.ebuild ruby-1.8.6_p287-r1.ebuild
ChangeLog ruby-1.8.6_p114.ebuild
ruby-1.8.7_p72-r1.ebuild
Log:
Revert the ruby-config changes
(Portage version: 2.1.6.2/cvs/Linux 2.6.26-gentoo-r2 x86_64)
Revision Changes Path
1.5 dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild?r1=1.4&r2=1.5
Index: ruby-1.8.6_p287-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ruby-1.8.6_p287-r3.ebuild 22 Dec 2008 21:17:44 -0000 1.4
+++ ruby-1.8.6_p287-r3.ebuild 23 Dec 2008 20:20:12 -0000 1.5
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild,v 1.4 2008/12/22 21:17:44 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r3.ebuild,v 1.5 2008/12/23 20:20:12 graaff Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -29,6 +29,7 @@
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
+ >=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
@@ -143,3 +144,19 @@
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}
+
+pkg_postinst() {
+
+ if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
+ "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
+ fi
+ elog
+ elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
+ elog
+}
+
+pkg_postrm() {
+ if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
+ "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
+ fi
+}
1.12 dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild?r1=1.11&r2=1.12
Index: ruby-1.8.6_p287-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ruby-1.8.6_p287-r1.ebuild 22 Dec 2008 21:17:44 -0000 1.11
+++ ruby-1.8.6_p287-r1.ebuild 23 Dec 2008 20:20:12 -0000 1.12
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild,v 1.11 2008/12/22 21:17:44 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild,v 1.12 2008/12/23 20:20:12 graaff Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -29,6 +29,7 @@
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
+ >=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
@@ -142,3 +143,19 @@
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}
+
+pkg_postinst() {
+
+ if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
+ "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
+ fi
+ elog
+ elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
+ elog
+}
+
+pkg_postrm() {
+ if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
+ "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
+ fi
+}
1.361 dev-lang/ruby/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ChangeLog?rev=1.361&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ChangeLog?rev=1.361&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ChangeLog?r1=1.360&r2=1.361
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v
retrieving revision 1.360
retrieving revision 1.361
diff -u -r1.360 -r1.361
--- ChangeLog 22 Dec 2008 21:17:44 -0000 1.360
+++ ChangeLog 23 Dec 2008 20:20:12 -0000 1.361
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/ruby
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.360 2008/12/22 21:17:44 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.361 2008/12/23 20:20:12 graaff Exp $
+
+ 23 Dec 2008; Hans de Graaff <graaff@gentoo.org> ruby-1.8.6_p114.ebuild,
+ ruby-1.8.6_p287-r1.ebuild, ruby-1.8.6_p287-r3.ebuild:
+ Revert the ruby-config changes. We can't remove them until we provide an
+ alternative outside the ebuilds, and eselect-ruby isn't stable yet. Apologies
+ for breaking things as mentioned in bug #251833.
22 Dec 2008; Hans de Graaff <graaff@gentoo.org> ruby-1.8.6_p114.ebuild,
ruby-1.8.6_p287-r1.ebuild, ruby-1.8.6_p287-r3.ebuild,
1.13 dev-lang/ruby/ruby-1.8.6_p114.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild?r1=1.12&r2=1.13
Index: ruby-1.8.6_p114.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ruby-1.8.6_p114.ebuild 22 Dec 2008 21:17:44 -0000 1.12
+++ ruby-1.8.6_p114.ebuild 23 Dec 2008 20:20:12 -0000 1.13
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild,v 1.12 2008/12/22 21:17:44 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild,v 1.13 2008/12/23 20:20:12 graaff Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -30,6 +30,7 @@
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
+ >=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
@@ -151,3 +152,19 @@
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}
+
+pkg_postinst() {
+
+ if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
+ "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
+ fi
+ elog
+ elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
+ elog
+}
+
+pkg_postrm() {
+ if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
+ "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
+ fi
+}
1.4 dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild?r1=1.3&r2=1.4
Index: ruby-1.8.7_p72-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ruby-1.8.7_p72-r1.ebuild 22 Dec 2008 21:17:44 -0000 1.3
+++ ruby-1.8.7_p72-r1.ebuild 23 Dec 2008 20:20:12 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild,v 1.3 2008/12/22 21:17:44 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72-r1.ebuild,v 1.4 2008/12/23 20:20:12 graaff Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -31,6 +31,7 @@
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
+ >=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
@@ -151,3 +152,19 @@
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}
+
+pkg_postinst() {
+
+ if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
+ "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
+ fi
+ elog
+ elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
+ elog
+}
+
+pkg_postrm() {
+ if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
+ "${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
+ fi
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-23 20:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-22 21:17 [gentoo-commits] gentoo-x86 commit in dev-lang/ruby: ruby-1.8.6_p287-r3.ebuild ruby-1.8.6_p287-r1.ebuild ChangeLog ruby-1.8.6_p114.ebuild ruby-1.8.7_p72-r1.ebuild Hans de Graaff (graaff)
-- strict thread matches above, loose matches on Subject: below --
2008-12-23 20:20 Hans de Graaff (graaff)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox