1 |
commit: 9489dd96fb0900cb08aaa92797643966e00db25a |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 17:46:21 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 17:46:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=9489dd96 |
7 |
|
8 |
dev-ruby/ruby-saml: Initial version. Highly based on version from graaff overlay |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/ruby-saml/Manifest | 1 + |
13 |
dev-ruby/ruby-saml/metadata.xml | 8 ++++++ |
14 |
dev-ruby/ruby-saml/ruby-saml-1.1.2.ebuild | 48 +++++++++++++++++++++++++++++++ |
15 |
3 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/ruby-saml/Manifest b/dev-ruby/ruby-saml/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..d9c6048 |
20 |
--- /dev/null |
21 |
+++ b/dev-ruby/ruby-saml/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST ruby-saml-1.1.2.gem 221184 SHA256 cc89499f6f1a1a1c0307852cc1b39cce6db0899b16964946983cf07be5a60493 SHA512 1d7c26647123140c926a65f99470c3322baa3fc341c57e846464083d1fa2608bb5390310c53aaf410221fd98dd053c144fb1c95b53a31664e175e3c4fe220a00 WHIRLPOOL d0a48aa78c52a56979185cec39b4bbb4090bfc3d0d2f2bd01e94a58a8e3ab3799628b95de9a52b974a70abba06bdcfe27059ba2fc5bf184eb8acdf3b2db98a53 |
24 |
|
25 |
diff --git a/dev-ruby/ruby-saml/metadata.xml b/dev-ruby/ruby-saml/metadata.xml |
26 |
new file mode 100644 |
27 |
index 0000000..bfcb697 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/ruby-saml/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer> |
35 |
+ <email>mrueg@g.o</email> |
36 |
+ <name>Manuel Rüger</name> |
37 |
+ </maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-ruby/ruby-saml/ruby-saml-1.1.2.ebuild b/dev-ruby/ruby-saml/ruby-saml-1.1.2.ebuild |
41 |
new file mode 100644 |
42 |
index 0000000..802335f |
43 |
--- /dev/null |
44 |
+++ b/dev-ruby/ruby-saml/ruby-saml-1.1.2.ebuild |
45 |
@@ -0,0 +1,48 @@ |
46 |
+# Copyright 1999-2016 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+# $Id$ |
49 |
+ |
50 |
+EAPI=5 |
51 |
+ |
52 |
+USE_RUBY="ruby20 ruby21 ruby22" |
53 |
+ |
54 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
55 |
+ |
56 |
+RUBY_FAKEGEM_DOCDIR="doc" |
57 |
+RUBY_FAKEGEM_TASK_DOC="" |
58 |
+ |
59 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
60 |
+ |
61 |
+inherit ruby-fakegem |
62 |
+ |
63 |
+DESCRIPTION="A library for implementing the client side of a SAML authorization" |
64 |
+HOMEPAGE="http://github.com/onelogin/ruby-saml https://rubygems.org/gems/ruby-saml" |
65 |
+LICENSE="MIT" |
66 |
+SLOT="0.8" |
67 |
+KEYWORDS="~amd64" |
68 |
+ |
69 |
+IUSE="doc" |
70 |
+ |
71 |
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.5.10 |
72 |
+ >=dev-ruby/uuid-2.3 |
73 |
+ <dev-ruby/uuid-3" |
74 |
+ |
75 |
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.5:5 |
76 |
+ >=dev-ruby/mocha-0.14:0.14 |
77 |
+ >=dev-ruby/shoulda-2.11 |
78 |
+ <dev-ruby/shoulda-3 |
79 |
+ >=dev-ruby/systemu-2 |
80 |
+ dev-ruby/timecop )" |
81 |
+ |
82 |
+all_ruby_prepare() { |
83 |
+ sed -i -e '/ruby-debug/d' \ |
84 |
+ -e '/bundler/I s:^:#:' \ |
85 |
+ -e '/simplecov/ s:^:#:' \ |
86 |
+ -e '/SimpleCov/,/end/ s:^:#:' test/test_helper.rb || die |
87 |
+ |
88 |
+ sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die |
89 |
+ |
90 |
+ sed -i -e '2i gem "shoulda", "~> 2.11"' test/test_helper.rb || die |
91 |
+ |
92 |
+ sed -i -e '3irequire "onelogin/ruby-saml/http_error"' test/idp_metadata_parser_test.rb || die |
93 |
+} |