Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sqlite3/
Date: Tue, 06 Jul 2021 19:41:53
Message-Id: 1625600500.38b8049a6a1665a8352a788ecdc7a30f76c9f134.graaff@gentoo
1 commit: 38b8049a6a1665a8352a788ecdc7a30f76c9f134
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 6 10:28:04 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 6 19:41:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b8049a
7
8 dev-ruby/sqlite3: cleanup
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/sqlite3/Manifest | 1 -
14 dev-ruby/sqlite3/sqlite3-1.4.1.ebuild | 83 -----------------------------------
15 dev-ruby/sqlite3/sqlite3-1.4.2.ebuild | 83 -----------------------------------
16 3 files changed, 167 deletions(-)
17
18 diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest
19 index 4a352a81a89..204ef9693a6 100644
20 --- a/dev-ruby/sqlite3/Manifest
21 +++ b/dev-ruby/sqlite3/Manifest
22 @@ -1,3 +1,2 @@
23 DIST sqlite3-1.3.13.gem 64512 BLAKE2B a36e3161e44004a0510297d16bf491df3dc29434432208ad231f5e46ddecb4607add417e105f5ae8472a768f80efef3f74b703b2a441396b4c9b6c9ff90bf31e SHA512 5d3eab7c788cc62c497de179919054324e53595294ec3a9df2a10d23151a406ee9a88f1c3ac945777f138e78cec61018c388b023456b873131d678a6788a505f
24 -DIST sqlite3-1.4.1.gem 70144 BLAKE2B 5a850296c804223cfe7673f72a1e303fb80c49569f23ab57be9a26acacbe95945382db1b1fd22bb432c974ddcf7c28abd913912823c2e8477d2eda165dbafe0d SHA512 33f87af2e962459cad07f2f07c9d6dffb59551c4e5371e47446f10f5314a05da495598ef5f90f896f876f9a59bd2e90b5bb3fdfb6efb95966ff51bb578f81a80
25 DIST sqlite3-1.4.2.gem 70656 BLAKE2B ef7fa7667fd080a6f175bcfbd1fe8dfba00d3fdf1214cc3d776f0576dc29386b627db8d6c0dd06f07ab65fff877a6803a6dcacefd4fbc5bb0f7d2149e355c88d SHA512 c4630dd2fa13914e2fcc70092c35568103f61f976958b439fe205abdfcff61702ca176d10bea40ff0cfea3169644cdb9146b7be94dff883cad3b753e84629545
26
27 diff --git a/dev-ruby/sqlite3/sqlite3-1.4.1.ebuild b/dev-ruby/sqlite3/sqlite3-1.4.1.ebuild
28 deleted file mode 100644
29 index db26f1c3ce7..00000000000
30 --- a/dev-ruby/sqlite3/sqlite3-1.4.1.ebuild
31 +++ /dev/null
32 @@ -1,83 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -USE_RUBY="ruby24 ruby25 ruby26"
38 -
39 -RUBY_FAKEGEM_TASK_DOC="faq"
40 -RUBY_FAKEGEM_DOCDIR="doc faq"
41 -RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc"
42 -
43 -inherit multilib ruby-fakegem
44 -
45 -DESCRIPTION="An extension library to access a SQLite database from Ruby"
46 -HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby"
47 -LICENSE="BSD"
48 -
49 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 -SLOT="0"
51 -IUSE=""
52 -
53 -RDEPEND+=" >=dev-db/sqlite-3.6.16:3"
54 -DEPEND+=" >=dev-db/sqlite-3.6.16:3"
55 -
56 -ruby_add_bdepend "
57 - dev-ruby/rake-compiler
58 - doc? ( dev-ruby/rdoc dev-ruby/redcloth )
59 - test? ( dev-ruby/minitest:5 )"
60 -
61 -all_ruby_prepare() {
62 - # We remove the vendor_sqlite3 rake task because it's used to
63 - # bundle SQlite3 which we definitely don't want.
64 - rm -f rakelib/vendor_sqlite3.rake || die
65 -
66 - # Remove gem tasks since we don't need them and they require hoe.
67 - rm -f rakelib/gem.rake || die
68 -
69 - sed -i -e 's:, HOE.spec::' -e '/task :test/d' rakelib/native.rake || die
70 -}
71 -
72 -each_ruby_configure() {
73 - ${RUBY} -Cext/sqlite3 extconf.rb || die
74 -}
75 -
76 -all_ruby_compile() {
77 - all_fakegem_compile
78 -
79 - if use doc; then
80 - rdoc --title "${P} Dcoumentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die
81 - fi
82 -}
83 -
84 -each_ruby_compile() {
85 - emake -Cext/sqlite3 V=1
86 - mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die
87 -}
88 -
89 -each_ruby_test() {
90 - ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
91 -}
92 -
93 -each_ruby_install() {
94 - each_fakegem_install
95 -
96 - # sqlite3 was called sqlite3-ruby before, so add a spec file that
97 - # simply loads sqlite3 to make sure that old projects load correctly
98 - # we don't even need to create a file to load this: the `require
99 - # sqlite3` was already part of sqlite3-ruby requirements.
100 - cat - <<EOF > "${T}/sqlite3-ruby.gemspec"
101 -# generated by ebuild
102 -# ${CATEGORY}/${PF}
103 -Gem::Specification.new do |s|
104 - s.name = "sqlite3-ruby"
105 - s.version = "${RUBY_FAKEGEM_VERSION}"
106 - s.summary = "Fake gem to load sqlite3"
107 - s.homepage = "${HOMEPAGE}"
108 - s.specification_version = 3
109 - s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"])
110 -end
111 -EOF
112 - RUBY_FAKEGEM_NAME=sqlite3-ruby \
113 - RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \
114 - ruby_fakegem_install_gemspec
115 -}
116
117 diff --git a/dev-ruby/sqlite3/sqlite3-1.4.2.ebuild b/dev-ruby/sqlite3/sqlite3-1.4.2.ebuild
118 deleted file mode 100644
119 index afd7d3af6e3..00000000000
120 --- a/dev-ruby/sqlite3/sqlite3-1.4.2.ebuild
121 +++ /dev/null
122 @@ -1,83 +0,0 @@
123 -# Copyright 1999-2021 Gentoo Authors
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=7
127 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
128 -
129 -RUBY_FAKEGEM_TASK_DOC="faq"
130 -RUBY_FAKEGEM_DOCDIR="doc faq"
131 -RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc"
132 -
133 -inherit multilib ruby-fakegem
134 -
135 -DESCRIPTION="An extension library to access a SQLite database from Ruby"
136 -HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby"
137 -LICENSE="BSD"
138 -
139 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
140 -SLOT="0"
141 -IUSE=""
142 -
143 -RDEPEND+=" >=dev-db/sqlite-3.6.16:3"
144 -DEPEND+=" >=dev-db/sqlite-3.6.16:3"
145 -
146 -ruby_add_bdepend "
147 - dev-ruby/rake-compiler
148 - doc? ( dev-ruby/rdoc dev-ruby/redcloth )
149 - test? ( dev-ruby/minitest:5 )"
150 -
151 -all_ruby_prepare() {
152 - # We remove the vendor_sqlite3 rake task because it's used to
153 - # bundle SQlite3 which we definitely don't want.
154 - rm -f rakelib/vendor_sqlite3.rake || die
155 -
156 - # Remove gem tasks since we don't need them and they require hoe.
157 - rm -f rakelib/gem.rake || die
158 -
159 - sed -i -e 's:, HOE.spec::' -e '/task :test/d' rakelib/native.rake || die
160 -}
161 -
162 -each_ruby_configure() {
163 - ${RUBY} -Cext/sqlite3 extconf.rb || die
164 -}
165 -
166 -all_ruby_compile() {
167 - all_fakegem_compile
168 -
169 - if use doc; then
170 - rdoc --title "${P} Dcoumentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die
171 - fi
172 -}
173 -
174 -each_ruby_compile() {
175 - emake -Cext/sqlite3 V=1
176 - mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die
177 -}
178 -
179 -each_ruby_test() {
180 - ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
181 -}
182 -
183 -each_ruby_install() {
184 - each_fakegem_install
185 -
186 - # sqlite3 was called sqlite3-ruby before, so add a spec file that
187 - # simply loads sqlite3 to make sure that old projects load correctly
188 - # we don't even need to create a file to load this: the `require
189 - # sqlite3` was already part of sqlite3-ruby requirements.
190 - cat - <<EOF > "${T}/sqlite3-ruby.gemspec"
191 -# generated by ebuild
192 -# ${CATEGORY}/${PF}
193 -Gem::Specification.new do |s|
194 - s.name = "sqlite3-ruby"
195 - s.version = "${RUBY_FAKEGEM_VERSION}"
196 - s.summary = "Fake gem to load sqlite3"
197 - s.homepage = "${HOMEPAGE}"
198 - s.specification_version = 3
199 - s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"])
200 -end
201 -EOF
202 - RUBY_FAKEGEM_NAME=sqlite3-ruby \
203 - RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \
204 - ruby_fakegem_install_gemspec
205 -}