diff options
Diffstat (limited to 'dev-ruby/twitter')
-rw-r--r-- | dev-ruby/twitter/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/twitter/twitter-8.0.0.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/twitter/Manifest b/dev-ruby/twitter/Manifest index 902d00eb4ad4..122a9498bcea 100644 --- a/dev-ruby/twitter/Manifest +++ b/dev-ruby/twitter/Manifest @@ -1,3 +1,5 @@ DIST twitter-7.0.0.tar.gz 831181 BLAKE2B aeb888bf1551116916cc10a4c0278dcee541e953c6e1be09bd95f348b8a2a08075d44c4b8beb736b13564d550b5797184c725141c5c3866f5423afddfdfbea19 SHA512 4b0f831ddb1f54fc5894a15010d17b54c62f6caa3eadd6a1f0e0ef37235f29f53f6315c49213244d79ab3708d5a7b1e1b9735d1f35fa291a66d439db916d3ec7 +DIST twitter-8.0.0.tar.gz 830698 BLAKE2B 187c37adb2971845730ba8ef15f7350083130c1c2f1704f3dc909aee28e8b7742e1a45b3bac8d198eb45f4e415dd15ebfe0099d9e52b7c5a5ec40ca2a6cdaa2e SHA512 b67e97385cb53cb4d75381fb16a6395d0ea72dc2fa0a900ff072ef0ef87947364967da9070e5a2449f5a938740ac0910a342d8ff3bd62095ecfb468b173a754e EBUILD twitter-7.0.0-r3.ebuild 1384 BLAKE2B bf31b86f549905bb0b1fe39ab8cfc165362d9b5ce95bd93050fd798e2f78ca7fd56081a86af69de6d75c5c3a353534f19efcf77ce18f28128c75a4dbb273180b SHA512 f1cb0ff237f0ca08fadce0956364c88ff6cc59338d190e424874bae4dea406ea38d4adb3f2b0c15eb33d30a3550d6294a8a00bb4d62afce0305a1c34e311f9cd +EBUILD twitter-8.0.0.ebuild 1383 BLAKE2B ad6893b4fd581a1c7d2536df6569b45db80ced43556a40349ac44c4d79a92361572aa0bbef5e6e99443c9e64931a5f8cb9d2846a15a11147089f187e9bf982dd SHA512 1ffef31354ac11cb0da39f5ea73b1feb53e0d97044fd9a1b4641cb8a7f18cd1818308ec3b170dfc968e0d5028281229f2df2f0f075e0a83a7f9fd652816b2fa3 MISC metadata.xml 341 BLAKE2B d211a35d4bbfa5dddb3da3a247504abf3bdc657b241631b612487dff7e38497dc681ffbdcf87c4b45f790ea33d6c738f472b8f2965ef7a43633b73146bfb665f SHA512 08d23d7c0d21e14aff124d637f17c50368f6821360323edd3c2885945192aeee64189ad33aaac85810ae0dde359c8da338d0a87ab14f3ebcd812ddb3fd0a6c20 diff --git a/dev-ruby/twitter/twitter-8.0.0.ebuild b/dev-ruby/twitter/twitter-8.0.0.ebuild new file mode 100644 index 000000000000..cb4d2622eb59 --- /dev/null +++ b/dev-ruby/twitter/twitter-8.0.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31" + +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.3.0* + >=dev-ruby/equalizer-0.0.11 + =dev-ruby/equalizer-0.0* + >=dev-ruby/http-5.1:5 + >=dev-ruby/http-form_data-2.3:2 + =dev-ruby/llhttp-ffi-0.4* + =dev-ruby/memoizable-0.4* + =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 +} |