From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-924400-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB3EA139085 for <garchives@archives.gentoo.org>; Thu, 19 Jan 2017 06:00:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2963221C0A3; Thu, 19 Jan 2017 06:00:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 EE2DB21C0A3 for <gentoo-commits@lists.gentoo.org>; Thu, 19 Jan 2017 06:00:16 +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 46822341375 for <gentoo-commits@lists.gentoo.org>; Thu, 19 Jan 2017 06:00:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29CCC28BF for <gentoo-commits@lists.gentoo.org>; Thu, 19 Jan 2017 06:00:13 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> 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" <graaff@gentoo.org> Message-ID: <1484805580.2f8b9df46cedf14530589e8ec54e5d6b705249f7.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/stringex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/stringex/Manifest dev-ruby/stringex/stringex-2.7.0.ebuild X-VCS-Directories: dev-ruby/stringex/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 2f8b9df46cedf14530589e8ec54e5d6b705249f7 X-VCS-Branch: master Date: Thu, 19 Jan 2017 06:00:13 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 482aa1e1-9cb7-4aab-8817-125b3477b379 X-Archives-Hash: 81db78b639d47da31c1b0fb9da089f76 commit: 2f8b9df46cedf14530589e8ec54e5d6b705249f7 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu Jan 19 05:59:40 2017 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Jan 19 05:59:40 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f8b9df4 dev-ruby/stringex: add 2.7.0 Package-Manager: portage-2.3.0 dev-ruby/stringex/Manifest | 1 + dev-ruby/stringex/stringex-2.7.0.ebuild | 40 +++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-ruby/stringex/Manifest b/dev-ruby/stringex/Manifest index de6252c..cecebe3 100644 --- a/dev-ruby/stringex/Manifest +++ b/dev-ruby/stringex/Manifest @@ -1 +1,2 @@ DIST stringex-2.6.1.gem 130048 SHA256 e19fcf32cc429a12d454b14db3a43a6227ee9da233b10240fe1572c9aae7ce65 SHA512 b2ca4de05a8a1e3ef9fa85324f2280a27de7ef04ac3eb0f76006e07d86e5fa0fc84acd4ee6d39f86416bc769cf4e2804421703533b8609a18228cdfeb769a841 WHIRLPOOL 41e78d6563c166bd2e933caee86d3f61538b60d643344a576c7d636d2664e885c95ff6fafaa42c0563aaf8b9ef8f246016523544dbf88bfc8686be2d34b4ddb1 +DIST stringex-2.7.0.gem 130048 SHA256 e9864b143c4c27a61a2af5d8ad585809e36d7708b51daee412919ed44682031a SHA512 f47cbddc0e298548d230759c5d0da84bca4d754141ad900cbafad09748d389505358e2a4dd0b61f2e55804c15d9c6d1b0fbccde9c3cd3408814dd898461e1212 WHIRLPOOL 2de63c63fa28b726e87b5e5961d6790a3838b3cb0ae182a11ef15b916c5f7d03887cf54de18c8f6d0a360b13f670e82f8a4a4548fa97d8f8a31174aba65d3ce6 diff --git a/dev-ruby/stringex/stringex-2.7.0.ebuild b/dev-ruby/stringex/stringex-2.7.0.ebuild new file mode 100644 index 00000000..26469ec --- /dev/null +++ b/dev-ruby/stringex/stringex-2.7.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_DOC_DIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Extensions for Ruby's String class" +HOMEPAGE="https://github.com/rsl/stringex" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64" +IUSE="test" + +# we could rely on activerecord[sqlite3], but since we do not remove the +# sqlite3 adapter from activerecord when building -sqlite3, it's easier +# to just add another dependency, so the user doesn't have to change the +# USE flags at all. +ruby_add_bdepend " + test? ( + >=dev-ruby/i18n-0.6.9:0.6 + dev-ruby/redcloth + dev-ruby/test-unit:2 + >=dev-ruby/activerecord-3 + dev-ruby/sqlite3 )" + +all_ruby_prepare() { + sed -i -e '1agem "i18n", "~>0.6.9"' test/test_helper.rb || die +} + +each_ruby_test() { + # rake seems to break this + ruby-ng_testrb-2 -Ilib -Itest test/unit/*/*_test.rb test/performance/*_test.rb || die "tests failed" +}