From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E9FBF58974 for ; Wed, 20 Jan 2016 06:03:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E952D21C01A; Wed, 20 Jan 2016 06:03:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 442AC21C01A for ; Wed, 20 Jan 2016 06:03:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14FEE340754 for ; Wed, 20 Jan 2016 06:03:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2018D1018 for ; Wed, 20 Jan 2016 06:03:54 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1453269815.78c6060813f4ea0fb9e126230c33921963371a04.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gpgme/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/gpgme/Manifest dev-ruby/gpgme/gpgme-2.0.12.ebuild X-VCS-Directories: dev-ruby/gpgme/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 78c6060813f4ea0fb9e126230c33921963371a04 X-VCS-Branch: master Date: Wed, 20 Jan 2016 06:03:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2236f9e3-2f50-47d6-918b-b42e911ba5bb X-Archives-Hash: f6d4ae24e3ffa24b07995be7241090af commit: 78c6060813f4ea0fb9e126230c33921963371a04 Author: Hans de Graaff gentoo org> AuthorDate: Tue Jan 19 06:13:48 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Jan 20 06:03:35 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c60608 dev-ruby/gpgme: add 2.0.12 Package-Manager: portage-2.2.26 dev-ruby/gpgme/Manifest | 1 + dev-ruby/gpgme/gpgme-2.0.12.ebuild | 55 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-ruby/gpgme/Manifest b/dev-ruby/gpgme/Manifest index c6f9116..a46db3c 100644 --- a/dev-ruby/gpgme/Manifest +++ b/dev-ruby/gpgme/Manifest @@ -1,2 +1,3 @@ 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 +DIST ruby-gpgme-2.0.12.tar.gz 2414972 SHA256 74a2d94b1298e55212547f06c30a7334b5eef23961e2cafa3017622d27bcf275 SHA512 7c98defc69fbcee37af654d7f13110ca10663da15f40b2b558c32c1695caaa6b4ec2c65c9c6dcb1a60b9dc955d11226776d4ec7db978847b74638cda3274644e WHIRLPOOL 97c307e0c08c5d74b2bf4a528a7d2df5dd52512b8ea318c53a1683e8f9496864578c35d4eb9556ce5fd6ded8578afb85bede938dbd9e8ae792b3b07df6bb8ef2 diff --git a/dev-ruby/gpgme/gpgme-2.0.12.ebuild b/dev-ruby/gpgme/gpgme-2.0.12.ebuild new file mode 100644 index 0000000..f710b39 --- /dev/null +++ b/dev-ruby/gpgme/gpgme-2.0.12.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 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 +}