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: Wed, 19 Feb 2020 18:59:00 +0000 (UTC) [thread overview]
Message-ID: <1582138623.65cdb848b3a96d8ec06dd098e783275bf83ffb41.graaff@gentoo> (raw)
commit: 65cdb848b3a96d8ec06dd098e783275bf83ffb41
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 18:49:50 2020 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 18:57:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65cdb848
dev-ruby/gpgme: add 2.0.20
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/gpgme/Manifest | 1 +
dev-ruby/gpgme/gpgme-2.0.20.ebuild | 54 ++++++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/dev-ruby/gpgme/Manifest b/dev-ruby/gpgme/Manifest
index 5dcb49f3ac1..16a4335946c 100644
--- a/dev-ruby/gpgme/Manifest
+++ b/dev-ruby/gpgme/Manifest
@@ -1,2 +1,3 @@
DIST ruby-gpgme-2.0.18.tar.gz 2799633 BLAKE2B c50336a8f5ae75fc56a29c043a19e84083f122534bf5639124c991dfb55c03b9ddcfe9a07431e0b826adce2c4fa715576387ea51361df68bb3f86019e049a018 SHA512 9be9112572ee2bf92c54c763f3588d0348c62af1d053b3a9d97d89ccfb5f17507be41d89aacbf75a746682dc176d04599d8fb9cfe6d5ac071fc8435eb31513af
DIST ruby-gpgme-2.0.19.tar.gz 2801919 BLAKE2B 0a31099abb8786abd3e39aabb5cef3169a16f99d2aa74dec3957f435e9eb62b4724db8c7f5c0a5be0dec05a6a8832756772632557b88c2925e3d18c39283e2f1 SHA512 a9fea9ad33e423ede54f64e7804b6a940bec9a120be3d612a1985abd06c030441091ba397144cd5b484fcfee26b0885303dcd4d954aefef0ae02575b95f12a36
+DIST ruby-gpgme-2.0.20.tar.gz 2801991 BLAKE2B f5d4c58fd9ef38e0e843e3c59e9653166666ce3635cf479fcd007581b6c6c42ce7852bd36542b378e4152bd471af0131685c8a9f1024953f41832a54c477e1ac SHA512 3267cc77b57c22de3e505c34dfb0a8a4a76cda1fe6dbe547dfdb9ca1a75cf949ca75b3718fe6b6190c06dfdddf21d76b0d0a71631e53e4f439284ce7cf95f6df
diff --git a/dev-ruby/gpgme/gpgme-2.0.20.ebuild b/dev-ruby/gpgme/gpgme-2.0.20.ebuild
new file mode 100644
index 00000000000..e0e3c9d2821
--- /dev/null
+++ b/dev-ruby/gpgme/gpgme-2.0.20.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-ng 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 ~x86"
+IUSE=""
+
+DEPEND+=">=app-crypt/gpgme-1.1.3 test? ( >=app-crypt/gpgme-1.13.0 )"
+RDEPEND+=">=app-crypt/gpgme-1.1.3"
+
+ruby_add_bdepend "test? ( dev-ruby/mocha:0.14 )"
+
+all_ruby_prepare() {
+ sed -i -e '/\(coverall\|bundler\|ruby-debug\|byebug\)/I s:^:#:' \
+ -e '3igem "mocha", "~> 0.14"' \
+ 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
+ ${RUBY} -C ext "${S}/ext/gpgme/extconf.rb" || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake V=1 -C ext archflag="${LDFLAGS}"
+ cp -f "${S}/ext/gpgme_n.so" "${S}/lib" || die
+}
+
+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:[~2020-02-19 18:59 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-19 18:59 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
2024-02-01 7:11 Hans de Graaff
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
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=1582138623.65cdb848b3a96d8ec06dd098e783275bf83ffb41.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