summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-05-11 05:59:41 +0000
committerHans de Graaff <graaff@gentoo.org>2014-05-11 05:59:41 +0000
commit395a3dc54df97e6b47999ed31bb42da64fffcf3c (patch)
treece23b39e481992ab5043c5e7d1ee57e432d1301e /dev-ruby/rubyzip
parentVersion bump. (diff)
downloadgentoo-2-395a3dc54df97e6b47999ed31bb42da64fffcf3c.tar.gz
gentoo-2-395a3dc54df97e6b47999ed31bb42da64fffcf3c.tar.bz2
gentoo-2-395a3dc54df97e6b47999ed31bb42da64fffcf3c.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/rubyzip')
-rw-r--r--dev-ruby/rubyzip/ChangeLog7
-rw-r--r--dev-ruby/rubyzip/rubyzip-1.1.3.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/rubyzip/ChangeLog b/dev-ruby/rubyzip/ChangeLog
index e85a4ff904f7..9d13eed2f026 100644
--- a/dev-ruby/rubyzip/ChangeLog
+++ b/dev-ruby/rubyzip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rubyzip
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyzip/ChangeLog,v 1.33 2014/04/05 23:03:05 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyzip/ChangeLog,v 1.34 2014/05/11 05:59:40 graaff Exp $
+
+*rubyzip-1.1.3 (11 May 2014)
+
+ 11 May 2014; Hans de Graaff <graaff@gentoo.org> +rubyzip-1.1.3.ebuild:
+ Version bump.
05 Apr 2014; Manuel Rüger <mrueg@gentoo.org> rubyzip-0.9.9.ebuild,
rubyzip-1.0.0.ebuild:
diff --git a/dev-ruby/rubyzip/rubyzip-1.1.3.ebuild b/dev-ruby/rubyzip/rubyzip-1.1.3.ebuild
new file mode 100644
index 000000000000..5f92186b4485
--- /dev/null
+++ b/dev-ruby/rubyzip/rubyzip-1.1.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyzip/rubyzip-1.1.3.ebuild,v 1.1 2014/05/11 05:59:41 graaff Exp $
+
+EAPI=5
+
+# jruby → adding zip files to the load path fails, badly
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO"
+
+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 ~hppa ~ppc ~ppc64 ~sparc ~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/ s:^:#:' test/test_helper.rb || die
+
+ # Avoid dependency on bundler
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+}