summaryrefslogtreecommitdiff
path: root/dev-ruby/twitter-text
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/twitter-text')
-rw-r--r--dev-ruby/twitter-text/Manifest3
-rw-r--r--dev-ruby/twitter-text/metadata.xml11
-rw-r--r--dev-ruby/twitter-text/twitter-text-1.14.7.ebuild30
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/twitter-text/Manifest b/dev-ruby/twitter-text/Manifest
new file mode 100644
index 000000000000..697b2a7b8578
--- /dev/null
+++ b/dev-ruby/twitter-text/Manifest
@@ -0,0 +1,3 @@
+DIST twitter-text-1.14.7.gem 48128 BLAKE2B c80b9cb894438ca427ab3ba864362bd3b1b58a852c4720178fdbffef7d42b276a62d6c39d2163fa875101210a72cebbe2e4aad5c080631f07efb3657da2668b5 SHA512 98addbf8efe7b9f2685f00827194dbb255b31512e8aa5c9dab22ec08b95ccebbcf53790dfc983e71b0644c687b4db98c5d30f74f15b925377403b4d5cf6e5194
+EBUILD twitter-text-1.14.7.ebuild 680 BLAKE2B c29b150b4c4e45ffb53d1d9e08c6f3ef07d83243f3d9557d3f423b1ad54d5fa9528e3219db8b719ffe9be35b2cae82f10487c5399928d3fab8a2e86068212548 SHA512 79b220db94ad7d250ac8bba09205e7efee7c2217d2b4dc08d1b52af714a16de2b9340676c531ef11bd47a78a83041dda69e34f7c0676dd9d20cc8a4875575ce3
+MISC metadata.xml 346 BLAKE2B 3c20459269b0d8df90be33c5884c0e5925e9f2cde075ebac70a03e74e8afc51cb0d652aa4825099a775cd266e50e47ed6b2efc12a1ac253b68fce15a97766101 SHA512 89f26f9a6f6b3ae47bfbfcdb944b44b17f4fc9217c6858d88c3127dbe580f8e00575c6214cbe62f8e5e83e3d662255757c03d4c5608e69229c0417f55ae23bb1
diff --git a/dev-ruby/twitter-text/metadata.xml b/dev-ruby/twitter-text/metadata.xml
new file mode 100644
index 000000000000..d4d877c50e52
--- /dev/null
+++ b/dev-ruby/twitter-text/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">twitter/twitter-text</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/twitter-text/twitter-text-1.14.7.ebuild b/dev-ruby/twitter-text/twitter-text-1.14.7.ebuild
new file mode 100644
index 000000000000..e619358f7b9b
--- /dev/null
+++ b/dev-ruby/twitter-text/twitter-text-1.14.7.ebuild
@@ -0,0 +1,30 @@
+# 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
+
+DESCRIPTION="Text handling for Twitter"
+HOMEPAGE="https://github.com/twitter/twitter-text"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "=dev-ruby/unf-0.1*"
+
+ruby_add_bdepend "test? ( >=dev-ruby/multi_json-1.3
+ >=dev-ruby/nokogiri-1.5.10 )"
+
+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
+}