From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1180731-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E5BD31382C5
	for <garchives@archives.gentoo.org>; Fri, 19 Jun 2020 13:09:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 99F66E0898;
	Fri, 19 Jun 2020 13:09:49 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BFFBAE0898
	for <gentoo-commits@lists.gentoo.org>; Fri, 19 Jun 2020 13:09:48 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id F316634F3D9
	for <gentoo-commits@lists.gentoo.org>; Fri, 19 Jun 2020 13:09:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 96D1C2A9
	for <gentoo-commits@lists.gentoo.org>; Fri, 19 Jun 2020 13:09:46 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org>
Message-ID: <1592572177.6d2655b62ebf96b93cf71e6839fc456e2147f778.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/unicode-display_width/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/unicode-display_width/Manifest dev-ruby/unicode-display_width/metadata.xml dev-ruby/unicode-display_width/unicode-display_width-1.7.0.ebuild
X-VCS-Directories: dev-ruby/unicode-display_width/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 6d2655b62ebf96b93cf71e6839fc456e2147f778
X-VCS-Branch: master
Date: Fri, 19 Jun 2020 13:09:46 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 779faa54-c705-440e-bf9f-1039b1d4953a
X-Archives-Hash: aba8f1c67231103c16792d1588ea5268

commit:     6d2655b62ebf96b93cf71e6839fc456e2147f778
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 05:31:27 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 13:09:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2655b6

dev-ruby/unicode-display_width: import 1.7.0

Dependency for forthcoming dev-ruby/terminal-table.

Migrated from "graaff" overlay.

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

 dev-ruby/unicode-display_width/Manifest            |  1 +
 dev-ruby/unicode-display_width/metadata.xml        |  8 +++++++
 .../unicode-display_width-1.7.0.ebuild             | 27 ++++++++++++++++++++++
 3 files changed, 36 insertions(+)

diff --git a/dev-ruby/unicode-display_width/Manifest b/dev-ruby/unicode-display_width/Manifest
new file mode 100644
index 00000000000..d92eee58c49
--- /dev/null
+++ b/dev-ruby/unicode-display_width/Manifest
@@ -0,0 +1 @@
+DIST unicode-display_width-1.7.0.tar.gz 10822 BLAKE2B c3db387b9d61ba4ea9d5559824b22e40f173f9e9bcf7fdad3dba1edc36b39ae90276818bd54e74a6731bd2cb8c48b28e440d07f7e3cedbd8dc13441f79a2b56c SHA512 2b6d2b0118f4a2ad69e98fe2fac611ca94adc0dc59ad076083d0243c630a81a01d650965149a25feaf8986c262a5d55294e064361420e2140b53c5ced5fb1c77

diff --git a/dev-ruby/unicode-display_width/metadata.xml b/dev-ruby/unicode-display_width/metadata.xml
new file mode 100644
index 00000000000..3df5c34efc9
--- /dev/null
+++ b/dev-ruby/unicode-display_width/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/unicode-display_width/unicode-display_width-1.7.0.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-1.7.0.ebuild
new file mode 100644
index 00000000000..9f37f42673d
--- /dev/null
+++ b/dev-ruby/unicode-display_width/unicode-display_width-1.7.0.ebuild
@@ -0,0 +1,27 @@
+# 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_EXTRAINSTALL="data"
+
+RUBY_FAKEGEM_GEMSPEC="unicode-display_width.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Adds String#display_width to get the display size using EastAsianWidth.txt"
+HOMEPAGE="https://github.com/janlelis/unicode-display_width"
+SRC_URI="https://github.com/janlelis/unicode-display_width/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="$(ver_cut 1)"
+IUSE=""
+
+all_ruby_prepare() {
+	# Avoid experimental emoji support for now
+	sed -i -e '/\[emoji\]/,/^  end/ s:^:#:' spec/display_width_spec.rb || die
+}