diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-23 18:53:43 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-23 18:53:43 +0000 |
| commit | 34e9d0eb3bd4e5fcec171a5f2668df1af93534b6 (patch) | |
| tree | 8ece8640b04fea3a7b5c2f94d8dfa9211ce8ea02 /dev-ruby/unicode-display_width/unicode-display_width-3.1.4.ebuild | |
| parent | cc9073f1ce5239f13420993250d54677183f20cb (diff) | |
| download | srcux-34e9d0eb3bd4e5fcec171a5f2668df1af93534b6.tar.gz srcux-34e9d0eb3bd4e5fcec171a5f2668df1af93534b6.tar.xz srcux-34e9d0eb3bd4e5fcec171a5f2668df1af93534b6.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/unicode-display_width/unicode-display_width-3.1.4.ebuild')
| -rw-r--r-- | dev-ruby/unicode-display_width/unicode-display_width-3.1.4.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/unicode-display_width/unicode-display_width-3.1.4.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-3.1.4.ebuild new file mode 100644 index 000000000000..b00357602331 --- /dev/null +++ b/dev-ruby/unicode-display_width/unicode-display_width-3.1.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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" + +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 +} |
