summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-04-20 18:53:21 +0000
committerHans de Graaff <graaff@gentoo.org>2014-04-20 18:53:21 +0000
commitd40636b501cd2640c35276c24d81a5bf1764205b (patch)
treed190c4a5b18af203b5b36b934a7da73180f65f77 /dev-ruby/sqlite3
parentAdd ruby20, ruby21. (diff)
downloadhistorical-d40636b501cd2640c35276c24d81a5bf1764205b.tar.gz
historical-d40636b501cd2640c35276c24d81a5bf1764205b.tar.bz2
historical-d40636b501cd2640c35276c24d81a5bf1764205b.zip
Add ruby21. Use rdoc directly instead of via hoe to fix bug 505150.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/sqlite3')
-rw-r--r--dev-ruby/sqlite3/ChangeLog7
-rw-r--r--dev-ruby/sqlite3/Manifest13
-rw-r--r--dev-ruby/sqlite3/sqlite3-1.3.9-r1.ebuild82
3 files changed, 100 insertions, 2 deletions
diff --git a/dev-ruby/sqlite3/ChangeLog b/dev-ruby/sqlite3/ChangeLog
index 6a4fdda8e883..28ca9f340a29 100644
--- a/dev-ruby/sqlite3/ChangeLog
+++ b/dev-ruby/sqlite3/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/sqlite3
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/ChangeLog,v 1.18 2014/04/05 14:36:48 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/ChangeLog,v 1.19 2014/04/20 18:53:20 graaff Exp $
+
+*sqlite3-1.3.9-r1 (20 Apr 2014)
+
+ 20 Apr 2014; Hans de Graaff <graaff@gentoo.org> +sqlite3-1.3.9-r1.ebuild:
+ Add ruby21. Use rdoc directly instead of via hoe to fix bug 505150.
05 Apr 2014; Manuel Rüger <mrueg@gentoo.org> sqlite3-1.3.6.ebuild,
sqlite3-1.3.8-r1.ebuild, sqlite3-1.3.9.ebuild:
diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest
index a35f68e96d2d..3d77e17a7ef8 100644
--- a/dev-ruby/sqlite3/Manifest
+++ b/dev-ruby/sqlite3/Manifest
@@ -1,8 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST sqlite3-1.3.6.gem 57344 SHA256 b0063859dd46819dd228f9629adfbc16649dfeef35b90eba9757537c0be1ecdb SHA512 952bbea9863a3fd65b217fed62f37356e76fbb40fb9b2599876113e069611d65c9d1bac891580700a0d0e809411881f50774d18fdbe0ad1202ac792c366b7030 WHIRLPOOL a020b7bba1bdcb27864767bd2b8e9db023706d0f52b356f63acf78a01b81be4c5d83e10d5cfa0c11ad2525bda1cb1457186cf572bee2a065d21e98e4b3a3fb48
DIST sqlite3-1.3.8.gem 58880 SHA256 6a97b019e177d33472bac1aab199d9ae8c24f18eb63461cadc3223607a82287a SHA512 376e5e0f40697a5cf3d3140aee041f41114bdbadb55425eaa0e5c663e17ff6872f466cc08abfbede319d5e377fd47f73aaf1aa9134cf609fbdbea39480bbe56f WHIRLPOOL 615c0005918898fca7dabe3a234fe3a615e7144c557a9cd7e5517a01adfced98d80fff6f4a19c13511624c57cb6b349a10f420e1e641afbe077570bcd0c1e886
DIST sqlite3-1.3.9.gem 60928 SHA256 9984744afb5f44ca4a82aec66e257ff60783920afd48f06606d1fb4a9d51a61e SHA512 5c20ca40fc17ab7a0655f96a7d017164fc68a5e8b4d7a6e226cbd0ce6a850e46815379f97056f2a8c4c6c7b8c67f4fa14a985cdf13239f845f74f948a8c87834 WHIRLPOOL f89c5cf35e769d6baf225b933aa59e959c61d7dc77f7fdc4bbeb49a8ac7943d6f85bc785e8d86ea454207a98ebc1acfadf6c9c96563715035176c3fe0fe8a5d2
EBUILD sqlite3-1.3.6.ebuild 2250 SHA256 6f727319386e8c567e7ee222d5938ccc8253cfde13914049a2a2003511e751ea SHA512 890f10e5cb375dac7c4fef8f5b6af17ff0c87eb8c7cc905cde9a1460d7c3dfd64ca98dff5548cc8381c6c7133544d291ba8f77aea7e00f0fa23ce17d918a70f0 WHIRLPOOL 0ac5c744914295b98295882473cc4fa93dcd8ad23f5f0930e879bd032a6630ba5acb61d0d4874724cfad12f2c38a12fd52d22da612497ec67d3b955b0db99f9f
EBUILD sqlite3-1.3.8-r1.ebuild 2424 SHA256 55d0e4507be9e38a07455148f7e35a1fc2aa5f46f17e7cd7df42a2e4b1d5e5d4 SHA512 9ecf8d2a4f37942a1cf8d9ef3c5d5ca9e59c8851fe20e07909c408081eb494f0b595ab6ce235b9ab24852086f1e483676f7002225c1a26b9e573be08148336d8 WHIRLPOOL b84717d01785b2ea73b2b21ded0c80e9b89efc0604d2f076f5bbb193b3b9cc0b4f1d8dde1ae6efb51df2f06ac4b42735f96d8b148cbd41cdfd2bcd60783503de
+EBUILD sqlite3-1.3.9-r1.ebuild 2556 SHA256 1dd75806226fbd42e969e66ee9d5c2ae6536f97737ced96099252b0464660a32 SHA512 0c7464dc2a6769dccdb03b1d4abd8c20b6575b2c001d65879ccc311d08390853e11677c8f80d0375a7b942b713924d784d2603534fbf8d161763b41554343760 WHIRLPOOL cc9b1dfde9006729018591607fc8f75eee6883bac11a73ed678a5635f0c69b7c53f578ddf89274c2efb249e1b463f6a7204e89bfed7075f378a7105afa56ffed
EBUILD sqlite3-1.3.9.ebuild 2418 SHA256 ae4dffcaa35a9901ff342d5da4dbe9be9b2efaaf1a2b611b05f5372b6adae268 SHA512 7a6373d553c7e31d5c028873f5b7fd8890f52a7b27759ff62d0ba536406cb1784679701a8d7b9acc30e1200a001c918fed2bb7a1d2f0aa35c3b63a3be005e976 WHIRLPOOL eafe8ec6bed0cb36042710ac24e635ddc3e4323f2302b9b755d8128ded29318d10f4fcb87009ad083e4b8e4c00833316e93a41e1d83d35ec01edf682676733a8
-MISC ChangeLog 11057 SHA256 aeb4babb0066decc11761cc94628ec1936fc530e137089e9d4f44c21c80c56ca SHA512 e89a3212898918ae35b4bf3aaed28aa2d68bfb6ab0f4080bd74fc10adb5b4fc3c0078452976aee7a52801d481a6f72559eb61ddd952f57708b9b428e2aa2c8b0 WHIRLPOOL c145f3208a8e4db75646a82123b2ed53536071fff5a97e10f25b46662c26e886c949fbd33c35c5725081f8a789d0e316aa2358a473f10edf99451d97a905aef4
+MISC ChangeLog 11238 SHA256 d3576b3a0786899a91ee50a259b5907d2580ed67603a173d137b56982dcb3646 SHA512 eddfe269ca33e582dd34dc701fbc1762a5462b49f3cb02e2d5612fbbc3b96d6510270bdd282c0c01a25b4a4b145793e232337f6a78b60b8b8fcbec2f1a802adf WHIRLPOOL 0b56c767a4d58ed2bb1935e9cd1cb5b0c486af9d6e82786adc012e636e128b64ab84717bc18b860919868424b8dace0b9f9e0e0eed964379dbdf71bb6c30274c
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iF4EAREIAAYFAlNUF6EACgkQiIP6VqMIqNcczAD/UZ2TQk+S1pDVPsZ/QCwNJudI
+7s37h7XOW9yOfOplsPEA/3FnGdWmQLdGaZefxaDGG8Tge/a+JfCAylXC/424S5E4
+=umgZ
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/sqlite3/sqlite3-1.3.9-r1.ebuild b/dev-ruby/sqlite3/sqlite3-1.3.9-r1.ebuild
new file mode 100644
index 000000000000..9d7b35ec56f4
--- /dev/null
+++ b/dev-ruby/sqlite3/sqlite3-1.3.9-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.9-r1.ebuild,v 1.1 2014/04/20 18:53:20 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC="faq"
+RUBY_FAKEGEM_DOCDIR="doc faq"
+RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc"
+
+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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE=""
+
+RDEPEND+=" =dev-db/sqlite-3*"
+DEPEND+=" =dev-db/sqlite-3*"
+
+ruby_add_bdepend "
+ dev-ruby/rake-compiler
+ dev-ruby/hoe
+ doc? ( dev-ruby/redcloth )
+ test? ( dev-ruby/minitest:5 )"
+
+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
+
+ # Remove license line from hoe to avoid depending on a newer
+ # version.
+ sed -i -e '/license/d' tasks/gem.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
+}
+
+all_ruby_compile() {
+ all_fakegem_compile
+
+ rdoc --title "${P} Dcoumentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die
+}
+
+each_ruby_compile() {
+ # TODO: not sure what happens with jruby
+
+ emake -Cext/sqlite3 V=1
+ mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die
+}
+
+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
+ # we don't even need to create a file to load this: the `require
+ # sqlite3` was already part of sqlite3-ruby requirements.
+ cat - <<EOF > "${T}/sqlite3-ruby.gemspec"
+# generated by ebuild
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3/sqlite3-1.3.9-r1.ebuild,v 1.1 2014/04/20 18:53:20 graaff 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
+}