summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-12-18 08:02:03 +0100
committerHans de Graaff <graaff@gentoo.org>2023-12-18 08:04:20 +0100
commitdb47ba5dadf21134093b76797108ae8ef831ddf4 (patch)
tree3575f432c7e2effe414110e6c27a09b8e1ca36e4 /dev-ruby/tty-screen
parentsys-fs/bcachefs-tools: drop 1.3.5_p20231210 (diff)
downloadgentoo-db47ba5dadf21134093b76797108ae8ef831ddf4.tar.gz
gentoo-db47ba5dadf21134093b76797108ae8ef831ddf4.tar.bz2
gentoo-db47ba5dadf21134093b76797108ae8ef831ddf4.zip
dev-ruby/tty-screen: add 0.8.2
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.2.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/tty-screen/Manifest b/dev-ruby/tty-screen/Manifest
index a7e9122631be..c31a55eed6e4 100644
--- a/dev-ruby/tty-screen/Manifest
+++ b/dev-ruby/tty-screen/Manifest
@@ -1 +1,2 @@
DIST tty-screen-0.8.1.tar.gz 13019 BLAKE2B 9c9ccb49ae323ebc67c5bca918303586fb749813539aed32a892f3135aa392f6c77b078bab2c7bd116d9f152ee2745d72aae38a91cf4292d1f360085d88060ba SHA512 b0a01c49bb0c56f23c8b384a2d4f4b5c7168863a35c3ab7160d0f34c7d63a2b10b3b9f0f54c6d56e2424a8b16e6ba74268ac81af631976876fb37eb9c347c393
+DIST tty-screen-0.8.2.tar.gz 16861 BLAKE2B 47e1035ec9275a4034be09eab35e9bf63c2425a42fbc176cc20f314f9bfefb86e854d4ee1982ad0c90b7e47f4153f067e9b55da7e48f921b19fc36aad35f7257 SHA512 ab91cd41e888a3ec3a0029c62253bfe5fa708865ed946fe6859c2d64cc8dcfadece57ce6fa773ab924e78782b57b107e1614519088ab3197b0eaed3dd76e54b0
diff --git a/dev-ruby/tty-screen/tty-screen-0.8.2.ebuild b/dev-ruby/tty-screen/tty-screen-0.8.2.ebuild
new file mode 100644
index 000000000000..7cc5b00af878
--- /dev/null
+++ b/dev-ruby/tty-screen/tty-screen-0.8.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+ echo '-rspec_helper' > .rspec || die
+ sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid performance specs. These depend on unpackaged
+ # rspec-benchmark and are likely to fail on at least some Gentoo
+ # systems.
+ rm -f spec/perf/{screen,size}_spec.rb || die
+}