diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-07-29 07:15:40 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-07-29 07:15:40 +0000 |
commit | cb8972e2fe13a7149cb0f4ff17692efd07000255 (patch) | |
tree | 861c292b89b416e9e5f372f55422547a00bfb685 /dev-ruby/rdtool | |
parent | Version bump. (diff) | |
download | gentoo-2-cb8972e2fe13a7149cb0f4ff17692efd07000255.tar.gz gentoo-2-cb8972e2fe13a7149cb0f4ff17692efd07000255.tar.bz2 gentoo-2-cb8972e2fe13a7149cb0f4ff17692efd07000255.zip |
Drop dependency on dev-ruby/amstd since the code does not reference it at all. Add other ruby targets blocked by that.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rdtool')
-rw-r--r-- | dev-ruby/rdtool/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/rdtool/rdtool-0.6.22-r2.ebuild | 50 |
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-ruby/rdtool/ChangeLog b/dev-ruby/rdtool/ChangeLog index 8504dfd42b06..eaceb7787800 100644 --- a/dev-ruby/rdtool/ChangeLog +++ b/dev-ruby/rdtool/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/rdtool # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/ChangeLog,v 1.47 2012/03/08 17:48:32 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/ChangeLog,v 1.48 2012/07/29 07:15:40 graaff Exp $ + +*rdtool-0.6.22-r2 (29 Jul 2012) + + 29 Jul 2012; Hans de Graaff <graaff@gentoo.org> +rdtool-0.6.22-r2.ebuild: + Drop dependency on dev-ruby/amstd since the code does not reference it at + all. Add other ruby targets blocked by that. 08 Mar 2012; Naohiro Aota <naota@gentoo.org> rdtool-0.6.22-r1.ebuild: Add ~x86-fbsd. diff --git a/dev-ruby/rdtool/rdtool-0.6.22-r2.ebuild b/dev-ruby/rdtool/rdtool-0.6.22-r2.ebuild new file mode 100644 index 000000000000..6a462574d8a8 --- /dev/null +++ b/dev-ruby/rdtool/rdtool-0.6.22-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.22-r2.ebuild,v 1.1 2012/07/29 07:15:40 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18 jruby" + +inherit elisp-common ruby-ng + +DESCRIPTION="A multipurpose documentation format for Ruby" +HOMEPAGE="http://raa.ruby-lang.org/project/rdtool" +SRC_URI="http://www.moonwolf.com/ruby/archive/${P}.tar.gz" +LICENSE="Ruby GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="emacs" + +RDEPEND="${RDEPEND} emacs? ( virtual/emacs )" + +SITEFILE=50${PN}-gentoo.el + +each_ruby_test() { + ${RUBY} -Ilib:. test.rb || die +} + +each_ruby_install() { + RUBY_ECONF="${RUBY_ECONF} ${EXTRA_ECONF}" + + ${RUBY} setup.rb config --prefix=/usr "$@" \ + ${RUBY_ECONF} || die "setup.rb config failed" + ${RUBY} setup.rb install --prefix="${D}" "$@" \ + ${RUBY_ECONF} || die "setup.rb install failed" +} + +all_ruby_install() { + if use emacs ; then + elisp-install ${PN} utils/rd-mode.el + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + + dodoc HISTORY README.* +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |