diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
commit | e9d044d4b9b71200a96adfa280848858c0f468c9 (patch) | |
tree | 1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /dev-ruby/em-websocket | |
parent | fc2f1018fc323ef2c6572734a9b130427cba76a6 (diff) |
gentoo resync : 13.11.2021
Diffstat (limited to 'dev-ruby/em-websocket')
-rw-r--r-- | dev-ruby/em-websocket/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/em-websocket/em-websocket-0.5.3.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/em-websocket/Manifest b/dev-ruby/em-websocket/Manifest index 40fc6b6d8338..105b0e33ae3f 100644 --- a/dev-ruby/em-websocket/Manifest +++ b/dev-ruby/em-websocket/Manifest @@ -1,3 +1,5 @@ DIST em-websocket-0.5.2.tar.gz 29367 BLAKE2B 91d41044e20f1f8277527205e3ee6671de2a1fb9b433c18d5b48a166c7cfa53c6553e32b726326f126981f0e014625075bc918b71e00bd8a6919670c370b6cab SHA512 46df705e2af93082884c7ca521df4f6cf33309c441eb3ba96be609b2cf280e3b72c689810d55279db6dbbc178ed843d64ccdaf9d4b39d52ddac7d84956065b06 +DIST em-websocket-0.5.3.tar.gz 29411 BLAKE2B ce38ee1adc9cd49454d74d94130e9d759c631337da9401390fae68210f7b02692a0f23eb5970aa226ab3651e1924a117ac104a01481cc954ca77ab9c27b1e5ac SHA512 28d5cf042899319f50ff0d3b140d75fb281b7e0635118a63df243151c4f442dbabf7dbe15b26b44167d925ed00819b01eeeef110107e4058d8a534f84913b232 EBUILD em-websocket-0.5.2.ebuild 1150 BLAKE2B 02ea4a3386c5b3ed12cce77a69b0952a27c27bcf69c97b2e786f899b97e93e37e390f64acff91c2662c5d2482e3f49023823207f226dc3bc4fb355e71c76fe38 SHA512 70327eba0d64d86b4c47c664799bd2f9b5a141a0e2ec3872c718138f49c57804db6efcfc08a148e14684acf4433729d46c97d02a1902f0d0cc6962235a565e20 +EBUILD em-websocket-0.5.3.ebuild 1143 BLAKE2B 6c8052210a69dd1f44baad4a0d40ef845ac2108678ecd59de920e49739e08d58aa6df39f29f92a87f9a494b31352d2e66c6ef79feccc785b890baff7faf51355 SHA512 fc7cf43d62f6a0600238936f80bd1386136613040cb5694968bf6624a176221953bcb1402b5034142324a9e92f5019e2d2e6529bcf30d5f6b0393fbcd08300b4 MISC metadata.xml 459 BLAKE2B 1d0b797e6702af57fae4cbedb6a33347bfeef5182c7ade87357502303931a78bc08c01a3a534b3b121d8483ec50232e1f3edcf51b15bdc36a9099ccb13e2f5f2 SHA512 e7307e0e6811ae07aec354812606184d8f2b7f44c5a9ea03b41525f8bdca4742c6570d763fa6ec1c12180e7cc7f30ed5ec0553bf53dee2fbdcbeadb83a2ecee0 diff --git a/dev-ruby/em-websocket/em-websocket-0.5.3.ebuild b/dev-ruby/em-websocket/em-websocket-0.5.3.ebuild new file mode 100644 index 000000000000..40d23cc7ff35 --- /dev/null +++ b/dev-ruby/em-websocket/em-websocket-0.5.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="EventMachine based WebSocket server" +HOMEPAGE="https://rubygems.org/gems/em-websocket" +SRC_URI="https://github.com/igrigorik/em-websocket/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/eventmachine-0.12.9 + =dev-ruby/http_parser_rb-0.6* +" + +all_ruby_prepare() { + # Avoid dependency on git + sed -i -e '/ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Only run unit tests since we require unpackaged code for the + # integration tests. + sed -i -e "/^require 'em-\(spec\|http\|websocket-client\)/ s:^:#:" \ + -e "/^require 'integration/ s:^:#:" spec/helper.rb || die + rm -fr spec/integration || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r examples +} |