summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-12-01 07:44:10 +0100
committerHans de Graaff <graaff@gentoo.org>2020-12-01 07:44:34 +0100
commita906ec185a5006183664626f57abd937be6ff093 (patch)
treef598f6c7bd597f6b8e8a31ad227fa6145b00bbbf /dev-ruby/ruby-net-ldap
parentdev-ruby/nokogumbo: add 2.0.4 (diff)
downloadgentoo-a906ec185a5006183664626f57abd937be6ff093.tar.gz
gentoo-a906ec185a5006183664626f57abd937be6ff093.tar.bz2
gentoo-a906ec185a5006183664626f57abd937be6ff093.zip
dev-ruby/ruby-net-ldap: add 0.17.0
Package-Manager: Portage-3.0.9, Repoman-3.0.2 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.0.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 a338bac72880..a3c1b05b15e3 100644
--- a/dev-ruby/ruby-net-ldap/Manifest
+++ b/dev-ruby/ruby-net-ldap/Manifest
@@ -1,2 +1,3 @@
DIST net-ldap-0.16.2.gem 94208 BLAKE2B aebfc53b29c3bf81eecfc50a7422bd30b7dfe1894f8b7ceaeb82e346ae0e3ecbf463f3f15aab2200d42a391782a07cea8bbbf3f1c0d1cd0ae95959ef77bc8a14 SHA512 5d0e63473b5e1b1133463a49ed1c88fbf00fda06265a9a091fdb513f1d20fb45e5227c6384a9adc82ad71082ef07786cf63143060711b15386ceb7d3bd7b800b
DIST net-ldap-0.16.3.gem 94208 BLAKE2B 637fe661e1ccf962cfd224ca457c7c4b9b51ec15179d4ca8d429947c45be3ded8dfde1f99b5f4a2c7ecb51682828689086a8ed0598e03905c8b77448bfcb1244 SHA512 18b9b290eb37c2378953011db4d92d41c18d735ae7908a98650b0c941ccc0eb0f44a3686c8ad987066de2a3ff04a58acb9267215dc214212f44ae5fccfcbe30d
+DIST ruby-net-ldap-0.17.0.tar.gz 92548 BLAKE2B 45dd1f6205af25735c8ed55a28ec91084e0b95403fa4c4a06310a19f1a9c247cb4cd1e8be7bbb26b2423c0d05afb4cfd4e8b2eed4e552aa78c9b4b44102f34d8 SHA512 417e946f044db2fda8ceb8ebfee2376310308ac6a1949e165beff0a9c2a8b410f88ffcb607d27ab060d1d55364cb75fd41753d101a404874be6dbbec3875f192
diff --git a/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.17.0.ebuild b/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.17.0.ebuild
new file mode 100644
index 000000000000..fd0a3e09c8b6
--- /dev/null
+++ b/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.17.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 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
+}