diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-08 15:27:21 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-08 15:27:21 +0000 |
| commit | c9d7536109ab2e5a10e025d90c93c2fe5e86dca9 (patch) | |
| tree | 097b625c6b3c7f83f05796575cfb100fab99f7a9 /dev-ruby/unicode-display_width/unicode-display_width-2.4.2.ebuild | |
| parent | 4de55f55553219be34f4cee4a32c02197c938e62 (diff) | |
| download | baldeagleos-repo-c9d7536109ab2e5a10e025d90c93c2fe5e86dca9.tar.gz baldeagleos-repo-c9d7536109ab2e5a10e025d90c93c2fe5e86dca9.tar.xz baldeagleos-repo-c9d7536109ab2e5a10e025d90c93c2fe5e86dca9.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/unicode-display_width/unicode-display_width-2.4.2.ebuild')
| -rw-r--r-- | dev-ruby/unicode-display_width/unicode-display_width-2.4.2.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/unicode-display_width/unicode-display_width-2.4.2.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-2.4.2.ebuild new file mode 100644 index 000000000000..0be3be30a89d --- /dev/null +++ b/dev-ruby/unicode-display_width/unicode-display_width-2.4.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 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 +} |
