Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/sqlite3: sqlite3-1.3.9.ebuild ChangeLog
Date: Fri, 28 Feb 2014 00:30:41
Message-Id: 20140228003038.03B992004C@flycatcher.gentoo.org
1 mrueg 14/02/28 00:30:37
2
3 Modified: ChangeLog
4 Added: sqlite3-1.3.9.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key )
9
10 Revision Changes Path
11 1.17 dev-ruby/sqlite3/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 25 Feb 2014 08:08:35 -0000 1.16
24 +++ ChangeLog 28 Feb 2014 00:30:37 -0000 1.17
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/sqlite3
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/ChangeLog,v 1.16 2014/02/25 08:08:35 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/ChangeLog,v 1.17 2014/02/28 00:30:37 mrueg Exp $
30 +
31 +*sqlite3-1.3.9 (28 Feb 2014)
32 +
33 + 28 Feb 2014; Manuel RĂ¼ger <mrueg@g.o> +sqlite3-1.3.9.ebuild:
34 + Version bump.
35
36 25 Feb 2014; Hans de Graaff <graaff@g.o> sqlite3-1.3.6.ebuild,
37 sqlite3-1.3.8-r1.ebuild:
38
39
40
41 1.1 dev-ruby/sqlite3/sqlite3-1.3.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sqlite3-1.3.9.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.9.ebuild,v 1.1 2014/02/28 00:30:37 mrueg Exp $
51
52 EAPI=5
53 USE_RUBY="ruby18 ruby19 ruby20"
54
55 RUBY_FAKEGEM_TASK_DOC="docs faq"
56 RUBY_FAKEGEM_DOCDIR="doc faq"
57 RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc"
58
59 inherit multilib ruby-fakegem
60
61 DESCRIPTION="An extension library to access a SQLite database from Ruby"
62 HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/"
63 LICENSE="BSD"
64
65 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
66 SLOT="0"
67 IUSE=""
68
69 RDEPEND+=" =dev-db/sqlite-3*"
70 DEPEND+=" =dev-db/sqlite-3*"
71
72 ruby_add_bdepend "
73 dev-ruby/rake-compiler
74 dev-ruby/hoe
75 doc? ( dev-ruby/redcloth )
76 test? ( dev-ruby/minitest:5 )"
77
78 all_ruby_prepare() {
79 # We remove the vendor_sqlite3 rake task because it's used to
80 # bundle SQlite3 which we definitely don't want.
81 rm tasks/vendor_sqlite3.rake || die
82
83 # Remove license line from hoe to avoid depending on a newer
84 # version.
85 sed -i -e '/license/d' tasks/gem.rake || die
86
87 sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die
88 }
89
90 each_ruby_configure() {
91 ${RUBY} -Cext/sqlite3 extconf.rb || die
92 }
93
94 each_ruby_compile() {
95 # TODO: not sure what happens with jruby
96
97 emake -Cext/sqlite3 V=1
98 mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die
99 }
100
101 each_ruby_install() {
102 each_fakegem_install
103
104 # sqlite3 was called sqlite3-ruby before, so add a spec file that
105 # simply loads sqlite3 to make sure that old projects load correctly
106 # we don't even need to create a file to load this: the `require
107 # sqlite3` was already part of sqlite3-ruby requirements.
108 cat - <<EOF > "${T}/sqlite3-ruby.gemspec"
109 # generated by ebuild
110 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.9.ebuild,v 1.1 2014/02/28 00:30:37 mrueg Exp $
111 Gem::Specification.new do |s|
112 s.name = "sqlite3-ruby"
113 s.version = "${RUBY_FAKEGEM_VERSION}"
114 s.summary = "Fake gem to load sqlite3"
115 s.homepage = "${HOMEPAGE}"
116 s.specification_version = 3
117 s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"])
118 end
119 EOF
120 RUBY_FAKEGEM_NAME=sqlite3-ruby \
121 RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \
122 ruby_fakegem_install_gemspec
123 }