From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 77ED559CA3 for ; Tue, 8 Mar 2016 05:50:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A1B921C026; Tue, 8 Mar 2016 05:50:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86FF5E0826 for ; Tue, 8 Mar 2016 05:50:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9DFFF340A9E for ; Tue, 8 Mar 2016 05:50:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2349F2322 for ; Tue, 8 Mar 2016 05:49:57 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1457416011.d3d5c0af4acbf520f1e086cd37b6989af9eb3ec5.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activerecord/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/activerecord/Manifest dev-ruby/activerecord/activerecord-4.2.6.ebuild X-VCS-Directories: dev-ruby/activerecord/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d3d5c0af4acbf520f1e086cd37b6989af9eb3ec5 X-VCS-Branch: master Date: Tue, 8 Mar 2016 05:49:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ed3df1f1-900b-4882-a790-4154228f6bc4 X-Archives-Hash: b775318596a7937252d3d2d6b0862ca2 commit: d3d5c0af4acbf520f1e086cd37b6989af9eb3ec5 Author: Hans de Graaff gentoo org> AuthorDate: Tue Mar 8 05:46:51 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Mar 8 05:46:51 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d5c0af dev-ruby/activerecord: add rails 4.2.6 Package-Manager: portage-2.2.26 dev-ruby/activerecord/Manifest | 1 + dev-ruby/activerecord/activerecord-4.2.6.ebuild | 74 +++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest index 2fa48c4..618d55e 100644 --- a/dev-ruby/activerecord/Manifest +++ b/dev-ruby/activerecord/Manifest @@ -5,3 +5,4 @@ DIST rails-4.1.14.1.tgz 3728574 SHA256 1b094a1d1f242c19d2fad0b4f0708d117fce28116 DIST rails-4.1.14.2.tgz 3729630 SHA256 f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61 WHIRLPOOL c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad DIST rails-4.2.5.1.tgz 4175926 SHA256 713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d WHIRLPOOL dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f DIST rails-4.2.5.2.tgz 4174380 SHA256 c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3 WHIRLPOOL 4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6 +DIST rails-4.2.6.tgz 4179056 SHA256 68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0 WHIRLPOOL 1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe diff --git a/dev-ruby/activerecord/activerecord-4.2.6.ebuild b/dev-ruby/activerecord/activerecord-4.2.6.ebuild new file mode 100644 index 0000000..de9e737 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-4.2.6.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +# this is not null so that the dependencies will actually be filled +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + >=dev-ruby/arel-6.0:6.0 + sqlite? ( >=dev-ruby/sqlite3-1.3.6 ) + mysql? ( || ( dev-ruby/mysql2:0.4 >=dev-ruby/mysql2-0.3.13:0.3 ) ) + postgres? ( >=dev-ruby/pg-0.15.0 )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionmailer-${PV} + >=dev-ruby/sqlite3-1.3.5 + dev-ruby/mocha:0.13 + 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die + + sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || die + + # Avoid test depending on mysql adapter which we don't support for + # this Rails version to simplify our dependencies. + rm test/cases/connection_specification/resolver_test.rb || die + + # Avoid single test using mysql dependencies. + rm test/cases/invalid_connection_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +}