summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-07-05 06:54:04 +0200
committerHans de Graaff <graaff@gentoo.org>2020-07-05 06:54:04 +0200
commited72c9244f9697176d6996eddceec6e345854cc4 (patch)
tree89c9bc377da1c2f13bc0799fd50abe7c6a163cc1 /dev-ruby/tty-screen
parentsys-fs/zfs: update live ebuild, fix pam dir removal (diff)
downloadgentoo-ed72c9244f9697176d6996eddceec6e345854cc4.tar.gz
gentoo-ed72c9244f9697176d6996eddceec6e345854cc4.tar.bz2
gentoo-ed72c9244f9697176d6996eddceec6e345854cc4.zip
dev-ruby/tty-screen: add 0.8.0
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/tty-screen')
-rw-r--r--dev-ruby/tty-screen/Manifest1
-rw-r--r--dev-ruby/tty-screen/tty-screen-0.8.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/tty-screen/Manifest b/dev-ruby/tty-screen/Manifest
index c956894e0b91..64add772221b 100644
--- a/dev-ruby/tty-screen/Manifest
+++ b/dev-ruby/tty-screen/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/dev-ruby/tty-screen/tty-screen-0.8.0.ebuild b/dev-ruby/tty-screen/tty-screen-0.8.0.ebuild
new file mode 100644
index 000000000000..8ed94995bac7
--- /dev/null
+++ b/dev-ruby/tty-screen/tty-screen-0.8.0.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
+}