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 8517A1388C1 for ; Tue, 1 Mar 2016 06:52:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B422B21C03D; Tue, 1 Mar 2016 06:52:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1E0721C01C for ; Tue, 1 Mar 2016 06:52:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E5631340A51 for ; Tue, 1 Mar 2016 06:52:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F8D51B8A for ; Tue, 1 Mar 2016 06:52:35 +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: <1456815030.5c12d8ed9966d90e78613be43a9a1bf06b14c59f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activeresource/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/activeresource/Manifest dev-ruby/activeresource/activeresource-3.2.22.2.ebuild X-VCS-Directories: dev-ruby/activeresource/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 5c12d8ed9966d90e78613be43a9a1bf06b14c59f X-VCS-Branch: master Date: Tue, 1 Mar 2016 06:52:35 +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: b05293fe-d188-4597-9444-14e22ce29a38 X-Archives-Hash: 94d4f383b56642ffb11f3248c6b32801 commit: 5c12d8ed9966d90e78613be43a9a1bf06b14c59f Author: Hans de Graaff gentoo org> AuthorDate: Tue Mar 1 06:50:30 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Mar 1 06:50:30 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c12d8ed dev-ruby/activeresource: add rails 3.2.22.2, bug 576068 Package-Manager: portage-2.2.26 dev-ruby/activeresource/Manifest | 1 + .../activeresource/activeresource-3.2.22.2.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/activeresource/Manifest b/dev-ruby/activeresource/Manifest index a2f7bef..ac7d293 100644 --- a/dev-ruby/activeresource/Manifest +++ b/dev-ruby/activeresource/Manifest @@ -1,2 +1,3 @@ DIST activeresource-4.0.0.tgz 69142 SHA256 b2f8094b56c589193fa9c275e4a970fdcd4eb7e7885c8a7a12c86eda6c8d2f37 SHA512 bad94922b7125f79988fb8c6694d6a0370ff1271b47d031e1c249441079e98f75a8069602c1eebf2ec8d7e28aab21b0ca42502c79fe06f46dfa5d42659ff79ab WHIRLPOOL 04120c0a81e140435194ae28a98b4c2ba69e3ef663b7fbf02783839b842c92db70742e4c5d204168dfe4a28caac8d3a8d4c2aea81842959819590544b648d867 DIST rails-3.2.22.1.tgz 3570617 SHA256 0678ec5677e6f70a20aa398b323a3d926531e1da266734ec90c34e111512b0fc SHA512 29b9e7aca818ed08111cc6306edfcbf88969ab2cbb0f36b9a189f8a29c2dec966e3a453d7b9ee9fc0cf06f0786aa493839440a2d6fb338b13b801978b08f4656 WHIRLPOOL b797311ab5420c4663b1617e5fabdc30a66619f1b6a16aa68ed96f5e38f4daff89cecc8bf9f3d7a702f17ae7da6bedf128adad2a3120f50a25ff85aff5cb6527 +DIST rails-3.2.22.2.tgz 3571822 SHA256 6aaef5723f3a409d057ace5500f1743168bde8f45114d9b5d861bb6e05444356 SHA512 b0c1817164168e2b8ae5b748dd1dd88097c2047d2e2eb31e403a5b865a1e50c43f8841a0e60ccdda6d5a859bba9acdfb06462cb8ba93a3e9ecc57dc349f8be13 WHIRLPOOL 8f5e674020a4c00a9a5da6e2e25aceb408ccb01f8adce74128a99cbb602d08da31de44b496a42d86bbf3887830785bfb961c95231d98bb1ce5d17755741dd3e1 diff --git a/dev-ruby/activeresource/activeresource-3.2.22.2.ebuild b/dev-ruby/activeresource/activeresource-3.2.22.2.ebuild new file mode 100644 index 0000000..7e534e9 --- /dev/null +++ b/dev-ruby/activeresource/activeresource-3.2.22.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Think Active Record for web resources" +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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + dev-ruby/builder:3" +ruby_add_bdepend " + test? ( + dev-ruby/test-unit:2 + >=dev-ruby/mocha-0.13.0:0.13 + )" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + + # Make sure we use the test-unit gem since ruby18 does not provide + # all the test-unit features needed. + sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die +}