mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
dev-ruby/unicode-display_width: add 3.1.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
efd721e8c4
commit
b0b185726b
@ -1,2 +1,3 @@
|
||||
DIST unicode-display_width-2.6.0.tar.gz 13178 BLAKE2B 416929b43d494e59a6d790f775215e30ee8ca24404f99193757d79575ec952567164731eb4cdefe836edc70e56fe176c416bab182a51ee6b1d9e5c959e7c8658 SHA512 f67178a3907175575038204d84a71a466bafe73f9519bdd65b4ca6fa0dd9a1ff21937daa7914ff2881c3d7343a16f22863d7bfe6dd5e223c3d44fed730abe7e4
|
||||
DIST unicode-display_width-3.1.4.tar.gz 19753 BLAKE2B bc99d3551d6be9f1e3982c6c34d7b5432f9314cfa4a009576c0eea42f2a5e628f0587973518f94aeabb6a0248617e0c5be3fa81110ebf5f7a315a9036911bc0b SHA512 c820c31401992161f8cf94021d837f59b6791693cd1decdc32468097d9b3bc1d37bd18ebf79a4c2b86288b18fc30e64624f077306e24fa8d10f6527757a9fffc
|
||||
DIST unicode-display_width-3.1.5.tar.gz 19759 BLAKE2B f27fcc131486dbb2058902fc153978883cec23920a5394ea7e3fe060cc84a71d8226624e9f662e18ed6467f8c461dbbbaa78c5be0465153b2171ffa11d876e12 SHA512 01ad48ba36c12c259b1285b013ab6a68714bac3b63b9b4f9ae5aeb5c867c95e15331d695321a0cf7dbfda90be53677cf65e4dd7bae21054624f4d052735f358a
|
||||
|
||||
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
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"
|
||||
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/unicode-emoji-4.0.4:4"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid experimental emoji support for now
|
||||
sed -e '/\[emoji\]/,/^ end/ s:^:#:' \
|
||||
-e '/Config object based API/,/^end/ s:^:#:' \
|
||||
-i spec/display_width_spec.rb || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user