summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-02 00:09:23 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-02 00:09:23 +0000
commit64055ac3d114023ad21f686852eaf2f515be65e7 (patch)
treeb444589e018b95917fca16a2d921fe6c3285cf46 /dev-ruby/activerecord
parentAdd PDEPEND on app-shells/bash-completion, bug 299051. (diff)
downloadhistorical-64055ac3d114023ad21f686852eaf2f515be65e7.tar.gz
historical-64055ac3d114023ad21f686852eaf2f515be65e7.tar.bz2
historical-64055ac3d114023ad21f686852eaf2f515be65e7.zip
Bump to fakegem, replace ruby-postgres dependency with pg instead, drop sqlite USE flag (just for now, maybe). Tests are only executed with sqlite3 USE flag enabled.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/activerecord')
-rw-r--r--dev-ruby/activerecord/ChangeLog12
-rw-r--r--dev-ruby/activerecord/Manifest13
-rw-r--r--dev-ruby/activerecord/activerecord-2.3.5-r1.ebuild44
3 files changed, 56 insertions, 13 deletions
diff --git a/dev-ruby/activerecord/ChangeLog b/dev-ruby/activerecord/ChangeLog
index 6504d24389df..502d2b8ecfd9 100644
--- a/dev-ruby/activerecord/ChangeLog
+++ b/dev-ruby/activerecord/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-ruby/activerecord
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.125 2009/12/20 09:09:53 a3li Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.126 2010/01/02 00:09:23 flameeyes Exp $
+
+*activerecord-2.3.5-r1 (02 Jan 2010)
+
+ 02 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +activerecord-2.3.5-r1.ebuild:
+ Bump to fakegem, replace ruby-postgres dependency with pg instead, drop
+ sqlite USE flag (just for now, maybe). Tests are only executed with
+ sqlite3 USE flag enabled.
20 Dec 2009; Alex Legler <a3li@gentoo.org> -activerecord-2.3.4.ebuild:
Removing vulnerable version
diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
index 6da9632796bd..c0c42bf62d1b 100644
--- a/dev-ruby/activerecord/Manifest
+++ b/dev-ruby/activerecord/Manifest
@@ -1,16 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST activerecord-2.2.3.gem 502784 RMD160 0932353f44e970e16909485de1e45ea196838aa0 SHA1 3c9b3d013775c7367247e5ecd120b1eb211520dd SHA256 49061503098a1abaa50de2498875361b4052354c7900d563d1f89a030d33fd10
DIST activerecord-2.3.5.gem 546304 RMD160 be3bee034c5d56128a7a6c10470b92fdb167e569 SHA1 f411a1ad8aeef78a464b00663eecdc22e0e4266c SHA256 0b03d539c75ba735c507b3d8269d07f70ffc46ad86fdbfe6a2bfef82deb728db
EBUILD activerecord-2.2.3.ebuild 752 RMD160 805222255f40e1b3521743d320b8a5ce4ff131a3 SHA1 bd6c700159afdb29cb13e8caaed4a4bd5ad57d4a SHA256 3bf99459836dae1dd3abe47326dc896f3ddc12559ea6676cf49b04973470446a
+EBUILD activerecord-2.3.5-r1.ebuild 1278 RMD160 2db8e928eba1b45124a65d5dd65e112d98309a1c SHA1 57ba139e8dda4402f6b6412da23aaf2082c3b658 SHA256 82cb938c6f13c834f39573bc909c2e09e145490b08a18bca7a29475dfefa9e5b
EBUILD activerecord-2.3.5.ebuild 760 RMD160 c8cbf4390b032d662dedb775ee06c057983b519d SHA1 b2fc379c1f31df48518dc6f4c6e64420f6423310 SHA256 ea4ffe8fb10bd372bbc233f2d4ac42e5f81c6df97226f742d17d748a16a5261a
-MISC ChangeLog 16371 RMD160 6cc67948506ec75c4016e5d0e8f21d5fb6c096be SHA1 ec7ef01b67d35fea144651b74a73fb1928b595c3 SHA256 312a935d331240d31ef588b34263853ee8d954fb1755bb1fb49c5073ff1d28da
+MISC ChangeLog 16676 RMD160 5fa0daa195abae1f919807d71b8717ef809b7be0 SHA1 55cb213040c603dd2827b23172c178434681d265 SHA256 4a26262049fe91df8155c0882ba092add7db6dd746d57c5a9d5318c57d1cbddd
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
-
-iEYEARECAAYFAkst6egACgkQTEkQYPgooqHpfgCguXuCij8Lro58N8C36ae/1Ruv
-ClMAn0gJli6WAuU/V4niuPSCWc41Zh4j
-=a31p
------END PGP SIGNATURE-----
diff --git a/dev-ruby/activerecord/activerecord-2.3.5-r1.ebuild b/dev-ruby/activerecord/activerecord-2.3.5-r1.ebuild
new file mode 100644
index 000000000000..ea18bd9d2c12
--- /dev/null
+++ b/dev-ruby/activerecord/activerecord-2.3.5-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.5-r1.ebuild,v 1.1 2010/01/02 00:09:23 flameeyes Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+# this is not null so that the dependencies will actually be filled
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
+HOMEPAGE="http://rubyforge.org/projects/activerecord/"
+
+LICENSE="MIT"
+SLOT="2.3"
+KEYWORDS="~amd64"
+IUSE="mysql postgres sqlite3" #sqlite
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}"
+#ruby_add_rdepend sqlite ">=dev-ruby/sqlite-ruby-2.2.2"
+ruby_add_rdepend sqlite3 "dev-ruby/sqlite3-ruby"
+ruby_add_rdepend mysql ">=dev-ruby/mysql-ruby-2.7"
+ruby_add_rdepend postgres "dev-ruby/pg"
+ruby_add_bdepend test ">=dev-ruby/mocha-0.9.5 virtual/ruby-test-unit"
+
+all_ruby_prepare() {
+ # Custom template not found in package
+ sed -i -e '/horo/d' Rakefile || die
+}
+
+each_ruby_test() {
+ if use sqlite3; then
+ ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
+ fi
+#
+# if use sqlite; then
+# ${RUBY} -S rake test_sqlite || die "sqlite3 tests failed"
+# fi
+}