forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-ruby/unicode-display_width: add 2.3.0
Signed-off-by: Hans de Graaff <[email protected]>
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST unicode-display_width-1.7.0.tar.gz 10822 BLAKE2B c3db387b9d61ba4ea9d5559824b22e40f173f9e9bcf7fdad3dba1edc36b39ae90276818bd54e74a6731bd2cb8c48b28e440d07f7e3cedbd8dc13441f79a2b56c SHA512 2b6d2b0118f4a2ad69e98fe2fac611ca94adc0dc59ad076083d0243c630a81a01d650965149a25feaf8986c262a5d55294e064361420e2140b53c5ced5fb1c77 | ||
DIST unicode-display_width-2.1.0.tar.gz 11981 BLAKE2B b8e70183b1df9f17bd719e1193c3c2ade5d9186772e4246b618d882eda997a0c22ee0179778f7b8580e32ec89461453144d57d198075f0d400ea52f3679ff7dc SHA512 f8fb1375ba0e88a41633d4aca4628198c5ee55f318a7f0055c9178b39f55818ec892f6e455021cf5050dbd1d748a102b319b1d8b9921ed1ba54a1d106d7911aa | ||
DIST unicode-display_width-2.2.0.tar.gz 12077 BLAKE2B f7b26d41e3b70122ddccbfdd44d83550bdab7b59b6801881814f33e50544d9d68ad59f34b58d9e961aaf9e2c709dfc83da8040cb03667e1293958cb23cf987c2 SHA512 85b7b9ed1e82b7865f32ad61208013cf89bcc5df05ac59ca2315545b759ee8da968409cbe89e7e7f30b03e209e811584ece2e99d33ae35413f9b6c318fff7064 | ||
DIST unicode-display_width-2.3.0.tar.gz 12130 BLAKE2B 8a29aa0227e9bc63a8484d9a4f836dd4fccd3515206627e31f820cdef49167c406c67a3c9bae9c75b5e1c25675e1da02015f7eedc09ff413ffcd3e96704ae664 SHA512 82f52512f8338e310e501fd1892cbaf9c8e5b49a8bd191e9fafde72ca1ab5503ddfa81c3633b4ef6bc9e57d805f2792ddb5c6c63948022097feeb9bd7030beec |
29 changes: 29 additions & 0 deletions
29
dev-ruby/unicode-display_width/unicode-display_width-2.3.0.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 1999-2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
USE_RUBY="ruby27 ruby30 ruby31" | ||
|
||
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 ~arm64" | ||
SLOT="$(ver_cut 1)" | ||
IUSE="" | ||
|
||
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 | ||
} |