From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 BD19E139085 for ; Sun, 18 Dec 2016 07:46:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAE5321C0A6; Sun, 18 Dec 2016 07:46:00 +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 B791321C0A6 for ; Sun, 18 Dec 2016 07:46:00 +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 5028E340E7B for ; Sun, 18 Dec 2016 07:45:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A539A24E2 for ; Sun, 18 Dec 2016 07:45: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: <1482044083.314f368940fc1b6f570b3341def6bf7adf8946bf.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/concurrent-ruby/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/concurrent-ruby/Manifest dev-ruby/concurrent-ruby/concurrent-ruby-1.0.3.ebuild X-VCS-Directories: dev-ruby/concurrent-ruby/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 314f368940fc1b6f570b3341def6bf7adf8946bf X-VCS-Branch: master Date: Sun, 18 Dec 2016 07:45: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: 0988d222-7de3-411b-9e65-5e6a0bc49601 X-Archives-Hash: 329e3b7533cec39fab7b684a2de51f44 commit: 314f368940fc1b6f570b3341def6bf7adf8946bf Author: Hans de Graaff gentoo org> AuthorDate: Sun Dec 18 06:54:43 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Dec 18 06:54:43 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=314f3689 dev-ruby/concurrent-ruby: add 1.0.3 Package-Manager: portage-2.3.0 dev-ruby/concurrent-ruby/Manifest | 1 + .../concurrent-ruby/concurrent-ruby-1.0.3.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest index b7c6920..a4686df 100644 --- a/dev-ruby/concurrent-ruby/Manifest +++ b/dev-ruby/concurrent-ruby/Manifest @@ -1 +1,2 @@ DIST concurrent-ruby-1.0.2.tar.gz 1278198 SHA256 a8051789e6b08448ae350031cf13ec563b0a176651b7d81d9f9e845b9b126ff4 SHA512 ad82af8bb5a6aeb6133466580e3e6b51cc37dcc9391b0bbfdc5230ac761453747fcac1b080a09772c90d7a05047ae4ac0ba4113fbd048c4b3c3712064b7a22d9 WHIRLPOOL 55a8d668cad46f357d3b54428f0ab42b349f46b5e9a785cf053944ef96a4f0267b775911b7cec5d6d64bc40fb7efc1f1cc0ef5affdc7307ea5e40db8af6dc87c +DIST concurrent-ruby-1.0.3.tar.gz 1281328 SHA256 fb30442c8e880b8c9fd9f6cc87aa0f6bac38c9c6fae2efe08864acd232df474f SHA512 c866e26938effca0aa508f86330a08d0885c68c012bfb64f28b44f9490b6b2c71d99cfe0101a5dcaf1b6038948051f98960907cb7e27c44c60325a27e08c35dc WHIRLPOOL 0ef989bd5c6150dada21bb57f117d6252bd1b2eddd17aa233ff6906bf5e8403e6bcfee98adfcb6bf5de17f45c285c06f4bfbdff3ce611f5adb97016018f7570d diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.0.3.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.0.3.ebuild new file mode 100644 index 00000000..f73f700 --- /dev/null +++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.0.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Modern concurrency tools including agents, futures, promises, thread pools, more" +HOMEPAGE="https://github.com/ruby-concurrency/concurrent-ruby" +SRC_URI="https://github.com/ruby-concurrency/concurrent-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.7.4 )" + +all_ruby_prepare() { + # Remove edge files as defined in support/file_map.rb + rm -rf {lib,spec}/concurrent/{actor,channel,edge}* \ + lib/concurrent/{concurrent-edge,lazy_register.rb} \ + spec/concurrent/lazy_register_spec.rb || die + sed -i -e '/concurrent-edge/ s:^:#:' spec/spec_helper.rb || die + + # Remove specs for the ext gem + rm -rf spec/concurrent/atomic || die + + sed -i -e '/file_map/d' -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +}