diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-05-22 19:49:52 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-05-22 19:49:52 +0000 |
commit | aa40b153a8c428c4dce58f92a07a62db42249a37 (patch) | |
tree | 1a7766cdc4094b767c9ce636d2fbac7caf866c91 /dev-ruby/ruby-gettext | |
parent | Remove old version; add new ebuild based on ruby-fakegem. (diff) | |
download | gentoo-2-aa40b153a8c428c4dce58f92a07a62db42249a37.tar.gz gentoo-2-aa40b153a8c428c4dce58f92a07a62db42249a37.tar.bz2 gentoo-2-aa40b153a8c428c4dce58f92a07a62db42249a37.zip |
Remove old versions; add a new version based on fakegem. Ruby 1.9 support is not enabled.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ruby-gettext')
-rw-r--r-- | dev-ruby/ruby-gettext/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/ruby-gettext/ruby-gettext-1.93.0.ebuild | 19 | ||||
-rw-r--r-- | dev-ruby/ruby-gettext/ruby-gettext-2.0.4.ebuild | 23 | ||||
-rw-r--r-- | dev-ruby/ruby-gettext/ruby-gettext-2.1.0-r1.ebuild | 52 |
4 files changed, 61 insertions, 43 deletions
diff --git a/dev-ruby/ruby-gettext/ChangeLog b/dev-ruby/ruby-gettext/ChangeLog index dd367bcdece9..b3a51cbbdd77 100644 --- a/dev-ruby/ruby-gettext/ChangeLog +++ b/dev-ruby/ruby-gettext/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-ruby/ruby-gettext # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ChangeLog,v 1.65 2010/05/22 15:47:24 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ChangeLog,v 1.66 2010/05/22 19:49:52 flameeyes Exp $ + +*ruby-gettext-2.1.0-r1 (22 May 2010) + + 22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org> + -ruby-gettext-1.93.0.ebuild, -ruby-gettext-2.0.4.ebuild, + +ruby-gettext-2.1.0-r1.ebuild: + Remove old versions; add a new version based on fakegem. Ruby 1.9 support + is not enabled. 22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org> ruby-gettext-1.93.0.ebuild, ruby-gettext-2.0.4.ebuild, diff --git a/dev-ruby/ruby-gettext/ruby-gettext-1.93.0.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-1.93.0.ebuild deleted file mode 100644 index b5a4bd1599ae..000000000000 --- a/dev-ruby/ruby-gettext/ruby-gettext-1.93.0.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-1.93.0.ebuild,v 1.6 2010/05/22 15:47:24 flameeyes Exp $ - -inherit gems - -MY_P=${P/ruby-/} -DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package" -HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html" -SRC_URI="mirror://rubygems/${MY_P}.gem" - -KEYWORDS="amd64 ia64 ppc sparc x86 ~x86-fbsd" -IUSE="" -SLOT="0" -LICENSE="Ruby" - -RDEPEND="sys-devel/gettext" - -S="${WORKDIR}/${PN}-package-${PV}" diff --git a/dev-ruby/ruby-gettext/ruby-gettext-2.0.4.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-2.0.4.ebuild deleted file mode 100644 index ed7e949fb76c..000000000000 --- a/dev-ruby/ruby-gettext/ruby-gettext-2.0.4.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-2.0.4.ebuild,v 1.7 2010/05/22 15:47:24 flameeyes Exp $ - -inherit gems - -MY_P=${P/ruby-/} -DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package" -HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html" -SRC_URI="mirror://rubygems/${MY_P}.gem" - -KEYWORDS="amd64 ia64 ppc sparc x86 ~x86-fbsd" -IUSE="" -SLOT="0" -LICENSE="Ruby" - -USE_RUBY="ruby18" - -RDEPEND=">=dev-ruby/locale-2.0.4 - sys-devel/gettext" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${PN}-package-${PV}" diff --git a/dev-ruby/ruby-gettext/ruby-gettext-2.1.0-r1.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-2.1.0-r1.ebuild new file mode 100644 index 000000000000..8f6a6be8d87b --- /dev/null +++ b/dev-ruby/ruby-gettext/ruby-gettext-2.1.0-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-2.1.0-r1.ebuild,v 1.1 2010/05/22 19:49:52 flameeyes Exp $ + +EAPI=2 + +# ruby19 → tests fail badly, somebody has to look into them +USE_RUBY="ruby18 jruby ree18" + +RUBY_FAKEGEM_NAME="${PN/ruby-/}" + +RUBY_FAKEGEM_TASK_DOC="rerdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog ChangeLog-1 NEWS-1 README.rdoc" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package" +HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html" + +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="" +SLOT="0" +LICENSE="Ruby" + +ruby_add_rdepend ">=dev-ruby/locale-2.0.5" + +RDEPEND="${RDEPEND} + sys-devel/gettext" +DEPEND="${DEPEND} + sys-devel/gettext" + +ruby_add_bdepend "test? ( || ( virtual/ruby-test-unit dev-ruby/test-unit:2 ) )" + +each_ruby_test() { + # Upstream tries to daisy-chain rake calls but they fail badly + # with our setup, so run it manually. + pushd test + ${RUBY} -S rake test || die "tests failed" + popd +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r samples || die +} |