commit:     9c068cc12b6b7942241a882a5dac582cca1e92f1
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  3 05:08:34 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Aug  3 05:08:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c068cc1

dev-ruby/tty-screen: add 0.8.1

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/tty-screen/Manifest                |  1 +
 dev-ruby/tty-screen/tty-screen-0.8.1.ebuild | 30 +++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/dev-ruby/tty-screen/Manifest b/dev-ruby/tty-screen/Manifest
index 64add772221..712a4b74a1d 100644
--- a/dev-ruby/tty-screen/Manifest
+++ b/dev-ruby/tty-screen/Manifest
@@ -1,3 +1,4 @@
 DIST tty-screen-0.7.0.gem 12288 BLAKE2B 
e61b5462d6c2a8dae96d6e89d8025f2d2ea8bba8328318e067d612832b479ccd34a457a74432ccbe4cf27f26e439f44d67890a492dfa6f8836d2b86512ce9198
 SHA512 
1851c0ea90af65cd1fa9a4a2b4c93d3fa2badf81507d4bb149183aa49578208ddef0065f3047cef4ffa23d3f34840af919ac4f6a2805f7ce0f01096f27101694
 DIST tty-screen-0.7.1.tar.gz 11377 BLAKE2B 
485b5610bc81524cfe525f8a837e99d13788da499dd8fa0f7c3be3f580ada63861f04652031e84817ef6ee49ce099c5fa97104b6634fc306d9ee0bbed0828ac3
 SHA512 
1ef5ce12cdd6337c47f09e5b6ae116985a80efe9f493d52c404496319f1377d4308cd829343d84f5c653b70327c033955232ca62fc8a134503a87a33a264130a
 DIST tty-screen-0.8.0.tar.gz 12956 BLAKE2B 
647a6d06eff154ab99e59a92287a4f6c041ae9e4738869de857cf9508f4a3274c4742e80b3dc3722b17a0e69e4deec1f4dd767b3281fd6c49663ad66232e6be5
 SHA512 
5a612cdd9169c029c5d521a8a33f52c0c5d21ee5e6a404577c04b150822c616c0624be96640ce8084dd596b02cb7cceb67ab2d1385321fa7fbe9cd1da4fb7022
+DIST tty-screen-0.8.1.tar.gz 13019 BLAKE2B 
9c9ccb49ae323ebc67c5bca918303586fb749813539aed32a892f3135aa392f6c77b078bab2c7bd116d9f152ee2745d72aae38a91cf4292d1f360085d88060ba
 SHA512 
b0a01c49bb0c56f23c8b384a2d4f4b5c7168863a35c3ab7160d0f34c7d63a2b10b3b9f0f54c6d56e2424a8b16e6ba74268ac81af631976876fb37eb9c347c393

diff --git a/dev-ruby/tty-screen/tty-screen-0.8.1.ebuild 
b/dev-ruby/tty-screen/tty-screen-0.8.1.ebuild
new file mode 100644
index 00000000000..8ed94995bac
--- /dev/null
+++ b/dev-ruby/tty-screen/tty-screen-0.8.1.ebuild
@@ -0,0 +1,30 @@
+# 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_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="tty-screen.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Terminal screen size detection which works on Linux, OS X and 
Windows/Cygwin"
+HOMEPAGE="https://github.com/piotrmurach/tty-screen";
+SRC_URI="https://github.com/piotrmurach/tty-screen/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+       echo '-rspec_helper' > .rspec || die
+       sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
+       rm -f spec/perf/size_spec.rb || die
+}

Reply via email to