diff options
Diffstat (limited to 'dev-ruby/domain_name')
-rw-r--r-- | dev-ruby/domain_name/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/domain_name/domain_name-0.5.20190701-r1.ebuild | 46 | ||||
-rw-r--r-- | dev-ruby/domain_name/domain_name-0.5.20190701.ebuild | 4 |
3 files changed, 50 insertions, 3 deletions
diff --git a/dev-ruby/domain_name/Manifest b/dev-ruby/domain_name/Manifest index 17f17dbd8867..87f225f561de 100644 --- a/dev-ruby/domain_name/Manifest +++ b/dev-ruby/domain_name/Manifest @@ -1,3 +1,4 @@ DIST domain_name-0.5.20190701.gem 131072 BLAKE2B 86ee60824d9480e71535312fb72c192f3d88326c72539b833132872ff15298842f09bac612e9c3d8b87a3ef6a60459b14e777105613fd76da79757d6a30abcbc SHA512 445f0e8a377bb700f8a3b926970f4351d28759e237947d6c755afff52726141c6b821b43b2a761d4d0d6237969304ef749404a5f383f69710b04803410dc70aa -EBUILD domain_name-0.5.20190701.ebuild 1085 BLAKE2B d9f86fa95e9f04c08f66aa26c529de89cdf1182cbb93e8bf2fe4fdf700e280e5ab3adc07c2ee83e5f7ea31ad74f547eccd7c073de0aad3e4a454f9038cd8e1c2 SHA512 ad88efa15a2c47550a42cf8de12b551329c7460fdc6893874477e23b83153074f1ef5815e38c7d4b7a0f11fe90211f0f218c534b57c9dd921b3e01c8426994ff +EBUILD domain_name-0.5.20190701-r1.ebuild 1110 BLAKE2B aac48bc838e6003e07fe4dc4c1ec9a5461ea9c79dd6a779ab8f587216a0845ff0289e963d33fa6497354d13b0ca666e0749e16b1fcc4e2658d58bca19c1d4f6c SHA512 cf7743f6d33dc14f068c57b2ba3334fc0829d86519e21be05f3aca4fa4a34a9e4c69410e1f6b5a3fd0e91e66b8b75221dd67de90f38deaaf7b8e510918c27efc +EBUILD domain_name-0.5.20190701.ebuild 1091 BLAKE2B 142955100452f20386780602479aa9f3e87837bcd56bb4cdfe912f4c4d5028d087abd2903c416eb6e4ec4302f37619be78ab34d6b273ac6ec8a6cdf3c6bcebf7 SHA512 73055c963a257647bd166e91ac4216cecab7bced8686021b336aeb2c014d9165c0e9454a2d6b6fa04a9ca5589daf4cb8020caa81eef5d8d33886d61977ac6b42 MISC metadata.xml 347 BLAKE2B 3317da08cd7700ed10004bff1dbf71a979dfe0894bb39c67af80d0b83d5fe19fd0f8be96d855adfad6ee39e331c8d6600872dc9be3ce526d05065a1446b7f7ef SHA512 bb716928ee6cfc1b3e1c6e5d06b1271a728085b1556430014d47d0129881c6740c64f0c3f76835dc672d53eec1cfe6866d8400b32ce6879f610be00b76bfe534 diff --git a/dev-ruby/domain_name/domain_name-0.5.20190701-r1.ebuild b/dev-ruby/domain_name/domain_name-0.5.20190701-r1.ebuild new file mode 100644 index 000000000000..ed99f7e6bc39 --- /dev/null +++ b/dev-ruby/domain_name/domain_name-0.5.20190701-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +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 ~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 +} diff --git a/dev-ruby/domain_name/domain_name-0.5.20190701.ebuild b/dev-ruby/domain_name/domain_name-0.5.20190701.ebuild index dcc7ab1c61ba..ebdf1437cf9a 100644 --- a/dev-ruby/domain_name/domain_name-0.5.20190701.ebuild +++ b/dev-ruby/domain_name/domain_name-0.5.20190701.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/knu/ruby-domain_name" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="test" ruby_add_rdepend ">=dev-ruby/unf-0.0.5-r1:0" |