From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gpgme/
Date: Thu, 1 Feb 2024 07:11:57 +0000 (UTC) [thread overview]
Message-ID: <1706771485.c0656d31094b50d36b047c72319cfebf20426a4b.graaff@gentoo> (raw)
commit: c0656d31094b50d36b047c72319cfebf20426a4b
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 1 07:11:25 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Feb 1 07:11:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0656d31
dev-ruby/gpgme: add 2.0.24
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/gpgme/Manifest | 1 +
dev-ruby/gpgme/gpgme-2.0.24.ebuild | 55 ++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-ruby/gpgme/Manifest b/dev-ruby/gpgme/Manifest
index 4ab92e822d37..dfd8d1acceaf 100644
--- a/dev-ruby/gpgme/Manifest
+++ b/dev-ruby/gpgme/Manifest
@@ -1,2 +1,3 @@
DIST ruby-gpgme-2.0.22.tar.gz 3432808 BLAKE2B 1aabd312f588093bff2bb3a308aaac041ebc8f989bab4aa475f74fc0675c6c4fcac474663a8f5b097b8be223b0f01e27f9e49fc014efb650df9742ddcf3fd4df SHA512 644d9640ac2bf6ce1c02747a0fbd0321337c1f3af639d650b8a669c4f835d1c03380644da2d4717a9268df434ebf41fd98388b80c63e8df97b7a23c3c260741e
DIST ruby-gpgme-2.0.23.tar.gz 3510904 BLAKE2B 2057a6917aac14bfc82c5e718498d5dce507a4c9de4da2e0973eefee76339066c54ebf57201f739faaab118e624416d7b30d24fb4409b37d53f80dd92c2aa825 SHA512 13d9b383ba638ef1cc21870159b4e7bf3e4aa70097649da185ccd3c159247c657eae651c0fc29c2fcd1b1d2965b432b82461a2f2d85f687787f78d34ddce6da9
+DIST ruby-gpgme-2.0.24.tar.gz 3512481 BLAKE2B 69de16ca15088025c8aa5e8a7910d99df11df1e8ba522d16f9b23a89960683555dbdfe238c351532ffb57283c99b4b4c06c570e6c7755e21a40c67d9f9e00214 SHA512 d906cc669b4e55facd13838c711601ce587e197d44cdc614c4972b2fe411c6259fa236d9713e0ff716ab97fa34840feb0b503db298e6b7a3125d3bcce12d7835
diff --git a/dev-ruby/gpgme/gpgme-2.0.24.ebuild b/dev-ruby/gpgme/gpgme-2.0.24.ebuild
new file mode 100644
index 000000000000..420e02626494
--- /dev/null
+++ b/dev-ruby/gpgme/gpgme-2.0.24.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/gpgme/extconf.rb)
+
+inherit ruby-fakegem flag-o-matic
+
+DESCRIPTION="Ruby language binding for GnuPG Made Easy"
+HOMEPAGE="https://github.com/ueno/ruby-gpgme"
+SRC_URI="https://github.com/ueno/ruby-gpgme/archive/v${PV}.tar.gz -> ruby-${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=app-crypt/gpgme-1.18.0:=
+ >=dev-libs/libassuan-2.5.6
+ >=dev-libs/libgpg-error-1.47
+"
+DEPEND="${RDEPEND}"
+
+ruby_add_bdepend "test? ( dev-ruby/mocha:0.14 dev-ruby/minitest:5.15 )"
+
+all_ruby_prepare() {
+ sed -i -e '/\(coverall\|bundler\|ruby-debug\|byebug\)/I s:^:#:' \
+ -e '3igem "mocha", "~> 0.14"; gem "minitest", "~> 5.15.0"' \
+ test/test_helper.rb || die
+
+ # Remove failing tests for now. This package was added without
+ # running any tests :-(
+ rm -f test/{ctx,crypto}_test.rb || die
+
+ sed -i -e '/portile/d ; /rubyforge/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_configure() {
+ append-flags -fPIC
+ export RUBY_GPGME_USE_SYSTEM_LIBRARIES=1
+ each_fakegem_configure
+}
+
+each_ruby_test() {
+ unset DISPLAY GPG_AGENT_INFO GPG_TTY
+ MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}
next reply other threads:[~2024-02-01 7:12 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-01 7:11 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-08 8:59 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gpgme/ Hans de Graaff
2024-06-23 1:49 Sam James
2023-09-09 10:34 Hans de Graaff
2023-07-05 4:40 Hans de Graaff
2023-07-05 4:40 Hans de Graaff
2023-04-13 6:11 Sam James
2022-12-27 6:56 Hans de Graaff
2022-11-08 6:12 Hans de Graaff
2022-06-25 8:55 Hans de Graaff
2022-05-06 7:13 Hans de Graaff
2022-02-16 22:11 David Seifert
2021-10-31 5:57 Hans de Graaff
2020-09-15 6:00 Hans de Graaff
2020-02-19 18:59 Hans de Graaff
2019-10-05 6:02 Hans de Graaff
2019-07-17 7:04 Hans de Graaff
2019-06-01 8:20 Hans de Graaff
2019-04-09 17:05 Hans de Graaff
2018-01-22 19:49 Hans de Graaff
2017-12-28 23:00 Robin H. Johnson
2016-03-21 21:55 Manuel Rüger
2016-01-20 6:03 Hans de Graaff
2015-12-16 6:48 Hans de Graaff
2015-12-16 6:48 Hans de Graaff
2015-08-27 6:00 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1706771485.c0656d31094b50d36b047c72319cfebf20426a4b.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox