From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/twitter/
Date: Thu, 28 Jul 2022 08:28:06 +0000 (UTC) [thread overview]
Message-ID: <1658996882.1882c6a8a29064e0b3ea21472b1aa574ec9fd55c.graaff@gentoo> (raw)
commit: 1882c6a8a29064e0b3ea21472b1aa574ec9fd55c
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 07:49:14 2022 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 08:28:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1882c6a8
dev-ruby/twitter: EAPI 7 -> 8, add ruby30
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
| 58 ++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
--git a/dev-ruby/twitter/twitter-7.0.0-r2.ebuild b/dev-ruby/twitter/twitter-7.0.0-r2.ebuild
new file mode 100644
index 000000000000..6f9c0eb2ee14
--- /dev/null
+++ b/dev-ruby/twitter/twitter-7.0.0-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="twitter.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby wrapper around the Twitter API"
+HOMEPAGE="https://github.com/sferik/twitter/"
+SRC_URI="https://github.com/sferik/twitter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/addressable-2.3
+ =dev-ruby/buftok-0.2.0*
+ >=dev-ruby/equalizer-0.0.11
+ =dev-ruby/equalizer-0.0*
+ dev-ruby/http:4
+ dev-ruby/http-form_data:2
+ >=dev-ruby/http_parser_rb-0.6.0
+ >=dev-ruby/memoizable-0.4.2
+ =dev-ruby/multipart-post-2*
+ >=dev-ruby/naught-1.1
+ =dev-ruby/simple_oauth-0.3*
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec:3
+ dev-ruby/webmock:3
+ >=dev-ruby/timecop-0.6.1
+ )
+ doc? ( dev-ruby/yard )"
+
+all_ruby_prepare() {
+# rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code."
+
+ sed -i -e '/simplecov/,/^end/ s:^:#:' \
+ -e '1igem "webmock", "~>3.0"' spec/helper.rb || die
+
+ # Avoid a spec that fails due to changes in dependencies.
+ sed -i -e '/#reverse_token/,/^ end/ s:^:#:' \
+ spec/twitter/rest/oauth_spec.rb
+}
+
+each_ruby_test() {
+ CI=true RSPEC_VERSION=3 ruby-ng_rspec || die
+}
next reply other threads:[~2022-07-28 8:28 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-28 8:28 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-01 7:42 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/twitter/ Hans de Graaff
2025-05-03 5:43 Hans de Graaff
2024-07-14 7:48 Hans de Graaff
2024-05-01 6:36 Hans de Graaff
2023-09-22 5:54 Hans de Graaff
2023-09-22 5:54 Hans de Graaff
2023-09-17 6:08 Hans de Graaff
2023-07-09 12:23 Hans de Graaff
2023-04-01 23:53 Sam James
2023-03-31 1:07 Sam James
2022-08-29 6:50 Hans de Graaff
2022-08-29 6:50 Hans de Graaff
2021-10-24 5:56 Hans de Graaff
2021-04-03 5:37 Hans de Graaff
2020-02-15 7:45 Hans de Graaff
2019-10-02 11:45 Hans de Graaff
2018-07-30 19:39 Hans de Graaff
2018-06-16 6:12 Hans de Graaff
2018-04-29 6:44 Hans de Graaff
2018-02-20 6:49 Hans de Graaff
2017-11-09 6:31 Hans de Graaff
2017-07-23 6:10 Hans de Graaff
2017-05-06 7:52 Hans de Graaff
2017-04-06 7:46 Hans de Graaff
2017-03-23 6:27 Hans de Graaff
2017-02-14 5:36 Hans de Graaff
2016-07-08 5:09 Hans de Graaff
2016-07-08 5:09 Hans de Graaff
2016-03-28 21:57 Manuel Rüger
2016-02-13 6:46 Hans de Graaff
2015-09-07 6:04 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1658996882.1882c6a8a29064e0b3ea21472b1aa574ec9fd55c.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox