public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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, 16 Dec 2015 06:48:41 +0000 (UTC)	[thread overview]
Message-ID: <1450248510.0a7e35a7d993d63ba35424d691e5b01443ed4606.graaff@gentoo> (raw)

commit:     0a7e35a7d993d63ba35424d691e5b01443ed4606
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 16 06:39:42 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Dec 16 06:48:30 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a7e35a7

dev-ruby/gpgme: add 2.0.11

Package-Manager: portage-2.2.24

 dev-ruby/gpgme/Manifest            |  1 +
 dev-ruby/gpgme/gpgme-2.0.11.ebuild | 55 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-ruby/gpgme/Manifest b/dev-ruby/gpgme/Manifest
index bec81a8..c6f9116 100644
--- a/dev-ruby/gpgme/Manifest
+++ b/dev-ruby/gpgme/Manifest
@@ -1 +1,2 @@
 DIST ruby-gpgme-2.0.10.tar.gz 2377398 SHA256 0c7d6a2ef57a1bcad7dc0d9175966ca3e70fc0fcb9f23e1758d55bc357be1129 SHA512 825ab9bb5472c63d0d0060b3d5915f03c2cd0a567747fd1d66f2bd34caa6e99965ebbbf22e914bce2c3eb035ff32339bd3f5748b83e4968a7401012bdbcd8a6a WHIRLPOOL bd31b812e835e8fe82ba1b815c9da8f0a1afe83056327c7d1273b8a8b5dec9aecdfee79a867051e4da04abcb497e48eee01bd975d109afd665fec4cfa891d33c
+DIST ruby-gpgme-2.0.11.tar.gz 2414945 SHA256 13357d6f89b3c5d11ea5edbec3ceab3046c4fbf87dd62bc6128eebd9e384e4de SHA512 4cada80cba7777836aa53033fd416677e7cde0572d15dbca0f1c88cde336526c4a0a028dd1dc044aa70441c8e624af2135f87d9d7c498f16c5c9b207a6814588 WHIRLPOOL 550aee64df283d5a8601783f1c6981a15e06ddddbfdd8f21a594799c89fa9724ba3cb477462b6c7829e697760c73e3452c638212611f8a16239a97d9fd4c2a24

diff --git a/dev-ruby/gpgme/gpgme-2.0.11.ebuild b/dev-ruby/gpgme/gpgme-2.0.11.ebuild
new file mode 100644
index 0000000..09a0e7b
--- /dev/null
+++ b/dev-ruby/gpgme/gpgme-2.0.11.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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/${PV}.tar.gz -> ruby-${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND+=">=app-crypt/gpgme-1.1.3"
+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' ${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}" || die "emake failed"
+	cp -f "${S}/ext/gpgme_n.so" "${S}/lib" || die
+}
+
+each_ruby_test() {
+	${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}


             reply	other threads:[~2015-12-16  6:48 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-16  6:48 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
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-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=1450248510.0a7e35a7d993d63ba35424d691e5b01443ed4606.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