summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-01-24 18:29:51 +0000
committerHans de Graaff <graaff@gentoo.org>2011-01-24 18:29:51 +0000
commit38a48b3851a663e04c4346cd5267508a209a1dfc (patch)
tree0e74d21414793d4a651916ec18b9d3e6f4b9f207 /dev-ruby/rubyzip
parentStable on amd64 wrt bug #352477 (diff)
downloadgentoo-2-38a48b3851a663e04c4346cd5267508a209a1dfc.tar.gz
gentoo-2-38a48b3851a663e04c4346cd5267508a209a1dfc.tar.bz2
gentoo-2-38a48b3851a663e04c4346cd5267508a209a1dfc.zip
Add ree18 support.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rubyzip')
-rw-r--r--dev-ruby/rubyzip/ChangeLog9
-rw-r--r--dev-ruby/rubyzip/rubyzip-0.9.4-r1.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/dev-ruby/rubyzip/ChangeLog b/dev-ruby/rubyzip/ChangeLog
index 19ed0bd551f2..dccc7dec904e 100644
--- a/dev-ruby/rubyzip/ChangeLog
+++ b/dev-ruby/rubyzip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rubyzip
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyzip/ChangeLog,v 1.16 2010/09/28 19:58:25 ranger Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyzip/ChangeLog,v 1.17 2011/01/24 18:29:51 graaff Exp $
+
+*rubyzip-0.9.4-r1 (24 Jan 2011)
+
+ 24 Jan 2011; Hans de Graaff <graaff@gentoo.org> +rubyzip-0.9.4-r1.ebuild:
+ Add ree18 support.
28 Sep 2010; Brent Baude <ranger@gentoo.org> rubyzip-0.9.4.ebuild:
Marking rubyzip-0.9.4 ~ppc for bug 319241
diff --git a/dev-ruby/rubyzip/rubyzip-0.9.4-r1.ebuild b/dev-ruby/rubyzip/rubyzip-0.9.4-r1.ebuild
new file mode 100644
index 000000000000..f4c9606e2b8f
--- /dev/null
+++ b/dev-ruby/rubyzip/rubyzip-0.9.4-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyzip/rubyzip-0.9.4-r1.ebuild,v 1.1 2011/01/24 18:29:51 graaff Exp $
+
+EAPI=2
+
+# ruby19 → testsuite fail, code assumes Ruby 1.8 syntax
+# jruby → adding zip files to the load path fails, badly
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_DOCDIR="html"
+RUBY_FAKEGEM_EXTRADOC="README TODO NEWS ChangeLog"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby library for reading and writing zip files"
+HOMEPAGE="http://rubyzip.sourceforge.net/"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="test? ( app-arch/zip )"
+
+all_ruby_prepare() {
+ # The Rakefile unconditionally requires net-sftp for the “Publish
+ # Package” task, avoid that.
+ sed -i \
+ -e '/net\/sftp/s:^:#:' \
+ Rakefile || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc samples/* || die
+}