summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-10 10:35:24 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-11 07:27:47 +0100
commit2011a4ce067d238cb62b1b02c4d07ae80d2113c4 (patch)
tree9c6e3cdc7b7b688b2cecf19f97dd85b8620da611 /dev-ruby
parentdev-ruby/mocha: add 2.0.2 (diff)
downloadgentoo-2011a4ce067d238cb62b1b02c4d07ae80d2113c4.tar.gz
gentoo-2011a4ce067d238cb62b1b02c4d07ae80d2113c4.tar.bz2
gentoo-2011a4ce067d238cb62b1b02c4d07ae80d2113c4.zip
dev-ruby/net-protocol: add 0.2.1
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.1.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/net-protocol/Manifest b/dev-ruby/net-protocol/Manifest
index 7875b8d3d5b0..5890c71069df 100644
--- a/dev-ruby/net-protocol/Manifest
+++ b/dev-ruby/net-protocol/Manifest
@@ -1,3 +1,4 @@
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
+DIST net-protocol-0.2.1.tar.gz 17713 BLAKE2B dc5abe229e6900a41af786f6e617c27a8fec2fc720afaf95ae72a1614017c43617eb207a57a6460dd6b589c392ec6cb65ff4a3b6e3f09e04f765295f5d41a3ff SHA512 e3990b64826c681efac2bcb5cbe4f120e730ddac8e1a62690e575de5037c7a9ddb80bf6cc051c98319c37013fef7f4f331adbcd51e96f32ecf4c3804fcd1f7c5
diff --git a/dev-ruby/net-protocol/net-protocol-0.2.1.ebuild b/dev-ruby/net-protocol/net-protocol-0.2.1.ebuild
new file mode 100644
index 000000000000..2f0df4b1cbb2
--- /dev/null
+++ b/dev-ruby/net-protocol/net-protocol-0.2.1.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
+}