diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-17 01:16:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-17 01:16:38 +0000 |
commit | 53cba99042fa967e2a93da9f8db806fe2d035543 (patch) | |
tree | 9780d3b87dfc6bdebc6b7b7d15af1ecb813c6853 /dev-ruby/twitter | |
parent | 71deace00d1a2b091313fe137ab7092418c6f87c (diff) |
gentoo resync : 17.02.2020
Diffstat (limited to 'dev-ruby/twitter')
-rw-r--r-- | dev-ruby/twitter/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/twitter/twitter-7.0.0.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/twitter/Manifest b/dev-ruby/twitter/Manifest index 694e6274b790..ecdade7d1625 100644 --- a/dev-ruby/twitter/Manifest +++ b/dev-ruby/twitter/Manifest @@ -1,3 +1,5 @@ DIST twitter-6.2.0.tar.gz 519470 BLAKE2B 4c3d929d8706845610b31c8ae702563d0330a95a165e417b77ecfd894b1f216100678c9862856c3c450952e3025940a701d96f0aeb1b29de55e612c6c69ab231 SHA512 5d2bd653233f285e0c08503031317a966ec098e9b302f9e0c65bdbf4632465988b1139719dae1cabb856b08200fc7793cd341fd926981484cf416a01f309d242 +DIST twitter-7.0.0.tar.gz 831181 BLAKE2B aeb888bf1551116916cc10a4c0278dcee541e953c6e1be09bd95f348b8a2a08075d44c4b8beb736b13564d550b5797184c725141c5c3866f5423afddfdfbea19 SHA512 4b0f831ddb1f54fc5894a15010d17b54c62f6caa3eadd6a1f0e0ef37235f29f53f6315c49213244d79ab3708d5a7b1e1b9735d1f35fa291a66d439db916d3ec7 EBUILD twitter-6.2.0.ebuild 1459 BLAKE2B ee25987ddef02c3f3a47d7546a0ed64a0da08fa67d81aa8d25d95352b8683db44f3c3d775a408d26c7deaf57087745dafca8dbac16b49ad7738e278b3f88f52b SHA512 6a1b406613a783379df2b5619a1bd91c3876993567b6ac54380aa73efb7a3b694fd7ca82af6fb2ffcd9ef4dc46d8d932ef6c46bc0b3aed9ecd7bc2f9103bad81 +EBUILD twitter-7.0.0.ebuild 1386 BLAKE2B 1e7b27a1e9c6a93ee3ef96f940c5e0557f2d55f9ebaa4ec6a6478b0e0465456458621c866d34d140f6db8957dea1c07f0c2db162aec5e922395858c38085cdb4 SHA512 039c23cec22655ba1680bfc6cb99ec6e0f02f694477d9f96bf449dbfe2c8dada7e47c1765514312347fdbacacb94f7af00527e26cc565f8819c8b47f3b2637bf MISC metadata.xml 340 BLAKE2B a354a967597b16b9fa93b1f41274674bd913c39321768b19ae9cf81937e53eab05bf616bcde5b375bdd2de0e91f141edc6def3d60d3d7f75732875c529d2e153 SHA512 504babcfb5a3f49934a8eb1107a5777206c134e5f39d96badd9333c57909e2e378dfa1d88dc49c945a9c5cdcf59406f7e6658c177098fde1cd2c12314f9ca239 diff --git a/dev-ruby/twitter/twitter-7.0.0.ebuild b/dev-ruby/twitter/twitter-7.0.0.ebuild new file mode 100644 index 000000000000..8cf53c9edc4b --- /dev/null +++ b/dev-ruby/twitter/twitter-7.0.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +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://sferik.github.com/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 +} |