Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubyzip/
Date: Sun, 03 Apr 2016 06:56:47
Message-Id: 1459664612.f349018d7dca0f387f75d67eb663d0a6c6c00ce6.graaff@gentoo
1 commit: f349018d7dca0f387f75d67eb663d0a6c6c00ce6
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 3 06:06:38 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 3 06:23:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f349018d
7
8 dev-ruby/rubyzip: cleanup
9
10 Package-Manager: portage-2.2.26
11
12 dev-ruby/rubyzip/rubyzip-0.9.9-r1.ebuild | 33 -----------------------
13 dev-ruby/rubyzip/rubyzip-1.1.7.ebuild | 45 --------------------------------
14 2 files changed, 78 deletions(-)
15
16 diff --git a/dev-ruby/rubyzip/rubyzip-0.9.9-r1.ebuild b/dev-ruby/rubyzip/rubyzip-0.9.9-r1.ebuild
17 deleted file mode 100644
18 index af01abc..0000000
19 --- a/dev-ruby/rubyzip/rubyzip-0.9.9-r1.ebuild
20 +++ /dev/null
21 @@ -1,33 +0,0 @@
22 -# Copyright 1999-2015 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=5
27 -
28 -USE_RUBY="ruby19 ruby20"
29 -
30 -RUBY_FAKEGEM_TASK_DOC=""
31 -RUBY_FAKEGEM_EXTRADOC="README.md TODO NEWS"
32 -
33 -inherit ruby-fakegem
34 -
35 -DESCRIPTION="A ruby library for reading and writing zip files"
36 -HOMEPAGE="https://github.com/aussiegeek/rubyzip"
37 -# Tests are not included in the gem.
38 -SRC_URI="https://github.com/aussiegeek/rubyzip/tarball/${PV} -> ${P}-git.tgz"
39 -RUBY_S="aussiegeek-rubyzip-*"
40 -
41 -LICENSE="Ruby"
42 -SLOT="0"
43 -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
44 -IUSE=""
45 -
46 -RDEPEND=""
47 -DEPEND="${DEPEND} test? ( app-arch/zip )"
48 -
49 -all_ruby_install() {
50 - all_fakegem_install
51 -
52 - docinto examples
53 - dodoc samples/*
54 -}
55
56 diff --git a/dev-ruby/rubyzip/rubyzip-1.1.7.ebuild b/dev-ruby/rubyzip/rubyzip-1.1.7.ebuild
57 deleted file mode 100644
58 index d5cfaf1..0000000
59 --- a/dev-ruby/rubyzip/rubyzip-1.1.7.ebuild
60 +++ /dev/null
61 @@ -1,45 +0,0 @@
62 -# Copyright 1999-2015 Gentoo Foundation
63 -# Distributed under the terms of the GNU General Public License v2
64 -# $Id$
65 -
66 -EAPI=5
67 -
68 -USE_RUBY="ruby19 ruby20"
69 -
70 -RUBY_FAKEGEM_TASK_DOC=""
71 -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO"
72 -
73 -inherit ruby-fakegem
74 -
75 -DESCRIPTION="A ruby library for reading and writing zip files"
76 -HOMEPAGE="https://github.com/rubyzip/rubyzip"
77 -# Tests are not included in the gem.
78 -SRC_URI="https://github.com/rubyzip/rubyzip/archive/v${PV}.tar.gz -> ${P}-git.tgz"
79 -
80 -LICENSE="Ruby"
81 -SLOT="1"
82 -KEYWORDS="amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
83 -IUSE=""
84 -
85 -RDEPEND=""
86 -DEPEND="${DEPEND} test? ( app-arch/zip )"
87 -
88 -ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
89 -
90 -all_ruby_install() {
91 - all_fakegem_install
92 -
93 - docinto examples
94 - dodoc samples/*
95 -}
96 -
97 -all_ruby_prepare() {
98 - # Avoid dependencies on simplecov and coveralls
99 - sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die
100 -
101 - # Avoid dependency on bundler
102 - sed -i -e '/bundler/ s:^:#:' Rakefile || die
103 -
104 - # Fix hardcoded path to /tmp
105 - sed -i -e 's:/tmp/:'${T}'/:g' test/entry_test.rb || die
106 -}