From e515b1f1ea3cf0f2ab8f08b8b63e56dd6f7fab5f Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Thu, 8 Oct 2015 06:55:58 +0200 Subject: [PATCH] dev-ruby/domain_name: add 0.5.25 Package-Manager: portage-2.2.20.1 --- dev-ruby/domain_name/Manifest | 1 + .../domain_name/domain_name-0.5.25.ebuild | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-ruby/domain_name/domain_name-0.5.25.ebuild diff --git a/dev-ruby/domain_name/Manifest b/dev-ruby/domain_name/Manifest index 079210c8dc00..a8dacb236d3b 100644 --- a/dev-ruby/domain_name/Manifest +++ b/dev-ruby/domain_name/Manifest @@ -1,3 +1,4 @@ DIST domain_name-0.5.22.gem 94720 SHA256 cb8bbf0f14f9fa97f0ae9de40fa785f3a6c0b26cdd903afef165af2821907364 SHA512 e859e8fe90c98eda90d038843544719e60f4d1a12c50e77b892cbdcd34ea9c46fa314a9799cce71eb9393e2ef2c956cc013c96a893cbec13e98a11a3768b6697 WHIRLPOOL bb398969cfa3b4fa3b72d75f94fa343ef1724be95b8330810cdd371b3b3b4da2b61c125877a13949985d92eb66b8899a9699dca1156ec71530b1f106b6182d7f DIST domain_name-0.5.23.gem 99328 SHA256 f1269404aa9611427e2733a75adcc0fc028a8143b7c9bdabbce58bad76a0b662 SHA512 a6693e952db042198935238b1609d2a497eb07d9c72458f5826be475b9d382c944f20bd912c4cda5135b8bb82a4dc4416bd65e23fd6196a20f5f2718c029bab2 WHIRLPOOL 2fd57ada46eb7c9e160d2605f19be1eb89fad0125e9a96687965a55a29663d72f357c46ab2ed753d824669d5ea5200b950ca57ebcbdd956d74a5c508afa237dc DIST domain_name-0.5.24.gem 104448 SHA256 8cbd6aea8859823f89aefeec49232e9d4377456fd42d08accfbc0cc6b32a55f6 SHA512 46caf0be89c3b2f38f79180c14f4eaa1096f12f80feb881dafb394033d2c6118f481c898310d281d15acd5b9a54473c9d9ee8f0e77dda5b03c40a0d6f137f602 WHIRLPOOL df40be6b18f08f242bafeb985a93692e3286a3889b738790108c7df64eff90dfe28c874b06f7cefd7e8ee295753126ee2d32ceb89dca65c71b95721064301161 +DIST domain_name-0.5.25.gem 112128 SHA256 5b492888a095f2f00027a268932c93d0432bf8ada568a5c601ff53ce6a761b9b SHA512 cdc89ef2cc93d014727e203ffaa3921f3548077bcf4dfacc83a03f887a88393cea01efcf072ca785b375a6b24cdbd69f201f2fbd81a7341595e6ed2a5d2b362c WHIRLPOOL 1f5a9577aab4aea61eb88d590bd52b07cb21c597646ad28fce6631baee3ea527282393ce392a830232081a70c0628c6666e0fb29d5aec640cae44ff887d0261b diff --git a/dev-ruby/domain_name/domain_name-0.5.25.ebuild b/dev-ruby/domain_name/domain_name-0.5.25.ebuild new file mode 100644 index 000000000000..2835d4bc3eb3 --- /dev/null +++ b/dev-ruby/domain_name/domain_name-0.5.25.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Domain Name manipulation library for Ruby" +HOMEPAGE="https://github.com/knu/ruby-domain_name" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/unf-0.0.5-r1:0" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.5 + dev-ruby/shoulda + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ d; i gem "unf"' test/helper.rb || die + rm Gemfile* || die + + # Remove development dependencies + sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rdoc\)/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid dependency on git. + sed -i -e 's/`git ls-files`/""/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib:test test/test_*.rb +} -- 2.26.2