Version bump.
authorHans de Graaff <graaff@gentoo.org>
Wed, 17 Aug 2011 08:43:40 +0000 (08:43 +0000)
committerHans de Graaff <graaff@gentoo.org>
Wed, 17 Aug 2011 08:43:40 +0000 (08:43 +0000)
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64

dev-ruby/actionmailer/ChangeLog
dev-ruby/actionmailer/actionmailer-2.3.14.ebuild [new file with mode: 0644]
dev-ruby/actionpack/ChangeLog
dev-ruby/actionpack/actionpack-2.3.14.ebuild [new file with mode: 0644]
dev-ruby/activerecord/ChangeLog
dev-ruby/activerecord/activerecord-2.3.14.ebuild [new file with mode: 0644]
dev-ruby/activeresource/ChangeLog
dev-ruby/activeresource/activeresource-2.3.14.ebuild [new file with mode: 0644]
dev-ruby/activesupport/ChangeLog
dev-ruby/activesupport/activesupport-2.3.14.ebuild [new file with mode: 0644]

index e500870ed24c374473665b01cdf539eb0c8b2b5b..0ec0a9953e5ee49877512430c92564b082a36916 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/actionmailer
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.165 2011/08/07 18:26:59 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.166 2011/08/17 08:42:30 graaff Exp $
+
+*actionmailer-2.3.14 (17 Aug 2011)
+
+  17 Aug 2011; Hans de Graaff <graaff@gentoo.org> +actionmailer-2.3.14.ebuild:
+  Version bump.
 
   07 Aug 2011; Raúl Porcel <armin76@gentoo.org> actionmailer-3.0.9.ebuild:
   Add ~ia64/~sparc wrt #351835
diff --git a/dev-ruby/actionmailer/actionmailer-2.3.14.ebuild b/dev-ruby/actionmailer/actionmailer-2.3.14.ebuild
new file mode 100644 (file)
index 0000000..c581fe8
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-2.3.14.ebuild,v 1.1 2011/08/17 08:42:30 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18 jruby"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Framework for designing email-service layers"
+HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
+
+LICENSE="MIT"
+SLOT="2.3"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_PATCHES=( "${PN}-2.3.10-rails3.patch" )
+
+ruby_add_rdepend "~dev-ruby/actionpack-${PV}
+       >=dev-ruby/text-format-0.6.3
+       >=dev-ruby/tmail-1.2.3"
+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
+}
index f9d2df987f7d4dd2b654a9ff512564f13031bee2..2f828edb2d5f23099073ec4ec73bf9567fcaddb7 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/actionpack
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.186 2011/08/07 18:33:23 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.187 2011/08/17 08:41:21 graaff Exp $
+
+*actionpack-2.3.14 (17 Aug 2011)
+
+  17 Aug 2011; Hans de Graaff <graaff@gentoo.org> +actionpack-2.3.14.ebuild:
+  Version bump.
 
   07 Aug 2011; Raúl Porcel <armin76@gentoo.org> actionpack-3.0.9.ebuild:
   Add ~ia64/~sparc wrt #351835
diff --git a/dev-ruby/actionpack/actionpack-2.3.14.ebuild b/dev-ruby/actionpack/actionpack-2.3.14.ebuild
new file mode 100644 (file)
index 0000000..7f2e722
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.14.ebuild,v 1.1 2011/08/17 08:41:21 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ree18 jruby"
+
+# The default test task tries to test activerecord with SQLite as well.
+RUBY_FAKEGEM_TASK_TEST="test_action_pack"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Eases web-request routing, handling, and response."
+HOMEPAGE="http://rubyforge.org/projects/actionpack/"
+
+LICENSE="MIT"
+SLOT="2.3"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_PATCHES=( "${PN}-2.3.11-rails3.patch" "${PN}-2.3.10-i18n-0.4.2.patch" )
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}
+       >=dev-ruby/rack-1.1.0:0"
+
+ruby_add_bdepend "
+       test? (
+               >=dev-ruby/mocha-0.9.7
+               dev-ruby/activerecord:${SLOT}
+               ~dev-ruby/actionmailer-${PV}
+       )"
+
+all_ruby_prepare() {
+       # Custom template not found in package
+       sed -i -e '/horo/d' Rakefile || die
+
+       # This tries to load a “vendorized” copy of activerecord that we
+       # will never have. It can now also use a normally installed
+       # version but these tests fail.
+       sed -i -e '/PATH_TO_AR/s:^:#:' -e 's/self.able_to_connect = true/self.able_to_connect = false/' test/active_record_unit.rb || die
+
+       # Fix the testsuite, the symlink is not present in the gem for
+       # some reason
+       ln -s ../../symlink_parent test/fixtures/layout_tests/layouts/symlinked
+
+       # MemCacheStore tests no longer fail gracefully, and it's unlikely for
+       # someone to have them running anyway, so remove them for now.
+       rm test/controller/session/mem_cache_store_test.rb || die
+
+       # Fix tests when run against i18n 0.4.2 which ignores locale
+       # definitions with an empty data section.
+       sed -i -e 's/, {}/, {:test => "test"}/' test/template/render_test.rb || die
+}
index ba370a27847eee9870938a03965c4cb3e5bb78d9..215fe83cea35307c26a79909cede5cea3298af19 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/activerecord
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.164 2011/08/07 18:28:33 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.165 2011/08/17 08:43:40 graaff Exp $
+
+*activerecord-2.3.14 (17 Aug 2011)
+
+  17 Aug 2011; Hans de Graaff <graaff@gentoo.org> +activerecord-2.3.14.ebuild:
+  Version bump.
 
   07 Aug 2011; Raúl Porcel <armin76@gentoo.org> activerecord-3.0.9.ebuild:
   Add ~ia64/~sparc wrt #351835
diff --git a/dev-ruby/activerecord/activerecord-2.3.14.ebuild b/dev-ruby/activerecord/activerecord-2.3.14.ebuild
new file mode 100644 (file)
index 0000000..0c80c28
--- /dev/null
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.14.ebuild,v 1.1 2011/08/17 08:43:40 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18 jruby"
+
+# 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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="mysql postgres sqlite3" #sqlite
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}"
+
+#ruby_add_rdepend sqlite ">=dev-ruby/sqlite-ruby-2.2.2"
+USE_RUBY=ruby18 \
+       ruby_add_rdepend "
+               sqlite3? ( dev-ruby/sqlite3-ruby )
+               mysql? ( >=dev-ruby/mysql-ruby-2.7 )
+               postgres? ( dev-ruby/pg )"
+
+ruby_add_bdepend "
+       test? (
+               >=dev-ruby/mocha-0.9.5
+               virtual/ruby-test-unit
+       )"
+
+all_ruby_prepare() {
+       epatch "${FILESDIR}/${PN}-2.3.10-rails3.patch"
+
+       # Custom template not found in package
+       sed -i -e '/horo/d' Rakefile || die
+}
+
+each_ruby_test() {
+       case ${RUBY} in
+               *jruby)
+                       ;;
+               *)
+                       if use sqlite3; then
+                               ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
+                       fi
+                       ;;
+       esac
+}
index effc87aa070d16ce634d67480c0716e2c282fb8a..9b872c991af84ec88bb6b5fafba150fc6eed6c1a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-ruby/activeresource
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/ChangeLog,v 1.89 2011/08/07 18:06:36 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/ChangeLog,v 1.90 2011/08/17 08:40:09 graaff Exp $
+
+*activeresource-2.3.14 (17 Aug 2011)
+
+  17 Aug 2011; Hans de Graaff <graaff@gentoo.org>
+  +activeresource-2.3.14.ebuild:
+  Version bump.
 
   07 Aug 2011; Raúl Porcel <armin76@gentoo.org> activeresource-3.0.9.ebuild:
   Add ~ia64/~sparc wrt #351835
diff --git a/dev-ruby/activeresource/activeresource-2.3.14.ebuild b/dev-ruby/activeresource/activeresource-2.3.14.ebuild
new file mode 100644 (file)
index 0000000..e9f2e1f
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-2.3.14.ebuild,v 1.1 2011/08/17 08:40:09 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ree18 jruby"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Think Active Record for web resources.."
+HOMEPAGE="http://rubyforge.org/projects/activeresource/"
+
+LICENSE="MIT"
+SLOT="2.3"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 -x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}"
+ruby_add_bdepend "
+       test? (
+               >=dev-ruby/mocha-0.9.5
+               virtual/ruby-test-unit
+       )"
+
+all_ruby_prepare() {
+       epatch "${FILESDIR}/${PN}-2.3.10-rails3.patch"
+
+       # Custom template not found in package
+       sed -i -e '/horo/d' Rakefile || die
+}
index d4eca2931b0548bf7b35b9d7359edeb6275a1096..33ebbfda304d675dca83d716936cfbabe9619062 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/activesupport
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.147 2011/08/07 18:04:06 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.148 2011/08/17 08:37:33 graaff Exp $
+
+*activesupport-2.3.14 (17 Aug 2011)
+
+  17 Aug 2011; Hans de Graaff <graaff@gentoo.org> +activesupport-2.3.14.ebuild:
+  Version bump.
 
   07 Aug 2011; Raúl Porcel <armin76@gentoo.org> activesupport-3.0.9.ebuild:
   Add ~ia64/~sparc wrt #351835
diff --git a/dev-ruby/activesupport/activesupport-2.3.14.ebuild b/dev-ruby/activesupport/activesupport-2.3.14.ebuild
new file mode 100644 (file)
index 0000000..da66998
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-2.3.14.ebuild,v 1.1 2011/08/17 08:37:33 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18 jruby"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Utility Classes and Extension to the Standard Library"
+HOMEPAGE="http://rubyforge.org/projects/activesupport/"
+
+LICENSE="MIT"
+SLOT="2.3"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/builder-2.1.2:0 >=dev-ruby/tzinfo-0.3.16 >=dev-ruby/i18n-0.4.1:0.4"
+
+all_ruby_prepare() {
+       # Remove the bundled packages!
+       rm -r lib/active_support/vendor/{tzinfo,builder,i18n}-* \
+               || die "failed to remove vendor packages"
+
+       # This patch removes the fallback to local vendorized gems, as
+       # well as fixing the dependencies for i18n to use the correct
+       # slot.
+       epatch "${FILESDIR}"/${PN}-2.3.9-unvendorize.patch
+
+       # don't support older mocha versions as the optional codepath
+       # breaks JRuby
+       epatch "${FILESDIR}"/${PN}-2.3.5-mocha-0.9.5.patch
+}