diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-09-01 07:01:11 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-09-01 07:01:11 +0200 |
commit | 099c59d42ed6404ce6a0c1200e1bb0560551dc07 (patch) | |
tree | 2ca5e0c1d02112e361bad4dab80cb96a25d8604b /dev-ruby/domain_name | |
parent | dev-ruby/domain_name: cleanup (diff) | |
download | gentoo-099c59d42ed6404ce6a0c1200e1bb0560551dc07.tar.gz gentoo-099c59d42ed6404ce6a0c1200e1bb0560551dc07.tar.bz2 gentoo-099c59d42ed6404ce6a0c1200e1bb0560551dc07.zip |
dev-ruby/domain_name: add 0.5.20160826
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/domain_name')
-rw-r--r-- | dev-ruby/domain_name/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/domain_name/domain_name-0.5.20160826.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/domain_name/Manifest b/dev-ruby/domain_name/Manifest index 7054d2155e81..b9d6793945eb 100644 --- a/dev-ruby/domain_name/Manifest +++ b/dev-ruby/domain_name/Manifest @@ -1,2 +1,3 @@ DIST domain_name-0.5.20160615.gem 116224 SHA256 afb018732f1d0b322b213413868cd21011dba62fd77b38ceba2e7a9ee67690b9 SHA512 c21068813f47553a617e28e941e8184d8b98dbf3b298a8899082013e8f83e4dadd49e29fd32137ad485930ef1908b107b0f88391c0ea322c977a1f9d6c8a26c8 WHIRLPOOL 9df0cefda0f38fe37ed3dd81fd83e63c63db1bbe84bbbde57b5c11dd7f4e33d562f397329adb11acbea7ec10dd7329cd599eabbd8f81da6884741a31ba8851ca +DIST domain_name-0.5.20160826.gem 118784 SHA256 bd177e0e1354fbb96fe66ad5330da417c202f88ee7368f3e2eabf642ee7ee765 SHA512 7e01cd405c099198624a3c904adf43ef6c24673d19de3961bf29bbbba08853de3f6c279c3c7d6cdbd9bd1534a59bbdc8d6adc37f275af123d9d0f94dfb71dd33 WHIRLPOOL 62a1d97aa5ad9b1effebf0f3862313daeeb6b69b07d225be3c808cf0bada6a3a721921a61c80123157db8a0dda9d4cf51980fa55d6dff359a0b0adb41be042e0 DIST domain_name-0.5.24.gem 104448 SHA256 8cbd6aea8859823f89aefeec49232e9d4377456fd42d08accfbc0cc6b32a55f6 SHA512 46caf0be89c3b2f38f79180c14f4eaa1096f12f80feb881dafb394033d2c6118f481c898310d281d15acd5b9a54473c9d9ee8f0e77dda5b03c40a0d6f137f602 WHIRLPOOL df40be6b18f08f242bafeb985a93692e3286a3889b738790108c7df64eff90dfe28c874b06f7cefd7e8ee295753126ee2d32ceb89dca65c71b95721064301161 diff --git a/dev-ruby/domain_name/domain_name-0.5.20160826.ebuild b/dev-ruby/domain_name/domain_name-0.5.20160826.ebuild new file mode 100644 index 000000000000..07501804acff --- /dev/null +++ b/dev-ruby/domain_name/domain_name-0.5.20160826.ebuild @@ -0,0 +1,47 @@ +# 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="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 +} |