summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-02-25 05:55:42 +0100
committerHans de Graaff <graaff@gentoo.org>2020-02-25 05:55:42 +0100
commit519ed59ecc42c514281f76e570076926b106b8a4 (patch)
tree301be4a3fe9c2b6598d8c6a2148c086b6aabb2e8 /dev-ruby/tty-screen
parentdev-ruby/tty-platform: add 0.3.0 (diff)
downloadgentoo-519ed59ecc42c514281f76e570076926b106b8a4.tar.gz
gentoo-519ed59ecc42c514281f76e570076926b106b8a4.tar.bz2
gentoo-519ed59ecc42c514281f76e570076926b106b8a4.zip
dev-ruby/tty-screen: add 0.7.1
Package-Manager: Portage-2.3.84, Repoman-2.3.20 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.7.1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/tty-screen/Manifest b/dev-ruby/tty-screen/Manifest
index eadd70a239a3..c956894e0b91 100644
--- a/dev-ruby/tty-screen/Manifest
+++ b/dev-ruby/tty-screen/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/tty-screen/tty-screen-0.7.1.ebuild b/dev-ruby/tty-screen/tty-screen-0.7.1.ebuild
new file mode 100644
index 000000000000..d2da38e96cae
--- /dev/null
+++ b/dev-ruby/tty-screen/tty-screen-0.7.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 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
+}