summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-04-03 08:11:05 +0200
committerHans de Graaff <graaff@gentoo.org>2022-04-04 07:41:06 +0200
commit7914dc553e92be3b5b901acc3618a065c5b43301 (patch)
treede61f924b1dfd12cdd180e3fc47136b2a7133822 /dev-ruby/net-protocol
parentdev-java/tomcat-servlet-api: removed obsolete 8.5.75, 9.0.58 & 10.0.16 (diff)
downloadgentoo-7914dc553e92be3b5b901acc3618a065c5b43301.tar.gz
gentoo-7914dc553e92be3b5b901acc3618a065c5b43301.tar.bz2
gentoo-7914dc553e92be3b5b901acc3618a065c5b43301.zip
dev-ruby/net-protocol: add 0.1.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/net-protocol')
-rw-r--r--dev-ruby/net-protocol/Manifest1
-rw-r--r--dev-ruby/net-protocol/net-protocol-0.1.3.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/net-protocol/Manifest b/dev-ruby/net-protocol/Manifest
index a130a5857eab..0eac72f9f05f 100644
--- a/dev-ruby/net-protocol/Manifest
+++ b/dev-ruby/net-protocol/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/net-protocol/net-protocol-0.1.3.ebuild b/dev-ruby/net-protocol/net-protocol-0.1.3.ebuild
new file mode 100644
index 000000000000..b048b906f840
--- /dev/null
+++ b/dev-ruby/net-protocol/net-protocol-0.1.3.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="ruby26 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
+}