From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/gpgme: ChangeLog gpgme-2.0.9.ebuild |
Date: | Fri, 24 Jul 2015 06:23:02 |
Message-Id: | 20150724062252.9F0CDBB@oystercatcher.gentoo.org |
1 | graaff 15/07/24 06:22:52 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gpgme-2.0.9.ebuild |
5 | Log: |
6 | Version bump. Fix gemspec not to include mini-portile. Use correct mocha version. |
7 | |
8 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 | |
10 | Revision Changes Path |
11 | 1.6 dev-ruby/gpgme/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gpgme/ChangeLog?rev=1.6&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gpgme/ChangeLog?rev=1.6&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gpgme/ChangeLog?r1=1.5&r2=1.6 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/gpgme/ChangeLog,v |
20 | retrieving revision 1.5 |
21 | retrieving revision 1.6 |
22 | diff -u -r1.5 -r1.6 |
23 | --- ChangeLog 7 Jun 2015 17:53:35 -0000 1.5 |
24 | +++ ChangeLog 24 Jul 2015 06:22:52 -0000 1.6 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-ruby/gpgme |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gpgme/ChangeLog,v 1.5 2015/06/07 17:53:35 jlec Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gpgme/ChangeLog,v 1.6 2015/07/24 06:22:52 graaff Exp $ |
30 | + |
31 | +*gpgme-2.0.9 (24 Jul 2015) |
32 | + |
33 | + 24 Jul 2015; Hans de Graaff <graaff@g.o> +gpgme-2.0.9.ebuild: |
34 | + Version bump. Fix gemspec not to include mini-portile. Use correct mocha |
35 | + version. |
36 | |
37 | 07 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml: |
38 | Add github to remote-id in metadata.xml |
39 | |
40 | |
41 | |
42 | 1.1 dev-ruby/gpgme/gpgme-2.0.9.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gpgme/gpgme-2.0.9.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gpgme/gpgme-2.0.9.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: gpgme-2.0.9.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2015 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/gpgme/gpgme-2.0.9.ebuild,v 1.1 2015/07/24 06:22:52 graaff Exp $ |
52 | |
53 | EAPI=5 |
54 | USE_RUBY="ruby19 ruby20 ruby21 ruby22" |
55 | |
56 | RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
57 | RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc" |
58 | |
59 | RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
60 | |
61 | inherit ruby-ng ruby-fakegem flag-o-matic |
62 | |
63 | DESCRIPTION="Ruby language binding for GnuPG Made Easy" |
64 | HOMEPAGE="https://github.com/ueno/ruby-gpgme" |
65 | SRC_URI="https://github.com/ueno/ruby-gpgme/archive/${PV}.tar.gz -> ruby-${P}.tar.gz" |
66 | RUBY_S="ruby-${P}" |
67 | |
68 | LICENSE="GPL-2" |
69 | SLOT="0" |
70 | KEYWORDS="~amd64 ~x86" |
71 | IUSE="" |
72 | |
73 | DEPEND+=">=app-crypt/gpgme-1.1.3" |
74 | RDEPEND+=">=app-crypt/gpgme-1.1.3" |
75 | |
76 | ruby_add_bdepend "test? ( dev-ruby/mocha:0.14 )" |
77 | |
78 | all_ruby_prepare() { |
79 | sed -i -e '/\(coverall\|bundler\|ruby-debug\|byebug\)/I s:^:#:' \ |
80 | -e '3igem "mocha", "~> 0.14"' \ |
81 | test/test_helper.rb || die |
82 | |
83 | # Remove failing tests for now. This package was added without |
84 | # running any tests :-( |
85 | rm -f test/{ctx,crypto}_test.rb || die |
86 | |
87 | sed -i -e '/portile/d' ${RUBY_FAKEGEM_GEMSPEC} || die |
88 | } |
89 | |
90 | each_ruby_configure() { |
91 | append-flags -fPIC |
92 | export RUBY_GPGME_USE_SYSTEM_LIBRARIES=1 |
93 | ${RUBY} -C ext "${S}/ext/gpgme/extconf.rb" || die "extconf.rb failed" |
94 | } |
95 | |
96 | each_ruby_compile() { |
97 | emake V=1 -C ext archflag="${LDFLAGS}" || die "emake failed" |
98 | cp -f "${S}/ext/gpgme_n.so" "${S}/lib" || die |
99 | } |
100 | |
101 | each_ruby_test() { |
102 | ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die |
103 | } |