Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/sqlite3: ChangeLog sqlite3-1.3.7.ebuild
Date: Fri, 01 Feb 2013 06:54:09
Message-Id: 20130201065406.216D72171D@flycatcher.gentoo.org
1 graaff 13/02/01 06:54:06
2
3 Modified: ChangeLog
4 Added: sqlite3-1.3.7.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.10 dev-ruby/sqlite3/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 1 Feb 2013 06:51:53 -0000 1.9
24 +++ ChangeLog 1 Feb 2013 06:54:05 -0000 1.10
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/sqlite3
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/ChangeLog,v 1.9 2013/02/01 06:51:53 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/ChangeLog,v 1.10 2013/02/01 06:54:05 graaff Exp $
30 +
31 +*sqlite3-1.3.7 (01 Feb 2013)
32 +
33 + 01 Feb 2013; Hans de Graaff <graaff@g.o> +sqlite3-1.3.7.ebuild:
34 + Version bump.
35
36 01 Feb 2013; Hans de Graaff <graaff@g.o> -sqlite3-1.3.3.ebuild:
37 Cleanup.
38
39
40
41 1.1 dev-ruby/sqlite3/sqlite3-1.3.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sqlite3-1.3.7.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.7.ebuild,v 1.1 2013/02/01 06:54:05 graaff Exp $
51
52 EAPI=4
53 USE_RUBY="ruby18 ree18 ruby19"
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
77 all_ruby_prepare() {
78 # We remove the vendor_sqlite3 rake task because it's used to
79 # bundle SQlite3 which we definitely don't want.
80 rm tasks/vendor_sqlite3.rake || die
81
82 sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die
83 }
84
85 each_ruby_configure() {
86 ${RUBY} -Cext/sqlite3 extconf.rb || die
87 }
88
89 each_ruby_compile() {
90 # TODO: not sure what happens with jruby
91
92 emake -Cext/sqlite3
93 mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die
94 }
95
96 each_ruby_install() {
97 each_fakegem_install
98
99 # sqlite3 was called sqlite3-ruby before, so add a spec file that
100 # simply loads sqlite3 to make sure that old projects load correctly
101 # we don't even need to create a file to load this: the `require
102 # sqlite3` was already part of sqlite3-ruby requirements.
103 cat - <<EOF > "${T}/sqlite3-ruby.gemspec"
104 # generated by ebuild
105 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.7.ebuild,v 1.1 2013/02/01 06:54:05 graaff Exp $
106 Gem::Specification.new do |s|
107 s.name = "sqlite3-ruby"
108 s.version = "${RUBY_FAKEGEM_VERSION}"
109 s.summary = "Fake gem to load sqlite3"
110 s.homepage = "${HOMEPAGE}"
111 s.specification_version = 3
112 s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"])
113 end
114 EOF
115 RUBY_FAKEGEM_NAME=sqlite3-ruby \
116 RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \
117 ruby_fakegem_install_gemspec
118 }