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: Mon, 04 Nov 2019 18:34:07
Message-Id: 1572892384.b802c2e48959c691d49b67c82bc2f8962b2173d2.graaff@gentoo
1 commit: b802c2e48959c691d49b67c82bc2f8962b2173d2
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 4 18:07:24 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 4 18:33:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b802c2e4
7
8 dev-ruby/sqlite3: cleanup
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.16
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.0.ebuild | 83 -----------------------------------
15 2 files changed, 84 deletions(-)
16
17 diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest
18 index 555ee5a2741..198111b5a9b 100644
19 --- a/dev-ruby/sqlite3/Manifest
20 +++ b/dev-ruby/sqlite3/Manifest
21 @@ -1,3 +1,2 @@
22 DIST sqlite3-1.3.13.gem 64512 BLAKE2B a36e3161e44004a0510297d16bf491df3dc29434432208ad231f5e46ddecb4607add417e105f5ae8472a768f80efef3f74b703b2a441396b4c9b6c9ff90bf31e SHA512 5d3eab7c788cc62c497de179919054324e53595294ec3a9df2a10d23151a406ee9a88f1c3ac945777f138e78cec61018c388b023456b873131d678a6788a505f
23 -DIST sqlite3-1.4.0.gem 70144 BLAKE2B 4900db2ffefb1658d1001d3d334c95b6e140abceb99b60c1aff78ffe8ca8055b58a1ea87040dc54893542a55d55aa2c1a91975a61edec18d211bf8dbbd786642 SHA512 7db9ca4bc12becd41224be77694453e8ba428303b69e58663f7888746558112e147c5f9076aa8baf3c23ac3e895cac079cb645d281e5eb06f98e0d8e8268562a
24 DIST sqlite3-1.4.1.gem 70144 BLAKE2B 5a850296c804223cfe7673f72a1e303fb80c49569f23ab57be9a26acacbe95945382db1b1fd22bb432c974ddcf7c28abd913912823c2e8477d2eda165dbafe0d SHA512 33f87af2e962459cad07f2f07c9d6dffb59551c4e5371e47446f10f5314a05da495598ef5f90f896f876f9a59bd2e90b5bb3fdfb6efb95966ff51bb578f81a80
25
26 diff --git a/dev-ruby/sqlite3/sqlite3-1.4.0.ebuild b/dev-ruby/sqlite3/sqlite3-1.4.0.ebuild
27 deleted file mode 100644
28 index a8d2de67e09..00000000000
29 --- a/dev-ruby/sqlite3/sqlite3-1.4.0.ebuild
30 +++ /dev/null
31 @@ -1,83 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
37 -
38 -RUBY_FAKEGEM_TASK_DOC="faq"
39 -RUBY_FAKEGEM_DOCDIR="doc faq"
40 -RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc"
41 -
42 -inherit multilib ruby-fakegem
43 -
44 -DESCRIPTION="An extension library to access a SQLite database from Ruby"
45 -HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby"
46 -LICENSE="BSD"
47 -
48 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
49 -SLOT="0"
50 -IUSE=""
51 -
52 -RDEPEND+=" >=dev-db/sqlite-3.6.16:3"
53 -DEPEND+=" >=dev-db/sqlite-3.6.16:3"
54 -
55 -ruby_add_bdepend "
56 - dev-ruby/rake-compiler
57 - doc? ( dev-ruby/rdoc dev-ruby/redcloth )
58 - test? ( dev-ruby/minitest:5 )"
59 -
60 -all_ruby_prepare() {
61 - # We remove the vendor_sqlite3 rake task because it's used to
62 - # bundle SQlite3 which we definitely don't want.
63 - rm -f rakelib/vendor_sqlite3.rake || die
64 -
65 - # Remove gem tasks since we don't need them and they require hoe.
66 - rm -f rakelib/gem.rake || die
67 -
68 - sed -i -e 's:, HOE.spec::' -e '/task :test/d' rakelib/native.rake || die
69 -}
70 -
71 -each_ruby_configure() {
72 - ${RUBY} -Cext/sqlite3 extconf.rb || die
73 -}
74 -
75 -all_ruby_compile() {
76 - all_fakegem_compile
77 -
78 - if use doc; then
79 - rdoc --title "${P} Dcoumentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die
80 - fi
81 -}
82 -
83 -each_ruby_compile() {
84 - emake -Cext/sqlite3 V=1
85 - mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die
86 -}
87 -
88 -each_ruby_test() {
89 - ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
90 -}
91 -
92 -each_ruby_install() {
93 - each_fakegem_install
94 -
95 - # sqlite3 was called sqlite3-ruby before, so add a spec file that
96 - # simply loads sqlite3 to make sure that old projects load correctly
97 - # we don't even need to create a file to load this: the `require
98 - # sqlite3` was already part of sqlite3-ruby requirements.
99 - cat - <<EOF > "${T}/sqlite3-ruby.gemspec"
100 -# generated by ebuild
101 -# $CATEGORY/$PF
102 -Gem::Specification.new do |s|
103 - s.name = "sqlite3-ruby"
104 - s.version = "${RUBY_FAKEGEM_VERSION}"
105 - s.summary = "Fake gem to load sqlite3"
106 - s.homepage = "${HOMEPAGE}"
107 - s.specification_version = 3
108 - s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"])
109 -end
110 -EOF
111 - RUBY_FAKEGEM_NAME=sqlite3-ruby \
112 - RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \
113 - ruby_fakegem_install_gemspec
114 -}