diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-10-10 07:42:28 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-10-10 07:54:08 +0200 |
commit | 67ff9cbeb8d784c79a3f872a352890482a2ccd46 (patch) | |
tree | be6a532bf63e3ed336aac2b485f9482e2c7f6092 /dev-ruby/serverengine | |
parent | app-admin/vault: Remove vulnerable version 1.8.2 (diff) | |
download | gentoo-67ff9cbeb8d784c79a3f872a352890482a2ccd46.tar.gz gentoo-67ff9cbeb8d784c79a3f872a352890482a2ccd46.tar.bz2 gentoo-67ff9cbeb8d784c79a3f872a352890482a2ccd46.zip |
dev-ruby/serverengine: add 2.2.4
Consistently depend on rspec 2.x to avoid broken tests.
Closes: https://bugs.gentoo.org/771258
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/serverengine')
-rw-r--r-- | dev-ruby/serverengine/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/serverengine/serverengine-2.2.4.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest index 9d9c2ad98e8a..0425fe9b7de7 100644 --- a/dev-ruby/serverengine/Manifest +++ b/dev-ruby/serverengine/Manifest @@ -1,3 +1,4 @@ DIST serverengine-2.2.1.gem 39424 BLAKE2B 0c68bfd59c0f6abbb294ecd8003c80853413b38b05ba1553230a2a49ffbf56dad43428eafbac4e77a012d66fdc30d4445249aed53e6eead11f52f5aeffd91c1e SHA512 920dd828561b44525dbef2a45144a40f456a5fbc2a56366a7831b42e9f6e115895a0156adc10114a007c2487d1bd1488f73c9c00373fd90648ee272c9c872111 DIST serverengine-2.2.2.gem 39424 BLAKE2B 113ffaa6dd1c35ba0796aaec30c4b3bbc71d63abb7214bd0ed30c7d38195bb2caf4e12d79968ca2750fb522600ac9494848984248fe1645ae3d7c1e97fd6a608 SHA512 ec34af108017468e3981861b4a4ae84d071dd31aaca78d458512bf430a1c7075deb64134f899dbde14e8f18a0e163f0f61236a7b3678173030c093d3362eecf2 DIST serverengine-2.2.3.gem 39936 BLAKE2B 20f36d60b3f9a01c3768c490db89b8adaade75fc16c1ba738135d24bb858f44c10ab5ff1d0b31f0a287b2ddb3a69f958eaa155e7a54a26bbe5b6a480e52c4325 SHA512 4f95dd9559e7ea79e1f276554a94459b0ef250c639d2ecd17509651a5585dc1688936048b636a3d9f09f84eed3d4b16aa5bf50537cd14ebbb7f0e289600b6e60 +DIST serverengine-2.2.4.gem 40960 BLAKE2B 66e3b10c4396b4613b734d3d2764293de2935b0e99bc33c9ba0e79f69c2af6fbb53dee8e356ab351d65195124e139ec4b0aa7976594387432b88a3875e985ef9 SHA512 39f5abe2e15bf1ea6524563a7f86e441f93479160976421d41aa092e04a0fca8d4beda3b20487c45b6cd3bdffdb175d98fbebdd36ef9a85fa242ef3cf356a9c8 diff --git a/dev-ruby/serverengine/serverengine-2.2.4.ebuild b/dev-ruby/serverengine/serverengine-2.2.4.ebuild new file mode 100644 index 000000000000..511a0437825e --- /dev/null +++ b/dev-ruby/serverengine/serverengine-2.2.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Changelog README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="A framework to implement robust multiprocess servers" +HOMEPAGE="https://github.com/fluent/serverengine" +LICENSE="Apache-2.0" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/sigdump-0.2.2:0" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + sed -i -e '/rake/ s/~>/>=/' \ + -e '/rspec/ s/2.13.0/2.13/' \ + -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die +} + +each_ruby_test() { + # The specs spawn ruby processes with bundler support + ${RUBY} -S bundle exec rspec-2 spec || die +} |