mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/domain_name: add 0.6.20231109
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST domain_name-0.5.20190701.gem 131072 BLAKE2B 86ee60824d9480e71535312fb72c192f3d88326c72539b833132872ff15298842f09bac612e9c3d8b87a3ef6a60459b14e777105613fd76da79757d6a30abcbc SHA512 445f0e8a377bb700f8a3b926970f4351d28759e237947d6c755afff52726141c6b821b43b2a761d4d0d6237969304ef749404a5f383f69710b04803410dc70aa
|
||||
DIST domain_name-0.6.20231109.gem 148480 BLAKE2B 87a68ab758126e150193373c1f4807e16e8390f5a2fa5c1c55ad443a6cf1d16d2fb66167313f7858f2a729729222900fae57994d268b3077a7469cec375dc67a SHA512 8d9dff3943001b340d1c19303291a19b284e6f7d0165413fbd797804dc9ff13c92b09a66efdded2489961a54105f2eed91043cdde279bef4bf82628c822d9257
|
||||
|
||||
44
dev-ruby/domain_name/domain_name-0.6.20231109.ebuild
Normal file
44
dev-ruby/domain_name/domain_name-0.6.20231109.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby31 ruby32"
|
||||
|
||||
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 ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/test-unit-2.5.5
|
||||
dev-ruby/shoulda
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/,/end/ d' 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
|
||||
}
|
||||
Reference in New Issue
Block a user