1 |
commit: 3b60c2319faaca49f7ffcb32a5258b4f4ff17985 |
2 |
Author: Hans de Graaff <hans <AT> degraaff <DOT> org> |
3 |
AuthorDate: Tue Jul 29 13:22:57 2014 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 29 13:22:57 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=3b60c231 |
7 |
|
8 |
Initial import. |
9 |
|
10 |
Package-Manager: portage-2.2.8-r1 |
11 |
|
12 |
--- |
13 |
dev-ruby/pipedrive-ruby/ChangeLog | 10 +++++ |
14 |
dev-ruby/pipedrive-ruby/Manifest | 1 + |
15 |
dev-ruby/pipedrive-ruby/metadata.xml | 5 +++ |
16 |
.../pipedrive-ruby/pipedrive-ruby-0.3.3.ebuild | 46 ++++++++++++++++++++++ |
17 |
4 files changed, 62 insertions(+) |
18 |
|
19 |
diff --git a/dev-ruby/pipedrive-ruby/ChangeLog b/dev-ruby/pipedrive-ruby/ChangeLog |
20 |
new file mode 100644 |
21 |
index 0000000..32c8649 |
22 |
--- /dev/null |
23 |
+++ b/dev-ruby/pipedrive-ruby/ChangeLog |
24 |
@@ -0,0 +1,10 @@ |
25 |
+# ChangeLog for dev-ruby/pipedrive-ruby |
26 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
27 |
+# $Header: $ |
28 |
+ |
29 |
+*pipedrive-ruby-0.3.3 (29 Jul 2014) |
30 |
+ |
31 |
+ 29 Jul 2014; Hans de Graaff <graaff@g.o> +pipedrive-ruby-0.3.3.ebuild, |
32 |
+ +metadata.xml: |
33 |
+ Initial import. |
34 |
+ |
35 |
|
36 |
diff --git a/dev-ruby/pipedrive-ruby/Manifest b/dev-ruby/pipedrive-ruby/Manifest |
37 |
new file mode 100644 |
38 |
index 0000000..402861e |
39 |
--- /dev/null |
40 |
+++ b/dev-ruby/pipedrive-ruby/Manifest |
41 |
@@ -0,0 +1 @@ |
42 |
+DIST pipedrive-ruby-0.3.3.gem 12288 SHA256 230479c6e7cfa4a9da8c347dd25fd8d6d28a3b326de7fdbaab5cb208052cdc0b SHA512 9b0c9f53997fc7c9b903a9c53f5d36dd5e8b999a1ed341260e4c240419ff955b4dc5609e47368aaf4f5baed0370448dd420e8ba7827e18f5d0027241f8475784 WHIRLPOOL aa89915f48009bffe2aea41bf4838ba1a9d60d0d9d1d26d0c63ec089d92e8062a9bf0bcfa8382e8e10f5bbb71427b878d077e348679c30ef9fe5171f8eed0f55 |
43 |
|
44 |
diff --git a/dev-ruby/pipedrive-ruby/metadata.xml b/dev-ruby/pipedrive-ruby/metadata.xml |
45 |
new file mode 100644 |
46 |
index 0000000..f977299 |
47 |
--- /dev/null |
48 |
+++ b/dev-ruby/pipedrive-ruby/metadata.xml |
49 |
@@ -0,0 +1,5 @@ |
50 |
+<?xml version = '1.0' encoding = 'UTF-8'?> |
51 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
52 |
+<pkgmetadata> |
53 |
+<maintainer><email>graaff@g.o</email></maintainer> |
54 |
+</pkgmetadata> |
55 |
|
56 |
diff --git a/dev-ruby/pipedrive-ruby/pipedrive-ruby-0.3.3.ebuild b/dev-ruby/pipedrive-ruby/pipedrive-ruby-0.3.3.ebuild |
57 |
new file mode 100644 |
58 |
index 0000000..6f6b891 |
59 |
--- /dev/null |
60 |
+++ b/dev-ruby/pipedrive-ruby/pipedrive-ruby-0.3.3.ebuild |
61 |
@@ -0,0 +1,46 @@ |
62 |
+# Copyright 1999-2014 Gentoo Foundation |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+# $Header: $ |
65 |
+ |
66 |
+EAPI=5 |
67 |
+USE_RUBY="ruby19 ruby20" |
68 |
+ |
69 |
+RUBY_FAKEGEM_TASK_DOC="" |
70 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
71 |
+ |
72 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec" |
73 |
+ |
74 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
75 |
+ |
76 |
+inherit ruby-fakegem |
77 |
+ |
78 |
+DESCRIPTION="Ruby wrapper for the LinkedIn API" |
79 |
+HOMEPAGE="http://github.com/hexgnu/linkedin" |
80 |
+ |
81 |
+LICENSE="MIT" |
82 |
+SLOT="0" |
83 |
+KEYWORDS="~amd64" |
84 |
+IUSE="" |
85 |
+ |
86 |
+ruby_add_rdepend " |
87 |
+ dev-ruby/httparty |
88 |
+ >=dev-ruby/json-1.7.7 |
89 |
+ >=dev-ruby/multi_xml-0.5.2 |
90 |
+" |
91 |
+ |
92 |
+ruby_add_bdepend "test? ( |
93 |
+ dev-ruby/test-unit:2 dev-ruby/shoulda |
94 |
+)" |
95 |
+ |
96 |
+all_ruby_prepare() { |
97 |
+ # Remove test dependencies that should not be runtime dependencies |
98 |
+ # https://github.com/GeneralScripting/pipedrive-ruby/issues/19 |
99 |
+ sed -e '/\(coveralls\|webmock\)/ s:^:#:' -i ${RUBY_FAKEGEM_GEMSPEC} || die |
100 |
+ |
101 |
+ sed -e '/coverall/I s:^:#:' \ |
102 |
+ -e '/^begin/,/^end/ s:^:#:' -i test/helper.rb || die |
103 |
+} |
104 |
+ |
105 |
+each_ruby_test() { |
106 |
+ ${RUBY} -S testrb-2 test/test_*.rb || die |
107 |
+} |