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/net-pop/
Date: Sat, 01 Oct 2022 07:06:40
Message-Id: 1664607993.b312f713709480b65fa67f1a696c767dbc37a0e8.graaff@gentoo
1 commit: b312f713709480b65fa67f1a696c767dbc37a0e8
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 1 06:51:39 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 07:06:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b312f713
7
8 dev-ruby/net-pop: add 0.1.2
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/net-pop/Manifest | 1 +
13 dev-ruby/net-pop/net-pop-0.1.2.ebuild | 31 +++++++++++++++++++++++++++++++
14 2 files changed, 32 insertions(+)
15
16 diff --git a/dev-ruby/net-pop/Manifest b/dev-ruby/net-pop/Manifest
17 index 5a8ef422b0f3..712c13df5e74 100644
18 --- a/dev-ruby/net-pop/Manifest
19 +++ b/dev-ruby/net-pop/Manifest
20 @@ -1 +1,2 @@
21 DIST net-pop-0.1.1.tar.gz 17292 BLAKE2B ccb653929b29572944b0edfd1d8123c64fd1e2baabf360ed9d04a173d348825d2a2c1e675669af96e11c84cd32a07ad37a395e9a5a78bd8a853c65e42d1dd205 SHA512 9a6a03cf8ce19711a1f9318910f0cb01ec5282695e986b68657fafc289ef32c084f2a9f5a038114f550ef1553bc99c8dda094191492b503c82a37a4a71124eb2
22 +DIST net-pop-0.1.2.tar.gz 21598 BLAKE2B 6d5082f135804a72f2b09f9107601f0dd6b42f33a9d46cd36eec1759b3376f82564e305596cfd519ae64a8c820fcbf57ab9ff29cc16ab9298b9ce069a1405b60 SHA512 5f7e78cb5499f1049c93732f88857d0b2bf9e864bcfc897beddd3fc86883204ff6c153ae9fc24715b1625fec5e2ec673e913a1495e43ec0e077e52d88aaf3448
23
24 diff --git a/dev-ruby/net-pop/net-pop-0.1.2.ebuild b/dev-ruby/net-pop/net-pop-0.1.2.ebuild
25 new file mode 100644
26 index 000000000000..2ba5246c18d7
27 --- /dev/null
28 +++ b/dev-ruby/net-pop/net-pop-0.1.2.ebuild
29 @@ -0,0 +1,31 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +USE_RUBY="ruby27 ruby30 ruby31"
35 +
36 +RUBY_FAKEGEM_BINWRAP=""
37 +RUBY_FAKEGEM_EXTRADOC="README.md"
38 +RUBY_FAKEGEM_GEMSPEC="net-pop.gemspec"
39 +
40 +inherit ruby-fakegem
41 +
42 +DESCRIPTION="Ruby client library for POP3"
43 +HOMEPAGE="https://github.com/ruby/net-pop"
44 +SRC_URI="https://github.com/ruby/net-pop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="BSD-2"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
49 +IUSE=""
50 +
51 +ruby_add_rdepend "
52 + dev-ruby/net-protocol
53 +"
54 +
55 +all_ruby_prepare() {
56 + sed -e 's/__dir__/"."/' \
57 + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
58 + -e 's/git ls-files -z/find * -print0/' \
59 + -i ${RUBY_FAKEGEM_GEMSPEC} || die
60 +}