From f9c3ef1e410a6227118fcafab33c269f59711bc2 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Fri, 23 Feb 2007 11:08:03 +0000 Subject: [PATCH] Version bump, stop using gem. Package-Manager: portage-2.1.2-r9 --- dev-ruby/sqlite3-ruby/ChangeLog | 9 ++- dev-ruby/sqlite3-ruby/Manifest | 26 +++++++-- .../files/digest-sqlite3-ruby-1.2.1 | 3 + .../sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild | 57 +++++++++++++++++++ 4 files changed, 89 insertions(+), 6 deletions(-) create mode 100644 dev-ruby/sqlite3-ruby/files/digest-sqlite3-ruby-1.2.1 create mode 100644 dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild diff --git a/dev-ruby/sqlite3-ruby/ChangeLog b/dev-ruby/sqlite3-ruby/ChangeLog index c01a666b2ed6..5ae7115e06c6 100644 --- a/dev-ruby/sqlite3-ruby/ChangeLog +++ b/dev-ruby/sqlite3-ruby/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/sqlite3-ruby -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3-ruby/ChangeLog,v 1.11 2006/10/08 20:08:56 drizzt Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3-ruby/ChangeLog,v 1.12 2007/02/23 11:08:03 rbrown Exp $ + +*sqlite3-ruby-1.2.1 (23 Feb 2007) + + 23 Feb 2007; Richard Brown +sqlite3-ruby-1.2.1.ebuild: + Version bump, stop using gem. 08 Oct 2006; Timothy Redaelli sqlite3-ruby-1.1.0.ebuild: diff --git a/dev-ruby/sqlite3-ruby/Manifest b/dev-ruby/sqlite3-ruby/Manifest index d645e10ad58c..d6246e207196 100644 --- a/dev-ruby/sqlite3-ruby/Manifest +++ b/dev-ruby/sqlite3-ruby/Manifest @@ -1,12 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST sqlite3-ruby-1.1.0.gem 39424 RMD160 f4797d9ac0c791cb7e40d0af4e775df90a06c5b2 SHA1 7e803b1183ba276de7288acc2336a82efc2c053e SHA256 7f6c45f53f54f576bd43301219aae663c0ad437d1178a6cdec19f36ebf9a9dae +DIST sqlite3-ruby-1.2.1.tar.bz2 83105 RMD160 de3042471a2e021e299c79c189fb35eb364f0128 SHA1 68d40bc263d36fed256ca74954c6894760d72ebd SHA256 7b1ebbf0597d5d020eae73ca21e358450db47691bab6a18ab8354f22bca36952 EBUILD sqlite3-ruby-1.1.0.ebuild 703 RMD160 308f697ca2567edcb9374c95fde62167e090c93c SHA1 c8292bd3e88590eddab197128faa16dc1cb5599a SHA256 355dda885c67199ba08bf7a10fba75cf5e80a6411173151d5ac84966d9c6305a MD5 dab5185453ccbdd1e2b559d607e361db sqlite3-ruby-1.1.0.ebuild 703 RMD160 308f697ca2567edcb9374c95fde62167e090c93c sqlite3-ruby-1.1.0.ebuild 703 SHA256 355dda885c67199ba08bf7a10fba75cf5e80a6411173151d5ac84966d9c6305a sqlite3-ruby-1.1.0.ebuild 703 -MISC ChangeLog 1460 RMD160 fba3631fbf12713a57dc990a453fe4aba268f44d SHA1 0cb1e05390245fc90cac474a19c1081ccc7fbef7 SHA256 897e58accc04434c5eb21a76193ac72a18800e2572e7d226279ac37f8c41de97 -MD5 ebe549a5264a6b34b716a90cb82ed12d ChangeLog 1460 -RMD160 fba3631fbf12713a57dc990a453fe4aba268f44d ChangeLog 1460 -SHA256 897e58accc04434c5eb21a76193ac72a18800e2572e7d226279ac37f8c41de97 ChangeLog 1460 +EBUILD sqlite3-ruby-1.2.1.ebuild 1443 RMD160 ead2acfb3d41e106b924f5198e52e6f5e6fcdc1b SHA1 4c1b4a1f2fd87ae5b064b1a7facb0ed5b5d3fdb5 SHA256 9acd82024496db6cc1813cbcf80e7591ce431ba618873a5ce06be6b6281f19c3 +MD5 40b277c509cf218712f655c1b09b838a sqlite3-ruby-1.2.1.ebuild 1443 +RMD160 ead2acfb3d41e106b924f5198e52e6f5e6fcdc1b sqlite3-ruby-1.2.1.ebuild 1443 +SHA256 9acd82024496db6cc1813cbcf80e7591ce431ba618873a5ce06be6b6281f19c3 sqlite3-ruby-1.2.1.ebuild 1443 +MISC ChangeLog 1605 RMD160 43c3aff190b512dc59bae14f8c95f22756a538ec SHA1 c57ab8ee39ea9c5cedc475fdb67cf70e6e2fd95c SHA256 e238798097d87a35aee6458a23b6a01e34bbc4a72f761a7181eb6ff207b4a6e5 +MD5 54dc66773f3d22b476df0d0de564d1c0 ChangeLog 1605 +RMD160 43c3aff190b512dc59bae14f8c95f22756a538ec ChangeLog 1605 +SHA256 e238798097d87a35aee6458a23b6a01e34bbc4a72f761a7181eb6ff207b4a6e5 ChangeLog 1605 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157 @@ -14,3 +22,13 @@ SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c metadata MD5 607d16b42e001bf19812566140a91a44 files/digest-sqlite3-ruby-1.1.0 244 RMD160 c2fa7c9303d8ae28c38672ec74e73d89cfb982b2 files/digest-sqlite3-ruby-1.1.0 244 SHA256 5a09a97135512f5c0d5c927af4daf19092b28077e1ee76261a94b36e63477413 files/digest-sqlite3-ruby-1.1.0 244 +MD5 b6a5d386fb5e231644f210a27f782a11 files/digest-sqlite3-ruby-1.2.1 256 +RMD160 b2a84cedd1d04a8da0b356f2f59e13607bcfeb25 files/digest-sqlite3-ruby-1.2.1 256 +SHA256 9f384a48bd30891b58cd2973f8b9750a6e1957374fb516045279cf67e98326dc files/digest-sqlite3-ruby-1.2.1 256 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFF3sr7uVcO4Ng+sIkRAku2AJ0QTsRQ00l32a6sh7izSeLJ96kDjACgyuW1 +FhMTGOHnDPXgEll5xTQi6sk= +=GpVt +-----END PGP SIGNATURE----- diff --git a/dev-ruby/sqlite3-ruby/files/digest-sqlite3-ruby-1.2.1 b/dev-ruby/sqlite3-ruby/files/digest-sqlite3-ruby-1.2.1 new file mode 100644 index 000000000000..0df5c091b82a --- /dev/null +++ b/dev-ruby/sqlite3-ruby/files/digest-sqlite3-ruby-1.2.1 @@ -0,0 +1,3 @@ +MD5 7ec13981e20bab8af024db3c1df4a602 sqlite3-ruby-1.2.1.tar.bz2 83105 +RMD160 de3042471a2e021e299c79c189fb35eb364f0128 sqlite3-ruby-1.2.1.tar.bz2 83105 +SHA256 7b1ebbf0597d5d020eae73ca21e358450db47691bab6a18ab8354f22bca36952 sqlite3-ruby-1.2.1.tar.bz2 83105 diff --git a/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild b/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild new file mode 100644 index 000000000000..9fb75963948e --- /dev/null +++ b/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild,v 1.1 2007/02/23 11:08:03 rbrown Exp $ + +inherit ruby + +DESCRIPTION="An extension library to access a SQLite database from Ruby" +HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" +LICENSE="BSD" + +SRC_URI="http://rubyforge.org/frs/download.php/17096/${P}.tar.bz2" + +KEYWORDS="~x86" +SLOT="0" +IUSE="doc swig" + +USE_RUBY="ruby18 ruby19" +DEPEND="=dev-db/sqlite-3* + swig? ( dev-lang/swig )" + +pkg_setup() { + if use swig && ! built_with_use dev-lang/swig ruby ; then + eerror "You must compile swig with ruby bindings. Please add" + eerror "'ruby' to your USE flags and recompile swig" + die "swig needs ruby bindings" + elif ! use swig ; then + einfo "${PN} will work a lot better with swig; it is suggested" + einfo "that you install swig with the 'ruby' USE flag, and then" + einfo "install ${PN} with the swig USE flag" + ebeep + epause 5 + fi +} + +src_compile() { + myconf="" + if ! use swig ; then + myconf="--without-ext" + fi + + ${RUBY} setup.rb config --prefix=/usr ${myconf} \ + || die "setup.rb config failed" + ${RUBY} setup.rb setup \ + || die "setup.rb setup failed" +} + +src_install() { + ${RUBY} setup.rb install --prefix=${D} \ + || die "setup.rb install failed" + + dodoc README ChangeLog + dohtml doc/faq/faq.html + + if use doc ; then + dohtml -r -V api + fi +} -- 2.26.2