summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-08-30 06:10:51 +0000
committerHans de Graaff <graaff@gentoo.org>2013-08-30 06:10:51 +0000
commit88b0d229730a30e282823d9e4619465fa788ac11 (patch)
treeac5c574cfe3ae45e42f5d996e8bb286aa0135bb4 /dev-ruby/rubyzip
parentVersion bump. Depend on slotted version of rubyzip like the upstream gem. (diff)
downloadgentoo-2-88b0d229730a30e282823d9e4619465fa788ac11.tar.gz
gentoo-2-88b0d229730a30e282823d9e4619465fa788ac11.tar.bz2
gentoo-2-88b0d229730a30e282823d9e4619465fa788ac11.zip
Version bump. New slot due to API changes, required by e.g. dev-ruby/selenium-webdriver.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/rubyzip')
-rw-r--r--dev-ruby/rubyzip/ChangeLog8
-rw-r--r--dev-ruby/rubyzip/rubyzip-1.0.0.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-ruby/rubyzip/ChangeLog b/dev-ruby/rubyzip/ChangeLog
index 668ed606d838..adff4c7f726e 100644
--- a/dev-ruby/rubyzip/ChangeLog
+++ b/dev-ruby/rubyzip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/rubyzip
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyzip/ChangeLog,v 1.26 2013/04/21 06:35:29 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyzip/ChangeLog,v 1.27 2013/08/30 06:10:51 graaff Exp $
+
+*rubyzip-1.0.0 (30 Aug 2013)
+
+ 30 Aug 2013; Hans de Graaff <graaff@gentoo.org> +rubyzip-1.0.0.ebuild:
+ Version bump. New slot due to API changes, required by e.g.
+ dev-ruby/selenium-webdriver.
21 Apr 2013; Hans de Graaff <graaff@gentoo.org> -rubyzip-0.9.4.ebuild,
-rubyzip-0.9.5.ebuild:
diff --git a/dev-ruby/rubyzip/rubyzip-1.0.0.ebuild b/dev-ruby/rubyzip/rubyzip-1.0.0.ebuild
new file mode 100644
index 000000000000..c5f39a52ae7e
--- /dev/null
+++ b/dev-ruby/rubyzip/rubyzip-1.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyzip/rubyzip-1.0.0.ebuild,v 1.1 2013/08/30 06:10:51 graaff Exp $
+
+EAPI=5
+
+# jruby → adding zip files to the load path fails, badly
+USE_RUBY="ruby18 ruby19 ruby20"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md TODO NEWS"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby library for reading and writing zip files"
+HOMEPAGE="https://github.com/rubyzip/rubyzip"
+# Tests are not included in the gem.
+SRC_URI="https://github.com/rubyzip/rubyzip/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="Ruby"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${DEPEND} test? ( app-arch/zip )"
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc samples/*
+}
+
+all_ruby_prepare() {
+ # Avoid dependencies on simplecov and coveralls
+ sed -i -e '/simplecov/,/^end/ s:^:#:' test/alltests.rb || die
+
+ # Avoid dependency on bundler
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+}