summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-10-26 06:28:58 +0200
committerHans de Graaff <graaff@gentoo.org>2021-10-26 06:38:36 +0200
commit3c85fa501fc4b3eba043df747359e998967e5d95 (patch)
treea536a43e6db824a14e78ae146a58042539eb169e /dev-ruby/pcaprub
parentdev-ruby/charlock_holmes: add ruby30; fix extension install (diff)
downloadgentoo-3c85fa501fc4b3eba043df747359e998967e5d95.tar.gz
gentoo-3c85fa501fc4b3eba043df747359e998967e5d95.tar.bz2
gentoo-3c85fa501fc4b3eba043df747359e998967e5d95.zip
dev-ruby/pcaprub: add 0.13.1
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/pcaprub')
-rw-r--r--dev-ruby/pcaprub/Manifest1
-rw-r--r--dev-ruby/pcaprub/pcaprub-0.13.1.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/pcaprub/Manifest b/dev-ruby/pcaprub/Manifest
index 140759781396..21a8d8c2b880 100644
--- a/dev-ruby/pcaprub/Manifest
+++ b/dev-ruby/pcaprub/Manifest
@@ -1 +1,2 @@
DIST pcaprub-0.13.0.gem 36864 BLAKE2B 0a0ca07da261de2e8bd7aaa131bbda9f6ee3cd5eb5fa214c552179c707d20345bcedc8db5d49590e69c41220e69f93a6d9f0b1c1b6f768c25ab648d50dead388 SHA512 6099996cca317194582a50ac89769d11ba802a9658c67f707e342b3c345bcaab26fba5ca2dc245a39eeb01f9ff6fdde1ae64a3a1ee4dd0e5243bae2ebed37e5f
+DIST pcaprub-0.13.1.gem 36864 BLAKE2B 8a0f035d2d66cb21b8314e1f855f18fa71824ffaaa3260faa90f71dbd55172701cf0105f8dce91f3107dd455b5480170a2490a2b5a13f25b46a390401fc8b8e0 SHA512 3079a5f7b29df502b5bbf0afdb7c670c9a43fbb4024163001018ebffd660597197cb0c146005f1ce027f00f2ba4c2e0430a8574cb10c4fac310a8b04411c53dd
diff --git a/dev-ruby/pcaprub/pcaprub-0.13.1.ebuild b/dev-ruby/pcaprub/pcaprub-0.13.1.ebuild
new file mode 100644
index 000000000000..a2557b0dd274
--- /dev/null
+++ b/dev-ruby/pcaprub/pcaprub-0.13.1.ebuild
@@ -0,0 +1,25 @@
+# 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="FAQ.rdoc README.rdoc USAGE.rdoc"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/pcaprub_c/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Libpcap bindings for ruby compat"
+HOMEPAGE="https://rubygems.org/gems/pcaprub"
+
+LICENSE="LGPL-2.1"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+
+DEPEND+="net-libs/libpcap"
+RDEPEND+="net-libs/libpcap"
+
+# Tests require live access to a network device as root.
+RESTRICT="test"