diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-08-16 03:46:36 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-08-16 03:46:36 +0000 |
commit | 4b09ec50e6dcd6521c0f649718615dce8648d485 (patch) | |
tree | 76ba19045731a9897b7ccba6b5a6d5d50703b1f0 /dev-ruby/sqlite3 | |
parent | vanilla-2.6.32.59 + genpatches-2.6.32-48 + grsecurity-2.9.1-2.6.32.59-2012081... (diff) | |
download | historical-4b09ec50e6dcd6521c0f649718615dce8648d485.tar.gz historical-4b09ec50e6dcd6521c0f649718615dce8648d485.tar.bz2 historical-4b09ec50e6dcd6521c0f649718615dce8648d485.zip |
Move to new location.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
RepoMan-Options: --force
Diffstat (limited to 'dev-ruby/sqlite3')
-rw-r--r-- | dev-ruby/sqlite3/ChangeLog | 261 | ||||
-rw-r--r-- | dev-ruby/sqlite3/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-1.3.2.ebuild | 64 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-1.3.3.ebuild | 64 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-1.3.4-r1.ebuild | 85 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-1.3.4.ebuild | 64 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-1.3.5.ebuild | 85 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-1.3.6.ebuild | 85 |
8 files changed, 713 insertions, 0 deletions
diff --git a/dev-ruby/sqlite3/ChangeLog b/dev-ruby/sqlite3/ChangeLog new file mode 100644 index 000000000000..23ab748e0062 --- /dev/null +++ b/dev-ruby/sqlite3/ChangeLog @@ -0,0 +1,261 @@ +# ChangeLog for dev-ruby/sqlite3-ruby +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/ChangeLog,v 1.1 2012/08/16 03:46:36 flameeyes Exp $ + + 14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> metadata.xml: + Update metadata.xml so that it's the same as most other packages. + +*sqlite3-ruby-1.3.6 (21 Apr 2012) + + 21 Apr 2012; Hans de Graaff <graaff@gentoo.org> +sqlite3-ruby-1.3.6.ebuild: + Version bump. + + 19 Apr 2012; Brent Baude <ranger@gentoo.org> sqlite3-ruby-1.3.3.ebuild: + Marking sqlite3-ruby-1.3.3 ppc64 for bug 397979 + + 11 Apr 2012; Jeroen Roovers <jer@gentoo.org> sqlite3-ruby-1.3.3.ebuild: + Stable for HPPA (bug #397979). + +*sqlite3-ruby-1.3.5 (04 Apr 2012) + + 04 Apr 2012; Hans de Graaff <graaff@gentoo.org> +sqlite3-ruby-1.3.5.ebuild: + Version bump. + + 06 Feb 2012; Brent Baude <ranger@gentoo.org> sqlite3-ruby-1.3.3.ebuild: + Marking sqlite3-ruby-1.3.3 ppc for bug 397979 + +*sqlite3-ruby-1.3.4-r1 (16 Jan 2012) + + 16 Jan 2012; Diego E. Pettenò <flameeyes@gentoo.org> + +sqlite3-ruby-1.3.4-r1.ebuild: + Create alias specification for old name (sqlite3-ruby). + + 15 Jan 2012; Raúl Porcel <armin76@gentoo.org> sqlite3-ruby-1.3.3.ebuild: + ia64/sparc/x86 stable wrt #397979 + + 07 Jan 2012; Agostino Sarubbo <ago@gentoo.org> sqlite3-ruby-1.3.3.ebuild: + Stable for AMD64, wrt bug #397979 + + 07 Jan 2012; Hans de Graaff <graaff@gentoo.org> sqlite3-ruby-1.3.3.ebuild: + Drop ruby19 to create a stable candidate. + + 07 Jan 2012; Hans de Graaff <graaff@gentoo.org> metadata.xml: + Drop unused swig USE flag. + + 31 Dec 2011; Fabian Groffen <grobian@gentoo.org> sqlite3-ruby-1.3.4.ebuild: + Add Prefix keywords, bug #396547 + + 26 Dec 2011; Hans de Graaff <graaff@gentoo.org> -sqlite3-ruby-1.2.4.ebuild: + Remove old version. + +*sqlite3-ruby-1.3.4 (05 Dec 2011) + + 05 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> + +sqlite3-ruby-1.3.4.ebuild: + Version bump. + + 03 Oct 2011; Jeroen Roovers <jer@gentoo.org> sqlite3-ruby-1.3.2.ebuild: + Stable for HPPA (bug #385149). + + 19 Sep 2011; Hans de Graaff <graaff@gentoo.org> sqlite3-ruby-1.3.3.ebuild: + Add ruby19 based on testing by Shunsuke Shimizu in bug 358809. + + 22 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> + sqlite3-ruby-1.3.2.ebuild: + ppc64 stable wrt #358347 + + 23 Apr 2011; Raúl Porcel <armin76@gentoo.org> sqlite3-ruby-1.3.2.ebuild: + ia64/sparc stable wrt #358347 + + 13 Apr 2011; Markus Meier <maekke@gentoo.org> sqlite3-ruby-1.3.2.ebuild: + x86 stable, bug #358347 + + 01 Apr 2011; Michael Weber <xmw@gentoo.org> sqlite3-ruby-1.3.2.ebuild: + ppc stable (bug 302981) + + 13 Mar 2011; Markos Chandras <hwoarang@gentoo.org> sqlite3-ruby-1.3.2.ebuild: + Stable on amd64 wrt bug #358347 + + 22 Jan 2011; Hans de Graaff <graaff@gentoo.org> + -sqlite3-ruby-1.3.1.ebuild: + Remove old version. + +*sqlite3-ruby-1.3.3 (17 Jan 2011) + + 17 Jan 2011; Hans de Graaff <graaff@gentoo.org> + +sqlite3-ruby-1.3.3.ebuild: + Version bump. Gem has been renamed to plain sqlite3. + + 31 Oct 2010; Hans de Graaff <graaff@gentoo.org> + -sqlite3-ruby-1.2.5.ebuild: + Remove old version. + +*sqlite3-ruby-1.3.2 (31 Oct 2010) + + 31 Oct 2010; Hans de Graaff <graaff@gentoo.org> + +sqlite3-ruby-1.3.2.ebuild: + Version bump. + + 25 Oct 2010; Jeroen Roovers <jer@gentoo.org> sqlite3-ruby-1.3.1.ebuild: + Marked ~hppa (bug #322175). + + 29 Sep 2010; Brent Baude <ranger@gentoo.org> sqlite3-ruby-1.3.1.ebuild: + Marking sqlite3-ruby-1.3.1 ~ppc64 for bug 321283 + + 28 Sep 2010; Brent Baude <ranger@gentoo.org> sqlite3-ruby-1.3.1.ebuild: + Marking sqlite3-ruby-1.3.1 ~ppc for bug 321283 + +*sqlite3-ruby-1.3.1 (11 Jul 2010) + + 11 Jul 2010; Hans de Graaff <graaff@gentoo.org> + +sqlite3-ruby-1.3.1.ebuild: + Version bump. Switch from swig-provided code to handcrafted code. + + 23 May 2010; Alex Legler <a3li@gentoo.org> sqlite3-ruby-1.2.5.ebuild: + Add REE18 support + + 22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org> + sqlite3-ruby-1.2.4.ebuild, sqlite3-ruby-1.2.5.ebuild: + Various cleanups. + + 13 Feb 2010; Raúl Porcel <armin76@gentoo.org> sqlite3-ruby-1.2.5.ebuild: + Add ~ia64/~sparc + + 16 Jan 2010; Christian Faulhammer <fauli@gentoo.org> + sqlite3-ruby-1.2.5.ebuild: + Transfer Prefix keywords + + 05 Jan 2010; Markus Meier <maekke@gentoo.org> sqlite3-ruby-1.2.5.ebuild: + add ~x86, bug #297832 + + 03 Jan 2010; Hans de Graaff <graaff@gentoo.org> sqlite3-ruby-1.2.5.ebuild: + There is no api directory. Fixes #298468. + + 26 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> + sqlite3-ruby-1.2.5.ebuild: + Add missing dependency over redcloth when building documentation (bug + #298468 by keytoaster). + +*sqlite3-ruby-1.2.5 (21 Dec 2009) + + 21 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +sqlite3-ruby-1.2.5.ebuild: + Bump and port to fakegem. + + 27 Apr 2009; Petteri Räty <betelgeuse@gentoo.org> sqlite3-ruby-1.2.4: + EAPI 1 to turn on swig by default. + + 22 Feb 2009; Hans de Graaff <graaff@gentoo.org> + -sqlite3-ruby-1.1.0.ebuild, -sqlite3-ruby-1.2.1.ebuild, + sqlite3-ruby-1.2.4.ebuild: + Change wording now that the ruby USE flag on swig is no longer used. + Remove old versions. + + 20 Feb 2009; Diego E. Pettenò <flameeyes@gentoo.org> + sqlite3-ruby-1.2.1.ebuild, sqlite3-ruby-1.2.4.ebuild: + Remove checks for swig USE flags since the last version does not have them + and they were unneeded before, too. Closes bug #249565. + + 05 Dec 2008; Raúl Porcel <armin76@gentoo.org> sqlite3-ruby-1.2.4.ebuild: + ia64 stable wrt #245574 + + 01 Dec 2008; Brent Baude <ranger@gentoo.org> sqlite3-ruby-1.2.4.ebuild: + stable ppc64, bug 245574 + + 30 Nov 2008; Tobias Scherbaum <dertobi123@gentoo.org> + sqlite3-ruby-1.2.4.ebuild: + ppc stable, bug #245574 + + 30 Nov 2008; Markus Meier <maekke@gentoo.org> sqlite3-ruby-1.2.4.ebuild: + amd64/x86 stable, bug #245574 + + 04 Nov 2008; Ferris McCormick <fmccor@gentoo.org> + sqlite3-ruby-1.2.4.ebuild: + Sparc stable, Bug #245574. + +*sqlite3-ruby-1.2.4 (23 Sep 2008) + + 23 Sep 2008; Hans de Graaff <graaff@gentoo.org> + +sqlite3-ruby-1.2.4.ebuild: + Version bump, moved from ruby overlay. Thanks for Alex Legler for preparing + and testing it. + + 06 Aug 2008; Hans de Graaff <graaff@gentoo.org> metadata.xml: + Add USE flag description to metadata wrt GLEP 56. + + 12 May 2008; Markus Rothe <corsair@gentoo.org> sqlite3-ruby-1.2.1.ebuild: + Stable on ppc64; bug #221309 + + 12 May 2008; Hans de Graaff <graaff@gentoo.org> sqlite3-ruby-1.2.1.ebuild: + swig is not a runtime dependency; fixes #221479 + + 24 May 2007; Diego Pettenò <flameeyes@gentoo.org> + sqlite3-ruby-1.2.1.ebuild: + Add ~x86-fbsd keyword, as per bug #168110. + + 19 May 2007; Markus Rothe <corsair@gentoo.org> sqlite3-ruby-1.2.1.ebuild: + Added ~ppc64; bug #176308 + + 27 Apr 2007; Matti Bickel <mabi@gentoo.org> sqlite3-ruby-1.2.1.ebuild: + ~ppc keyword readded (bug #168110) + + 08 Apr 2007; Peter Weller <welp@gentoo.org> sqlite3-ruby-1.2.1.ebuild: + Keyworded ~amd64 wrt bug 168110 + + 27 Mar 2007; Raúl Porcel <armin76@gentoo.org> sqlite3-ruby-1.2.1.ebuild: + Add ~ia64 wrt bug 168110 + + 04 Mar 2007; Marius Mauch <genone@gentoo.org> sqlite3-ruby-1.2.1.ebuild: + Replacing einfo with elog + + 23 Feb 2007; Ferris McCormick <fmccor@gentoo.org> + sqlite3-ruby-1.2.1.ebuild: + Add ~sparc keyword --- Bug #168110 --- and installs with USE='doc swig'; + testing seems good for tests that can be run (some require 'flexmock' which + does not exist). + +*sqlite3-ruby-1.2.1 (23 Feb 2007) + + 23 Feb 2007; Richard Brown <rbrown@gentoo.org> +sqlite3-ruby-1.2.1.ebuild: + Version bump, stop using gem. + + 08 Oct 2006; Timothy Redaelli <drizzt@gentoo.org> + sqlite3-ruby-1.1.0.ebuild: + Added ~x86-fbsd keyword. + + 13 Jul 2006; Aron Griffis <agriffis@gentoo.org> sqlite3-ruby-1.1.0.ebuild: + Mark 1.1.0 stable on ia64. #138323 + + 08 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org> + sqlite3-ruby-1.1.0.ebuild: + ppc stable + + 06 Jun 2006; Simon Stelling <blubb@gentoo.org> sqlite3-ruby-1.1.0.ebuild: + stable on amd64 + + 11 May 2006; Ferris McCormick <fmccor@gentoo.org> + sqlite3-ruby-1.1.0.ebuild: + Stable on sparc (Bug #133003). (Required dependency). + + 08 May 2006; Seemant Kulleen <seemant@gentoo.org> + sqlite3-ruby-1.1.0.ebuild: + Keyworded for ~amd64 + + 07 Apr 2006; Tobias Scherbaum <dertobi123@gentoo.org> + sqlite3-ruby-1.1.0.ebuild: + Added to ~ppc, bug #126540 + + 30 Mar 2006; Aron Griffis <agriffis@gentoo.org> sqlite3-ruby-1.1.0.ebuild: + Mark 1.1.0 ~ia64 + + 20 Mar 2006; Ferris McCormick <fmccor@gentoo.org> + sqlite3-ruby-1.1.0.ebuild: + Add ~sparc keyword for testing. Builds and installs without problems. + + 24 Jan 2006; Caleb Tennis <caleb@gentoo.org> sqlite3-ruby-1.1.0.ebuild: + x86 stable + +*sqlite3-ruby-1.1.0 (02 Jan 2006) + + 02 Jan 2006; Caleb Tennis <caleb@gentoo.org> +sqlite3-ruby-1.1.0.ebuild: + initial commit diff --git a/dev-ruby/sqlite3/metadata.xml b/dev-ruby/sqlite3/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/sqlite3/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/sqlite3/sqlite3-1.3.2.ebuild b/dev-ruby/sqlite3/sqlite3-1.3.2.ebuild new file mode 100644 index 000000000000..d8b7d1e658da --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.3.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.2.ebuild,v 1.1 2012/08/16 03:46:36 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_DOCDIR="doc faq" +RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc" + +RUBY_FAKEGEM_NAME="sqlite3-ruby" + +inherit multilib ruby-fakegem + +DESCRIPTION="An extension library to access a SQLite database from Ruby" +HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" +LICENSE="BSD" + +KEYWORDS="amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + =dev-db/sqlite-3*" +DEPEND="${DEPEND} + =dev-db/sqlite-3*" + +ruby_add_bdepend " + dev-ruby/rake-compiler + dev-ruby/hoe + test? ( virtual/ruby-test-unit ) + doc? ( dev-ruby/redcloth )" + +all_ruby_prepare() { + # We remove the vendor_sqlite3 rake task because it's used to + # bundle SQlite3 which we definitely don't want. + rm tasks/vendor_sqlite3.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die +} + +each_ruby_configure() { + ${RUBY} -Cext/sqlite3 extconf.rb || die +} + +each_ruby_compile() { + # TODO: not sure what happens with jruby + + emake -Cext/sqlite3 || die + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rake faq || die "rake faq failed" + fi +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/sqlite3/sqlite3-1.3.3.ebuild b/dev-ruby/sqlite3/sqlite3-1.3.3.ebuild new file mode 100644 index 000000000000..df0108dc6975 --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.3.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.3.ebuild,v 1.1 2012/08/16 03:46:35 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_DOCDIR="doc faq" +RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc" + +RUBY_FAKEGEM_NAME="sqlite3" + +inherit multilib ruby-fakegem + +DESCRIPTION="An extension library to access a SQLite database from Ruby" +HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" +LICENSE="BSD" + +KEYWORDS="amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + =dev-db/sqlite-3*" +DEPEND="${DEPEND} + =dev-db/sqlite-3*" + +ruby_add_bdepend " + dev-ruby/rake-compiler + dev-ruby/hoe + test? ( virtual/ruby-test-unit ) + doc? ( dev-ruby/redcloth )" + +all_ruby_prepare() { + # We remove the vendor_sqlite3 rake task because it's used to + # bundle SQlite3 which we definitely don't want. + rm tasks/vendor_sqlite3.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die +} + +each_ruby_configure() { + ${RUBY} -Cext/sqlite3 extconf.rb || die +} + +each_ruby_compile() { + # TODO: not sure what happens with jruby + + emake -Cext/sqlite3 || die + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rake faq || die "rake faq failed" + fi +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/sqlite3/sqlite3-1.3.4-r1.ebuild b/dev-ruby/sqlite3/sqlite3-1.3.4-r1.ebuild new file mode 100644 index 000000000000..61377578804f --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.3.4-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.4-r1.ebuild,v 1.1 2012/08/16 03:46:35 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_DOCDIR="doc faq" +RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc" + +RUBY_FAKEGEM_NAME="sqlite3" + +inherit multilib ruby-fakegem + +DESCRIPTION="An extension library to access a SQLite database from Ruby" +HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" +LICENSE="BSD" + +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + =dev-db/sqlite-3*" +DEPEND="${DEPEND} + =dev-db/sqlite-3*" + +ruby_add_bdepend " + dev-ruby/rake-compiler + dev-ruby/hoe + test? ( virtual/ruby-test-unit ) + doc? ( dev-ruby/redcloth )" + +all_ruby_prepare() { + # We remove the vendor_sqlite3 rake task because it's used to + # bundle SQlite3 which we definitely don't want. + rm tasks/vendor_sqlite3.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die +} + +each_ruby_configure() { + ${RUBY} -Cext/sqlite3 extconf.rb || die +} + +each_ruby_compile() { + # TODO: not sure what happens with jruby + + emake -Cext/sqlite3 || die + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rake faq || die "rake faq failed" + fi +} + +each_ruby_install() { + each_fakegem_install + + # sqlite3 was called sqlite3-ruby before, so add a spec file that + # simply loads sqlite3 to make sure that old projects load correctly + cat - <<EOF > "${T}/sqlite3-ruby.gemspec" +# generated by ebuild +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.4-r1.ebuild,v 1.1 2012/08/16 03:46:35 flameeyes Exp $ +Gem::Specification.new do |s| + s.name = "sqlite3-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load sqlite3" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) +end +EOF + RUBY_FAKEGEM_NAME=sqlite3-ruby \ + RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \ + ruby_fakegem_install_gemspec + + # we don't even need to create a file to load this: the `require + # sqlite3` was already part of sqlite3-ruby requirements. +} diff --git a/dev-ruby/sqlite3/sqlite3-1.3.4.ebuild b/dev-ruby/sqlite3/sqlite3-1.3.4.ebuild new file mode 100644 index 000000000000..6d087e96c74b --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.3.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.4.ebuild,v 1.1 2012/08/16 03:46:35 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_DOCDIR="doc faq" +RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc" + +RUBY_FAKEGEM_NAME="sqlite3" + +inherit multilib ruby-fakegem + +DESCRIPTION="An extension library to access a SQLite database from Ruby" +HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" +LICENSE="BSD" + +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + =dev-db/sqlite-3*" +DEPEND="${DEPEND} + =dev-db/sqlite-3*" + +ruby_add_bdepend " + dev-ruby/rake-compiler + dev-ruby/hoe + test? ( virtual/ruby-test-unit ) + doc? ( dev-ruby/redcloth )" + +all_ruby_prepare() { + # We remove the vendor_sqlite3 rake task because it's used to + # bundle SQlite3 which we definitely don't want. + rm tasks/vendor_sqlite3.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die +} + +each_ruby_configure() { + ${RUBY} -Cext/sqlite3 extconf.rb || die +} + +each_ruby_compile() { + # TODO: not sure what happens with jruby + + emake -Cext/sqlite3 || die + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rake faq || die "rake faq failed" + fi +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/sqlite3/sqlite3-1.3.5.ebuild b/dev-ruby/sqlite3/sqlite3-1.3.5.ebuild new file mode 100644 index 000000000000..535451c97e73 --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.3.5.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.5.ebuild,v 1.1 2012/08/16 03:46:35 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_DOCDIR="doc faq" +RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc" + +RUBY_FAKEGEM_NAME="sqlite3" + +inherit multilib ruby-fakegem + +DESCRIPTION="An extension library to access a SQLite database from Ruby" +HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" +LICENSE="BSD" + +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + =dev-db/sqlite-3*" +DEPEND="${DEPEND} + =dev-db/sqlite-3*" + +ruby_add_bdepend " + dev-ruby/rake-compiler + dev-ruby/hoe + test? ( virtual/ruby-test-unit ) + doc? ( dev-ruby/redcloth )" + +all_ruby_prepare() { + # We remove the vendor_sqlite3 rake task because it's used to + # bundle SQlite3 which we definitely don't want. + rm tasks/vendor_sqlite3.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die +} + +each_ruby_configure() { + ${RUBY} -Cext/sqlite3 extconf.rb || die +} + +each_ruby_compile() { + # TODO: not sure what happens with jruby + + emake -Cext/sqlite3 || die + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rake faq || die "rake faq failed" + fi +} + +each_ruby_install() { + each_fakegem_install + + # sqlite3 was called sqlite3-ruby before, so add a spec file that + # simply loads sqlite3 to make sure that old projects load correctly + cat - <<EOF > "${T}/sqlite3-ruby.gemspec" +# generated by ebuild +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.5.ebuild,v 1.1 2012/08/16 03:46:35 flameeyes Exp $ +Gem::Specification.new do |s| + s.name = "sqlite3-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load sqlite3" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) +end +EOF + RUBY_FAKEGEM_NAME=sqlite3-ruby \ + RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \ + ruby_fakegem_install_gemspec + + # we don't even need to create a file to load this: the `require + # sqlite3` was already part of sqlite3-ruby requirements. +} diff --git a/dev-ruby/sqlite3/sqlite3-1.3.6.ebuild b/dev-ruby/sqlite3/sqlite3-1.3.6.ebuild new file mode 100644 index 000000000000..d4dd449421fe --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.3.6.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.6.ebuild,v 1.1 2012/08/16 03:46:35 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_DOCDIR="doc faq" +RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc" + +RUBY_FAKEGEM_NAME="sqlite3" + +inherit multilib ruby-fakegem + +DESCRIPTION="An extension library to access a SQLite database from Ruby" +HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" +LICENSE="BSD" + +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + =dev-db/sqlite-3*" +DEPEND="${DEPEND} + =dev-db/sqlite-3*" + +ruby_add_bdepend " + dev-ruby/rake-compiler + dev-ruby/hoe + test? ( virtual/ruby-test-unit ) + doc? ( dev-ruby/redcloth )" + +all_ruby_prepare() { + # We remove the vendor_sqlite3 rake task because it's used to + # bundle SQlite3 which we definitely don't want. + rm tasks/vendor_sqlite3.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die +} + +each_ruby_configure() { + ${RUBY} -Cext/sqlite3 extconf.rb || die +} + +each_ruby_compile() { + # TODO: not sure what happens with jruby + + emake -Cext/sqlite3 || die + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rake faq || die "rake faq failed" + fi +} + +each_ruby_install() { + each_fakegem_install + + # sqlite3 was called sqlite3-ruby before, so add a spec file that + # simply loads sqlite3 to make sure that old projects load correctly + cat - <<EOF > "${T}/sqlite3-ruby.gemspec" +# generated by ebuild +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.6.ebuild,v 1.1 2012/08/16 03:46:35 flameeyes Exp $ +Gem::Specification.new do |s| + s.name = "sqlite3-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load sqlite3" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) +end +EOF + RUBY_FAKEGEM_NAME=sqlite3-ruby \ + RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \ + ruby_fakegem_install_gemspec + + # we don't even need to create a file to load this: the `require + # sqlite3` was already part of sqlite3-ruby requirements. +} |