Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/graaff:master commit in: dev-ruby/ruby-saml/
Date: Fri, 27 Nov 2015 07:18:39
Message-Id: 1448608200.9517b4e267e00f54c244093b99cf9824c9cc889b.graaff@gentoo
1 commit: 9517b4e267e00f54c244093b99cf9824c9cc889b
2 Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
3 AuthorDate: Fri Nov 27 07:10:00 2015 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 27 07:10:00 2015 +0000
6 URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=9517b4e2
7
8 dev-ruby/ruby-saml: add 1.1.1
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-ruby/ruby-saml/Manifest | 1 +
13 dev-ruby/ruby-saml/ruby-saml-1.1.1.ebuild | 42 +++++++++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-ruby/ruby-saml/Manifest b/dev-ruby/ruby-saml/Manifest
17 index 93b71ea..6b10d26 100644
18 --- a/dev-ruby/ruby-saml/Manifest
19 +++ b/dev-ruby/ruby-saml/Manifest
20 @@ -2,3 +2,4 @@ DIST ruby-saml-0.7.3.gem 55296 SHA256 4de4c947a89e5e56b344faba795958026c5ba96e4b
21 DIST ruby-saml-0.8.2.gem 55808 SHA256 a101bc0d86503d12513b8be66a25967c71b189de02d1bd0fa6969e3bdee57597 SHA512 a199202d5a38a85b23e4a04ebb95abc715d303bd5eb45e2538088b7408a8977e9614c1fcfcadf65602b25043d6a443ea767bc145a652a7b72ffd878343c596f6 WHIRLPOOL 1a95ace4903a91470fe93f6fce3245da99ea7e54e905b0964afc1223197b8df8f789f77e5419e6f871362656b96f8ba408704c3956d751c5aa9b7d0a39fb7499
22 DIST ruby-saml-1.0.0.gem 204800 SHA256 24ea186d2506dd99f19acbc2f1b3bf637e0df40ef5ee73d8f2c552a158221643 SHA512 0edb752a0cc40d85c1a330e6f52468a464385033bdb15d5dc2271583ae364428936d79bab6f6bfbf2cf8b87d30755d056efcece673f07f84e2d91d90811a9109 WHIRLPOOL 58669296f342ebc771986c4c94b9010384788292646fc0ce3d0f6e012327bc90514bb3ec61370da64fda061d24b89bb20ee8b04b0e305c75fa0e957c39d608d2
23 DIST ruby-saml-1.1.0.gem 213504 SHA256 f426aae67d5d33e9596154fb0f5b454f6c9b72e04d66baabe60fd016b3672e02 SHA512 394eb83dfe55bb02889385c3716808d60382c06fad6d411a42bca13edaa39fdf1499f26913bdaf1a3f0c85856f1cd6abcff5daae7b74040e9ca1dbf308c31eee WHIRLPOOL 99c545685d326c3992f3de7a2e0261a43a14b0659e3d1bb9286cbb6df7fcd7b0223eb490df1c78dec52d8ba82bfae0ef718da63efcf4eca2918d9ca6e0ebfd19
24 +DIST ruby-saml-1.1.1.gem 218624 SHA256 4815b2edcb006166a1c2ea71d6233dff0c98076056a83ae46a077913a65a3294 SHA512 e4c1dd4ebf9e69cef9869e8102d81711ddecfe904ee498743061eaf02f9e6a8d355923cc39b7445b75629cd4a9d4ab10d009636a77e6ed3d1b1903603dbd1656 WHIRLPOOL a4d28f653af36bd70262967709dc136a1e314f6d0556973af59c77d0287cd5f6d7136dbcdc67bdc4d83c102a3da44adcb81fab2c2c8c6f64b3d295cec10f4d7e
25
26 diff --git a/dev-ruby/ruby-saml/ruby-saml-1.1.1.ebuild b/dev-ruby/ruby-saml/ruby-saml-1.1.1.ebuild
27 new file mode 100644
28 index 0000000..f514e40
29 --- /dev/null
30 +++ b/dev-ruby/ruby-saml/ruby-saml-1.1.1.ebuild
31 @@ -0,0 +1,42 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +USE_RUBY="ruby20 ruby21"
38 +
39 +RUBY_FAKEGEM_EXTRADOC="README.md"
40 +
41 +RUBY_FAKEGEM_DOCDIR="doc"
42 +RUBY_FAKEGEM_TASK_DOC=""
43 +
44 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
45 +
46 +inherit ruby-fakegem
47 +
48 +DESCRIPTION="A library for implementing the client side of a SAML authorization"
49 +HOMEPAGE="https://github.com/onelogin/ruby-saml"
50 +LICENSE="MIT"
51 +
52 +KEYWORDS="~amd64"
53 +SLOT="0.8"
54 +IUSE="doc"
55 +
56 +ruby_add_rdepend "
57 + >=dev-ruby/nokogiri-1.5.10
58 + >=dev-ruby/uuid-2.3:0"
59 +
60 +ruby_add_bdepend "test? ( dev-ruby/timecop dev-ruby/mocha dev-ruby/shoulda:0 )"
61 +
62 +all_ruby_prepare() {
63 + sed -i -e '/ruby-debug/d' \
64 + -e '/bundler/I s:^:#:' \
65 + -e '/simplecov/ s:^:#:' \
66 + -e '/SimpleCov/,/end/ s:^:#:' test/test_helper.rb || die
67 +
68 + sed -ie -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
69 +
70 + sed -i -e '2i gem "shoulda", "~> 2.11"' test/test_helper.rb || die
71 +
72 + sed -i -e '3irequire "onelogin/ruby-saml/http_error"' test/idp_metadata_parser_test.rb || die
73 +}