summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-06 07:44:43 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-07 07:44:48 +0100
commit092683ecd0848317baa306efa16c7dfa5c832a90 (patch)
tree1fd190cdedc6b44d4c1f78125bcf3536d86f4a93 /dev-ruby
parentdev-ruby/did_you_mean: add 1.6.2 (diff)
downloadgentoo-092683ecd0848317baa306efa16c7dfa5c832a90.tar.gz
gentoo-092683ecd0848317baa306efa16c7dfa5c832a90.tar.bz2
gentoo-092683ecd0848317baa306efa16c7dfa5c832a90.zip
dev-ruby/net-protocol: add 0.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/net-protocol/Manifest1
-rw-r--r--dev-ruby/net-protocol/net-protocol-0.2.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/net-protocol/Manifest b/dev-ruby/net-protocol/Manifest
index 0eac72f9f05f..7875b8d3d5b0 100644
--- a/dev-ruby/net-protocol/Manifest
+++ b/dev-ruby/net-protocol/Manifest
@@ -1,2 +1,3 @@
DIST net-protocol-0.1.2.tar.gz 17603 BLAKE2B 2d5dd2437d2d10e82c20e17884b80259b7cb5b5ef626f4dc054515adaff46143b46754fc375f66e5754aa81a72372784b389864bbed249c6df59d64331c47672 SHA512 959b426ab3fb388d42ccd5b21e60878b58e606ec21d651d232d706c40908c6b53c14ce16362ca3c32cb40da1238baf79127d870788adc8b23884204f4426f9d7
DIST net-protocol-0.1.3.tar.gz 17522 BLAKE2B 6789bcf2f1908e91b6e01cdb225feb975457b9c274b6632d67e39c2fed1a6a0efe20c8f8f10d8f287618546c116fd0a5947b994c6d749d8312b243bdb7d624e1 SHA512 958f7a52fd7db661e60fa6f4f401ee0097de0782d984b4394dec5ced34b4935d6f30b65a198f5b9cc17247b6ff06ff266e2ca1f1081369cc18597bfd30285774
+DIST net-protocol-0.2.0.tar.gz 17760 BLAKE2B c5606b0f206abee666e53480d1a08f2b673330f8ca0a0b5761e7013dca7273d2d49640b270f7a5f096746bb101ec26382c5a3718d62592f1ed82c32d34409f6a SHA512 9769bfb17e8316f20daba9336af8392d38d4d8056590a4d8b019ca7dc404e2e287a82b0373852b2fea40b249b15602bb2b16596d0e62f4d53cc8f67d977d4e26
diff --git a/dev-ruby/net-protocol/net-protocol-0.2.0.ebuild b/dev-ruby/net-protocol/net-protocol-0.2.0.ebuild
new file mode 100644
index 000000000000..2f0df4b1cbb2
--- /dev/null
+++ b/dev-ruby/net-protocol/net-protocol-0.2.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="net-protocol.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The abstruct interface for net-* client"
+HOMEPAGE="https://github.com/ruby/net-protocol"
+SRC_URI="https://github.com/ruby/net-protocol/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+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=""
+
+ruby_add_rdepend "
+ dev-ruby/timeout
+"
+
+all_ruby_prepare() {
+ sed -e 's/__dir__/"."/' \
+ -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
+ -e 's/git ls-files -z/find * -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}