summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-06-19 07:34:46 +0200
committerHans de Graaff <graaff@gentoo.org>2020-06-19 15:09:37 +0200
commitb1820f5ad86cf1c8092169197ab6a19b42c4eb47 (patch)
tree98af843b348580f18ecbb6bc96087da89027479d /dev-ruby/terminal-table
parentdev-ruby/unicode-display_width: import 1.7.0 (diff)
downloadgentoo-b1820f5ad86cf1c8092169197ab6a19b42c4eb47.tar.gz
gentoo-b1820f5ad86cf1c8092169197ab6a19b42c4eb47.tar.bz2
gentoo-b1820f5ad86cf1c8092169197ab6a19b42c4eb47.zip
dev-ruby/terminal-table: import 1.8.0
New dependency for www-apps/jekyll. Imported from "graaff" overlay. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/terminal-table')
-rw-r--r--dev-ruby/terminal-table/Manifest1
-rw-r--r--dev-ruby/terminal-table/metadata.xml8
-rw-r--r--dev-ruby/terminal-table/terminal-table-1.8.0-r2.ebuild32
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/terminal-table/Manifest b/dev-ruby/terminal-table/Manifest
new file mode 100644
index 000000000000..ec3eb43fcae2
--- /dev/null
+++ b/dev-ruby/terminal-table/Manifest
@@ -0,0 +1 @@
+DIST terminal-table-1.8.0.tar.gz 13407 BLAKE2B cf1653a18d2b6b72757b149295e01aee83d75241075912d145032e3bc73deb3e33fd00bef033f4bc90dcd51e4bd994b6966805ed7f81833392aba17bbdd7e179 SHA512 4ea4a66e8db384e448d57027e6314f9ce7a0e1511bbfa6e246e26c15a8ff3e44b46c8b6ca03dd521ffdd63b58976d400359131bc1869bf2dc04b3057f399e269
diff --git a/dev-ruby/terminal-table/metadata.xml b/dev-ruby/terminal-table/metadata.xml
new file mode 100644
index 000000000000..3df5c34efc94
--- /dev/null
+++ b/dev-ruby/terminal-table/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-ruby/terminal-table/terminal-table-1.8.0-r2.ebuild b/dev-ruby/terminal-table/terminal-table-1.8.0-r2.ebuild
new file mode 100644
index 000000000000..c065740a9391
--- /dev/null
+++ b/dev-ruby/terminal-table/terminal-table-1.8.0-r2.ebuild
@@ -0,0 +1,32 @@
+# 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="History.rdoc README.rdoc Todo.rdoc"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple, feature rich ascii table generation library"
+HOMEPAGE="https://github.com/tj/terminal-table"
+SRC_URI="https://github.com/tj/terminal-table/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/unicode-display_width-1.1.1:1"
+
+ruby_add_bdepend "test? ( dev-ruby/term-ansicolor )"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}