summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-02-10 19:32:25 +0100
committerHans de Graaff <graaff@gentoo.org>2019-02-11 06:18:15 +0100
commit37fa9d308558521680fda224d1b905fa382e35f9 (patch)
tree5b71ef606839a4d9dcc719735f30f8d4de5ece36
parentwww-apps/nanoc: cleanup (diff)
downloadgentoo-37fa9d308558521680fda224d1b905fa382e35f9.tar.gz
gentoo-37fa9d308558521680fda224d1b905fa382e35f9.tar.bz2
gentoo-37fa9d308558521680fda224d1b905fa382e35f9.zip
dev-ruby/twitter-text: add 3.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r--dev-ruby/twitter-text/Manifest1
-rw-r--r--dev-ruby/twitter-text/twitter-text-3.0.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/twitter-text/Manifest b/dev-ruby/twitter-text/Manifest
index 8595e9d0462..cb5af5ec378 100644
--- a/dev-ruby/twitter-text/Manifest
+++ b/dev-ruby/twitter-text/Manifest
@@ -1,2 +1,3 @@
DIST twitter-text-1.14.7.gem 48128 BLAKE2B c80b9cb894438ca427ab3ba864362bd3b1b58a852c4720178fdbffef7d42b276a62d6c39d2163fa875101210a72cebbe2e4aad5c080631f07efb3657da2668b5 SHA512 98addbf8efe7b9f2685f00827194dbb255b31512e8aa5c9dab22ec08b95ccebbcf53790dfc983e71b0644c687b4db98c5d30f74f15b925377403b4d5cf6e5194
DIST twitter-text-2.1.0.gem 54784 BLAKE2B e0ee791f63d43f8ff8d87f5b4cca337761efac24417702ba5cc0fb50db3b622ef86a2d4ca1ce753272668df825fd92ac561a2cc528ae6435976d830d1ac9a329 SHA512 ac23e05f13a008d733a9417d47e633838584b548a41741a28ca399e1548344b39081b0c6677b7be9df1feb6ffcc491718ddfb5cd55cffb63d7bb680f1431907c
+DIST twitter-text-3.0.0.gem 58880 BLAKE2B daf80ac931ee68a9f0f84ae13433169c70147dd738039b95268e01da59c61717f1df067685df5923bb799b728d788316c3bc7cf1da5b5dc209c485220e8bc8aa SHA512 2afd07636e1cfe140ff26e52ec8a4c23b6116f7166a73e1af1fec283aff7549c06ff46ed51fd178acddd607c1f9c82eff1eee7cb3ce81eeb78a73305e14120ad
diff --git a/dev-ruby/twitter-text/twitter-text-3.0.0.ebuild b/dev-ruby/twitter-text/twitter-text-3.0.0.ebuild
new file mode 100644
index 00000000000..ea59fca6049
--- /dev/null
+++ b/dev-ruby/twitter-text/twitter-text-3.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+
+RUBY_FAKEGEM_EXTRAINSTALL="config"
+
+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
+}