diff options
author | Sam James <sam@gentoo.org> | 2023-04-05 02:42:36 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-05 04:16:06 +0100 |
commit | 0476be22a3d7b858c14104903c05855e0a7e81e7 (patch) | |
tree | e5823a9c3cca856a055dd74e2621ab967a282ec4 /dev-ruby/ruby-net-ldap | |
parent | games-emulation/melonds: add wayland USE flag (diff) | |
download | gentoo-0476be22a3d7b858c14104903c05855e0a7e81e7.tar.gz gentoo-0476be22a3d7b858c14104903c05855e0a7e81e7.tar.bz2 gentoo-0476be22a3d7b858c14104903c05855e0a7e81e7.zip |
dev-ruby/ruby-net-ldap: add 0.18.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby-net-ldap')
-rw-r--r-- | dev-ruby/ruby-net-ldap/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-net-ldap/ruby-net-ldap-0.18.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/ruby-net-ldap/Manifest b/dev-ruby/ruby-net-ldap/Manifest index 6e5f43054031..57346dfd89a3 100644 --- a/dev-ruby/ruby-net-ldap/Manifest +++ b/dev-ruby/ruby-net-ldap/Manifest @@ -1 +1,2 @@ DIST ruby-net-ldap-0.17.1.tar.gz 92746 BLAKE2B 785791c1e96002c92d6e4a78867870d36011faad5fd9bac4af4c34eea0c4bbd5526291023684c30ddf4c7bdee46ad2c9b98211d103d88d6fda6b2195f0d6e6c4 SHA512 af36095c57b9d142faf5435430a9de63a5c5bcca8fa58e5a431e49097328d882121523864936ef1388254e9ffc9b40718ed5b5b9c335d1f79bac9da955e9ec4d +DIST ruby-net-ldap-0.18.0.tar.gz 94296 BLAKE2B 92c7f36ac94e9822f99931f58de83f05ca949c8f38482846c1bb0e4b43ed3b08799160643c720de8d724091c031c09926818e6199f32535a6033b636ea38fd5d SHA512 21b8241d3eef6f75f2f552af1df169d748e89948aba3527659a54cc3c4da5d6efcba41269c0ee40f6651adb363d0c7082dae71c3efc11cc65d103e1236e7d6d1 diff --git a/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.18.0.ebuild b/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.18.0.ebuild new file mode 100644 index 000000000000..2f5923e06d63 --- /dev/null +++ b/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.18.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +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" + +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 +} |