1 |
commit: e41b0ab0b5d3a7b683bce328ec317ed05f314522 |
2 |
Author: Peter Wilmott <p <AT> p8952 <DOT> info> |
3 |
AuthorDate: Tue Oct 29 18:54:03 2013 +0000 |
4 |
Commit: Peter Wilmott <p <AT> p8952 <DOT> info> |
5 |
CommitDate: Tue Oct 29 18:54:03 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=e41b0ab0 |
7 |
|
8 |
dev-ruby/do_sqlite3: Initial commit, dependency for datamapper(dm)-1.2.x |
9 |
|
10 |
Package-Manager: portage-2.2.7 |
11 |
|
12 |
--- |
13 |
dev-ruby/do_sqlite3/ChangeLog | 9 +++ |
14 |
dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild | 33 ++++++++ |
15 |
dev-ruby/do_sqlite3/files/do_sqlite3.gemspec | 104 ++++++++++++++++++++++++++ |
16 |
dev-ruby/do_sqlite3/metadata.xml | 5 ++ |
17 |
4 files changed, 151 insertions(+) |
18 |
|
19 |
diff --git a/dev-ruby/do_sqlite3/ChangeLog b/dev-ruby/do_sqlite3/ChangeLog |
20 |
new file mode 100644 |
21 |
index 0000000..3be7f91 |
22 |
--- /dev/null |
23 |
+++ b/dev-ruby/do_sqlite3/ChangeLog |
24 |
@@ -0,0 +1,9 @@ |
25 |
+# ChangeLog for dev-ruby/do_sqlite3 |
26 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
27 |
+# $Header: $ |
28 |
+ |
29 |
+*do_sqlite3-0.10.13 (29 Oct 2013) |
30 |
+ |
31 |
+ 29 Oct 2013; Peter Wilmott <p@×××××.info> +do_sqlite3-0.10.13.ebuild, |
32 |
+ +files/do_sqlite3.gemspec, +metadata.xml: |
33 |
+ dev-ruby/do_sqlite3: Initial commit, dependency for datamapper(dm)-1.2.x |
34 |
|
35 |
diff --git a/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild b/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild |
36 |
new file mode 100644 |
37 |
index 0000000..11ff841 |
38 |
--- /dev/null |
39 |
+++ b/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild |
40 |
@@ -0,0 +1,33 @@ |
41 |
+# Copyright 1999-2013 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+# $Header: $ |
44 |
+ |
45 |
+EAPI=5 |
46 |
+USE_RUBY="ruby19" |
47 |
+ |
48 |
+RUBY_FAKEGEM_TASK_TEST="spec" |
49 |
+RUBY_FAKEGEM_TASK_DOC="yard" |
50 |
+ |
51 |
+RUBY_FAKEGEM_DOCDIR="doc" |
52 |
+RUBY_FAKEGEM_EXTRADOC="README.markdown" |
53 |
+ |
54 |
+inherit ruby-fakegem |
55 |
+ |
56 |
+DESCRIPTION="Implements the DataObjects API for Sqlite3" |
57 |
+HOMEPAGE="http://datamapper.org/" |
58 |
+ |
59 |
+LICENSE="MIT" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~amd64" |
62 |
+IUSE="" |
63 |
+ |
64 |
+DEPEND+="dev-db/sqlite:3" |
65 |
+ |
66 |
+ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.8.7 )" |
67 |
+ruby_add_bdepend "test? ( dev-ruby/rake-compiler dev-ruby/rspec:2 )" |
68 |
+ |
69 |
+ruby_add_rdepend "dev-ruby/data_objects" |
70 |
+ |
71 |
+all_ruby_prepare() { |
72 |
+ cp "${FILESDIR}/${PN}.gemspec" "${WORKDIR}/all/${P}/${PN}.gemspec" |
73 |
+} |
74 |
|
75 |
diff --git a/dev-ruby/do_sqlite3/files/do_sqlite3.gemspec b/dev-ruby/do_sqlite3/files/do_sqlite3.gemspec |
76 |
new file mode 100644 |
77 |
index 0000000..5cf6e86 |
78 |
--- /dev/null |
79 |
+++ b/dev-ruby/do_sqlite3/files/do_sqlite3.gemspec |
80 |
@@ -0,0 +1,104 @@ |
81 |
+# -*- encoding: utf-8 -*- |
82 |
+ |
83 |
+Gem::Specification.new do |s| |
84 |
+ s.name = %q{do_sqlite3} |
85 |
+ s.version = "0.10.13" |
86 |
+ |
87 |
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= |
88 |
+ s.authors = ["Dirkjan Bussink"] |
89 |
+ s.description = %q{Implements the DataObjects API for Sqlite3} |
90 |
+ s.email = %q{d.bussink@×××××.com} |
91 |
+ s.extensions = ["ext/do_sqlite3/extconf.rb"] |
92 |
+ s.extra_rdoc_files = [ |
93 |
+ "ChangeLog.markdown", |
94 |
+ "LICENSE", |
95 |
+ "README.markdown" |
96 |
+ ] |
97 |
+ s.files = [ |
98 |
+ "ChangeLog.markdown", |
99 |
+ "LICENSE", |
100 |
+ "README.markdown", |
101 |
+ "Rakefile", |
102 |
+ "ext/do_sqlite3/compat.h", |
103 |
+ "ext/do_sqlite3/do_common.c", |
104 |
+ "ext/do_sqlite3/do_common.h", |
105 |
+ "ext/do_sqlite3/do_sqlite3.c", |
106 |
+ "ext/do_sqlite3/do_sqlite3.h", |
107 |
+ "ext/do_sqlite3/do_sqlite3_extension.c", |
108 |
+ "ext/do_sqlite3/error.h", |
109 |
+ "ext/do_sqlite3/extconf.rb", |
110 |
+ "lib/do_sqlite3.rb", |
111 |
+ "lib/do_sqlite3/transaction.rb", |
112 |
+ "lib/do_sqlite3/version.rb", |
113 |
+ "spec/command_spec.rb", |
114 |
+ "spec/connection_spec.rb", |
115 |
+ "spec/encoding_spec.rb", |
116 |
+ "spec/error/sql_error_spec.rb", |
117 |
+ "spec/reader_spec.rb", |
118 |
+ "spec/result_spec.rb", |
119 |
+ "spec/spec_helper.rb", |
120 |
+ "spec/typecast/array_spec.rb", |
121 |
+ "spec/typecast/bigdecimal_spec.rb", |
122 |
+ "spec/typecast/boolean_spec.rb", |
123 |
+ "spec/typecast/byte_array_spec.rb", |
124 |
+ "spec/typecast/class_spec.rb", |
125 |
+ "spec/typecast/date_spec.rb", |
126 |
+ "spec/typecast/datetime_spec.rb", |
127 |
+ "spec/typecast/float_spec.rb", |
128 |
+ "spec/typecast/integer_spec.rb", |
129 |
+ "spec/typecast/nil_spec.rb", |
130 |
+ "spec/typecast/other_spec.rb", |
131 |
+ "spec/typecast/range_spec.rb", |
132 |
+ "spec/typecast/string_spec.rb", |
133 |
+ "spec/typecast/time_spec.rb", |
134 |
+ "tasks/compile.rake", |
135 |
+ "tasks/release.rake", |
136 |
+ "tasks/retrieve.rake", |
137 |
+ "tasks/spec.rake" |
138 |
+ ] |
139 |
+ s.require_paths = ["lib"] |
140 |
+ s.rubyforge_project = %q{dorb} |
141 |
+ s.rubygems_version = %q{1.6.2} |
142 |
+ s.summary = %q{DataObjects Sqlite3 Driver} |
143 |
+ s.test_files = [ |
144 |
+ "spec/command_spec.rb", |
145 |
+ "spec/connection_spec.rb", |
146 |
+ "spec/encoding_spec.rb", |
147 |
+ "spec/error/sql_error_spec.rb", |
148 |
+ "spec/reader_spec.rb", |
149 |
+ "spec/result_spec.rb", |
150 |
+ "spec/spec_helper.rb", |
151 |
+ "spec/typecast/array_spec.rb", |
152 |
+ "spec/typecast/bigdecimal_spec.rb", |
153 |
+ "spec/typecast/boolean_spec.rb", |
154 |
+ "spec/typecast/byte_array_spec.rb", |
155 |
+ "spec/typecast/class_spec.rb", |
156 |
+ "spec/typecast/date_spec.rb", |
157 |
+ "spec/typecast/datetime_spec.rb", |
158 |
+ "spec/typecast/float_spec.rb", |
159 |
+ "spec/typecast/integer_spec.rb", |
160 |
+ "spec/typecast/nil_spec.rb", |
161 |
+ "spec/typecast/other_spec.rb", |
162 |
+ "spec/typecast/range_spec.rb", |
163 |
+ "spec/typecast/string_spec.rb", |
164 |
+ "spec/typecast/time_spec.rb" |
165 |
+ ] |
166 |
+ |
167 |
+ if s.respond_to? :specification_version then |
168 |
+ s.specification_version = 3 |
169 |
+ |
170 |
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then |
171 |
+ s.add_runtime_dependency(%q<data_objects>, ["= 0.10.13"]) |
172 |
+ s.add_development_dependency(%q<rspec>, ["~> 2.5"]) |
173 |
+ s.add_development_dependency(%q<rake-compiler>, ["~> 0.7"]) |
174 |
+ else |
175 |
+ s.add_dependency(%q<data_objects>, ["= 0.10.13"]) |
176 |
+ s.add_dependency(%q<rspec>, ["~> 2.5"]) |
177 |
+ s.add_dependency(%q<rake-compiler>, ["~> 0.7"]) |
178 |
+ end |
179 |
+ else |
180 |
+ s.add_dependency(%q<data_objects>, ["= 0.10.13"]) |
181 |
+ s.add_dependency(%q<rspec>, ["~> 2.5"]) |
182 |
+ s.add_dependency(%q<rake-compiler>, ["~> 0.7"]) |
183 |
+ end |
184 |
+end |
185 |
|
186 |
diff --git a/dev-ruby/do_sqlite3/metadata.xml b/dev-ruby/do_sqlite3/metadata.xml |
187 |
new file mode 100644 |
188 |
index 0000000..8521361 |
189 |
--- /dev/null |
190 |
+++ b/dev-ruby/do_sqlite3/metadata.xml |
191 |
@@ -0,0 +1,5 @@ |
192 |
+<?xml version="1.0" encoding="UTF-8"?> |
193 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
194 |
+<pkgmetadata> |
195 |
+<herd>ruby</herd> |
196 |
+</pkgmetadata> |