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/rev/
Date: Wed, 31 May 2017 04:38:49
Message-Id: 1496204653.f06f8041c8e71b261fa7c01da2b8267a30d73dfe.graaff@gentoo
1 commit: f06f8041c8e71b261fa7c01da2b8267a30d73dfe
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 31 04:21:09 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Wed May 31 04:24:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06f8041
7
8 remove masked dev-ruby/rev
9
10 dev-ruby/rev/Manifest | 1 -
11 dev-ruby/rev/metadata.xml | 11 --------
12 dev-ruby/rev/rev-0.3.2-r1.ebuild | 54 ----------------------------------------
13 3 files changed, 66 deletions(-)
14
15 diff --git a/dev-ruby/rev/Manifest b/dev-ruby/rev/Manifest
16 deleted file mode 100644
17 index a15881d13bb..00000000000
18 --- a/dev-ruby/rev/Manifest
19 +++ /dev/null
20 @@ -1 +0,0 @@
21 -DIST rev-0.3.2.gem 89088 SHA256 c711d8f7022df8412980a6b3ec2c2be24de640f9d46d6c72addb516d530d68c9 SHA512 dc7dfb00ebea5ded7f516f18dcf85da12a0468353a560972203069a1123f8ebd68f2ccafe69c27a02ba2f36678cf9651446bc36068b480ba0d19141deb5f27d6 WHIRLPOOL 80015fac354eaeb48c85439edc8c236ff42fdde81185b2b266ad2daee88ad9c0e8ad576259dd12ab670a391eff91226e4ee9f6cd268ce922c8942ef6ac59ec7d
22
23 diff --git a/dev-ruby/rev/metadata.xml b/dev-ruby/rev/metadata.xml
24 deleted file mode 100644
25 index 5698c7ecee0..00000000000
26 --- a/dev-ruby/rev/metadata.xml
27 +++ /dev/null
28 @@ -1,11 +0,0 @@
29 -<?xml version="1.0" encoding="UTF-8"?>
30 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
31 -<pkgmetadata>
32 - <maintainer type="project">
33 - <email>ruby@g.o</email>
34 - <name>Gentoo Ruby Project</name>
35 - </maintainer>
36 - <upstream>
37 - <remote-id type="rubygems">rev</remote-id>
38 - </upstream>
39 -</pkgmetadata>
40
41 diff --git a/dev-ruby/rev/rev-0.3.2-r1.ebuild b/dev-ruby/rev/rev-0.3.2-r1.ebuild
42 deleted file mode 100644
43 index e352491f743..00000000000
44 --- a/dev-ruby/rev/rev-0.3.2-r1.ebuild
45 +++ /dev/null
46 @@ -1,54 +0,0 @@
47 -# Copyright 1999-2016 Gentoo Foundation
48 -# Distributed under the terms of the GNU General Public License v2
49 -
50 -EAPI=5
51 -# ruby22 -> does not compile
52 -USE_RUBY="ruby20 ruby21"
53 -
54 -RUBY_FAKEGEM_TASK_DOC=""
55 -RUBY_FAKEGEM_EXTRADOC="CHANGES README.textile"
56 -
57 -RUBY_FAKEGEM_TASK_TEST=""
58 -
59 -inherit multilib ruby-fakegem
60 -
61 -DESCRIPTION="Rev is an event library for Ruby, built on the libev event library"
62 -HOMEPAGE="https://rubygems.org/gems/rev"
63 -LICENSE="MIT"
64 -
65 -KEYWORDS="~amd64 ~x86 ~x86-macos"
66 -SLOT="0"
67 -IUSE=""
68 -
69 -ruby_add_rdepend ">=dev-ruby/iobuffer-0.1.0"
70 -
71 -each_ruby_configure() {
72 - ${RUBY} -C ext/rev extconf.rb || die "Unable to configure rev extionsion."
73 -
74 - ${RUBY} -C ext/http11_client extconf.rb || die "Unable to configure http11 extension."
75 -}
76 -
77 -each_ruby_compile() {
78 - # We have injected --no-undefined in Ruby as a safety precaution
79 - # against broken ebuilds, but these bindings unfortunately rely on
80 - # the lazy load of other extensions; see bug #320545.
81 - find ext/rev -name Makefile -print0 | xargs -0 \
82 - sed -i -e 's:-Wl,--no-undefined::' || die "--no-undefined removal failed"
83 - emake -C ext/rev V=1 || die "Unable to compile rev extension."
84 -
85 - emake -C ext/http11_client V=1 || die "Unable to compile http11 extension."
86 -}
87 -
88 -each_ruby_install() {
89 - cp ext/rev/rev_ext$(get_modname) lib || die
90 - cp ext/http11_client/http11_client$(get_modname) lib || die
91 -
92 - each_fakegem_install
93 -}
94 -
95 -all_ruby_install() {
96 - all_fakegem_install
97 -
98 - insinto /usr/share/doc/${PF}/examples
99 - doins examples/* || die "Unable to install examples."
100 -}