summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-06-08 05:51:07 +0200
committerHans de Graaff <graaff@gentoo.org>2022-06-08 06:41:01 +0200
commitaa0b9ce76da5485c94748c6acf8d8f37f2bc5e62 (patch)
treef078e5b298e59edc915947d1a0c2fe8114a0149f /dev-ruby/ruby-net-ldap
parentdev-ruby/marcel: enable ruby31 (diff)
downloadgentoo-aa0b9ce76da5485c94748c6acf8d8f37f2bc5e62.tar.gz
gentoo-aa0b9ce76da5485c94748c6acf8d8f37f2bc5e62.tar.bz2
gentoo-aa0b9ce76da5485c94748c6acf8d8f37f2bc5e62.zip
dev-ruby/ruby-net-ldap: add 0.17.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby-net-ldap')
-rw-r--r--dev-ruby/ruby-net-ldap/Manifest1
-rw-r--r--dev-ruby/ruby-net-ldap/ruby-net-ldap-0.17.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/ruby-net-ldap/Manifest b/dev-ruby/ruby-net-ldap/Manifest
index 631b1e3f0889..a5bfc87acbff 100644
--- a/dev-ruby/ruby-net-ldap/Manifest
+++ b/dev-ruby/ruby-net-ldap/Manifest
@@ -1 +1,2 @@
DIST ruby-net-ldap-0.17.0.tar.gz 92548 BLAKE2B 45dd1f6205af25735c8ed55a28ec91084e0b95403fa4c4a06310a19f1a9c247cb4cd1e8be7bbb26b2423c0d05afb4cfd4e8b2eed4e552aa78c9b4b44102f34d8 SHA512 417e946f044db2fda8ceb8ebfee2376310308ac6a1949e165beff0a9c2a8b410f88ffcb607d27ab060d1d55364cb75fd41753d101a404874be6dbbec3875f192
+DIST ruby-net-ldap-0.17.1.tar.gz 92746 BLAKE2B 785791c1e96002c92d6e4a78867870d36011faad5fd9bac4af4c34eea0c4bbd5526291023684c30ddf4c7bdee46ad2c9b98211d103d88d6fda6b2195f0d6e6c4 SHA512 af36095c57b9d142faf5435430a9de63a5c5bcca8fa58e5a431e49097328d882121523864936ef1388254e9ffc9b40718ed5b5b9c335d1f79bac9da955e9ec4d
diff --git a/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.17.1.ebuild b/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.17.1.ebuild
new file mode 100644
index 000000000000..18c0833cd32a
--- /dev/null
+++ b/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.17.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="test spec"
+RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc History.rdoc README.rdoc"
+
+RUBY_FAKEGEM_NAME="net-ldap"
+
+RUBY_FAKEGEM_GEMSPEC="net-ldap.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Pure ruby LDAP client implementation"
+HOMEPAGE="https://github.com/ruby-ldap/ruby-net-ldap"
+SRC_URI="https://github.com/ruby-ldap/ruby-net-ldap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="test"
+
+ruby_add_bdepend "test? ( >=dev-ruby/flexmock-1.3.0 )"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}