diff options
Diffstat (limited to 'dev-ruby/net-telnet')
-rw-r--r-- | dev-ruby/net-telnet/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/net-telnet/net-telnet-0.2.0-r1.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/net-telnet/Manifest b/dev-ruby/net-telnet/Manifest index feb9f5b56a7d..f5f8b80160c1 100644 --- a/dev-ruby/net-telnet/Manifest +++ b/dev-ruby/net-telnet/Manifest @@ -1,3 +1,4 @@ DIST net-telnet-0.2.0.tar.gz 13299 BLAKE2B 6b87974281b4e1857a1e05efdfc751a5149f9057598c89b8b288219b95268955ee3f80e21cc787ac767ef3126c9ee23d9b62e29ebcb8c317def703f0e0dc1fe6 SHA512 a4473c42d33c10594c4445c29db73f4d611555710228cce263f7fc273e71140423dcbc2e89eec2a26f35f98de48aa72eca9f44cf0cd4626d702709963ce7b02d +EBUILD net-telnet-0.2.0-r1.ebuild 1047 BLAKE2B 41034253598686c7a3d8f5410c10589b857959fb5f5a9dd65803d54aafdd3a14137290e52bfb66c467405daaed96676fc9a1f9df7540627a05558af8023d97a4 SHA512 f794ce667bafd51efbd7deefc98e67c227c18e12476631e13ab0c585364526af8d68f925d6853ada0a3eab2ee03bf105ce828eed39e887d3535e729e29b3c757 EBUILD net-telnet-0.2.0.ebuild 956 BLAKE2B 60aa4eb2b4278c9dcb83217f1bd47c7c0924ce21b45092f27579e9bb4b7258fd3c3c683f199a3627e7fb159a132eb350e7274416c7d6a5e23b203df9cec4fc9b SHA512 f27adc1c97108669ed91cc14c3e4249548f86a18bf4aa40d77bba69495305f4cfc245179efcd8d46d023f4b2adb4598fb38fcdbbafc9b7652b88118fba292ef9 MISC metadata.xml 342 BLAKE2B 9a659f3d0c58ea00e32e060c2188f6b38821ffc8225788b707d21a1071024c87bdc17b394ac654c70c8830c7f88b9ccd08aeb26d8bc859a53d29bebb2c3868ff SHA512 adffb5054de27a4371669b6e373548c941e7f7398fd964e8150ce13604adbdf806c463950c5f50d3b7dad17f30c06c5342bf950ca5c8433ae3c830cc8dc3ab02 diff --git a/dev-ruby/net-telnet/net-telnet-0.2.0-r1.ebuild b/dev-ruby/net-telnet/net-telnet-0.2.0-r1.ebuild new file mode 100644 index 000000000000..24bfd3876fc3 --- /dev/null +++ b/dev-ruby/net-telnet/net-telnet-0.2.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="net-telnet.gemspec" + +# Don't install the binaries since they don't seem to be intended for +# general use and they have very generic names leading to collisions, +# e.g. bug 571186 +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Provides telnet client functionality" +HOMEPAGE="https://github.com/ruby/net-telnet" +SRC_URI="https://github.com/ruby/net-telnet/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} |