mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/twitter-text: add 2.1.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST twitter-text-1.14.7.gem 48128 BLAKE2B c80b9cb894438ca427ab3ba864362bd3b1b58a852c4720178fdbffef7d42b276a62d6c39d2163fa875101210a72cebbe2e4aad5c080631f07efb3657da2668b5 SHA512 98addbf8efe7b9f2685f00827194dbb255b31512e8aa5c9dab22ec08b95ccebbcf53790dfc983e71b0644c687b4db98c5d30f74f15b925377403b4d5cf6e5194
|
||||
DIST twitter-text-2.1.0.gem 54784 BLAKE2B e0ee791f63d43f8ff8d87f5b4cca337761efac24417702ba5cc0fb50db3b622ef86a2d4ca1ce753272668df825fd92ac561a2cc528ae6435976d830d1ac9a329 SHA512 ac23e05f13a008d733a9417d47e633838584b548a41741a28ca399e1548344b39081b0c6677b7be9df1feb6ffcc491718ddfb5cd55cffb63d7bb680f1431907c
|
||||
|
||||
33
dev-ruby/twitter-text/twitter-text-2.1.0.ebuild
Normal file
33
dev-ruby/twitter-text/twitter-text-2.1.0.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem eapi7-ver
|
||||
|
||||
DESCRIPTION="Text handling for Twitter"
|
||||
HOMEPAGE="https://github.com/twitter/twitter-text"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/idn-ruby
|
||||
=dev-ruby/unf-0.1*
|
||||
"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/multi_json-1.3
|
||||
>=dev-ruby/nokogiri-1.8.0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e 's/2.14.0/2.14/' twitter-text.gemspec || die
|
||||
sed -i -e '/simplecov/,/end/ s:^:#:' spec/spec_helper.rb || die
|
||||
}
|
||||
Reference in New Issue
Block a user