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/diva/
Date: Tue, 13 Jul 2021 10:17:24
Message-Id: 1626171436.43bd1a6e1d6532374beff6e334c7ab8736512c7e.graaff@gentoo
1 commit: 43bd1a6e1d6532374beff6e334c7ab8736512c7e
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 13 10:11:09 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 13 10:17:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43bd1a6e
7
8 dev-ruby/diva: fix addressable dependency
9
10 Allow addressable 2.8 since previous version have security issues.
11 All tests pass with addressable 2.8.
12
13 Package-Manager: Portage-3.0.20, Repoman-3.0.2
14 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
15
16 dev-ruby/diva/Manifest | 1 -
17 .../{diva-1.0.2-r1.ebuild => diva-1.0.2-r2.ebuild} | 8 +++----
18 dev-ruby/diva/diva-1.0.2.ebuild | 28 ----------------------
19 3 files changed, 4 insertions(+), 33 deletions(-)
20
21 diff --git a/dev-ruby/diva/Manifest b/dev-ruby/diva/Manifest
22 index f8b31f11582..d2f3136f779 100644
23 --- a/dev-ruby/diva/Manifest
24 +++ b/dev-ruby/diva/Manifest
25 @@ -1,2 +1 @@
26 -DIST diva-1.0.2.gem 13824 BLAKE2B c292e11d9975691d85cb0500ec42b10422665abb9b236d44629d0a9518e318cf91891d4ad265aab81d13762d121910a8be92c602225d44bfa66e31e77082fa95 SHA512 b5d2df59e4144930ee18c7b738e8b93646057935364c2710d349761e68053f1c342b382de76dc1669076db7394ff906384a8952e1e7c44c71f208dc3604d67f4
27 DIST diva-1.0.2.tar.gz 13638 BLAKE2B 461e8487e06749d0482b86fd30945dc83d53daea06750628839c899b6f8d419599c9cc322b62f58d3eb956a2a99a3674dd591c4bb2fc5483bd1853bc40154634 SHA512 b60d80ca55c98a2f6fcf269aa4a2188f2239b871b0e77f328490d5924a6d0e6801c67d0eef4de28b584303f38bed3752a3ceb2c1e4f2c7d17be13dad03c643b5
28
29 diff --git a/dev-ruby/diva/diva-1.0.2-r1.ebuild b/dev-ruby/diva/diva-1.0.2-r2.ebuild
30 similarity index 71%
31 rename from dev-ruby/diva/diva-1.0.2-r1.ebuild
32 rename to dev-ruby/diva/diva-1.0.2-r2.ebuild
33 index cd07c32b70c..70749dfdb14 100644
34 --- a/dev-ruby/diva/diva-1.0.2-r1.ebuild
35 +++ b/dev-ruby/diva/diva-1.0.2-r2.ebuild
36 @@ -1,9 +1,9 @@
37 -# Copyright 1999-2020 Gentoo Authors
38 +# Copyright 1999-2021 Gentoo Authors
39 # Distributed under the terms of the GNU General Public License v2
40
41 EAPI=7
42
43 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
44 +USE_RUBY="ruby26 ruby27"
45
46 RUBY_FAKEGEM_EXTRADOC="README.md"
47
48 @@ -22,9 +22,9 @@ SLOT="0"
49 KEYWORDS="~amd64 ~x86"
50 IUSE=""
51
52 -ruby_add_rdepend "<dev-ruby/addressable-2.8"
53 +ruby_add_rdepend "<dev-ruby/addressable-2.9"
54
55 all_ruby_prepare() {
56 sed -i -e '/bundler/ s:^:#:' Rakefile || die
57 - sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
58 + sed -i -e '/addressable/ s/2.8/2.9/' -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
59 }
60
61 diff --git a/dev-ruby/diva/diva-1.0.2.ebuild b/dev-ruby/diva/diva-1.0.2.ebuild
62 deleted file mode 100644
63 index f026d01e2f5..00000000000
64 --- a/dev-ruby/diva/diva-1.0.2.ebuild
65 +++ /dev/null
66 @@ -1,28 +0,0 @@
67 -# Copyright 1999-2020 Gentoo Authors
68 -# Distributed under the terms of the GNU General Public License v2
69 -
70 -EAPI=7
71 -
72 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
73 -
74 -RUBY_FAKEGEM_EXTRADOC="README.md"
75 -
76 -RUBY_FAKEGEM_BINWRAP=""
77 -
78 -RUBY_FAKEGEM_GEMSPEC="diva.gemspec"
79 -
80 -inherit ruby-fakegem
81 -
82 -DESCRIPTION="Implementation of expression for handling things."
83 -HOMEPAGE="https://github.com/toshia/diva https://rubygems.org/gems/diva"
84 -
85 -LICENSE="MIT"
86 -SLOT="0"
87 -KEYWORDS="~amd64 ~x86"
88 -IUSE=""
89 -
90 -ruby_add_rdepend "<dev-ruby/addressable-2.8"
91 -
92 -all_ruby_prepare() {
93 - sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
94 -}