From f5ef7f2371babf22c2c3fad17108692b09e4c98e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 2 May 2024 00:00:17 +0100 Subject: gentoo auto-resync : 02:05:2024 - 00:00:17 --- dev-ruby/twitter/Manifest | 2 ++ dev-ruby/twitter/twitter-8.1.0.ebuild | 59 +++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 dev-ruby/twitter/twitter-8.1.0.ebuild (limited to 'dev-ruby/twitter') diff --git a/dev-ruby/twitter/Manifest b/dev-ruby/twitter/Manifest index 7ccb0f3ddaf5..d60da56dba6c 100644 --- a/dev-ruby/twitter/Manifest +++ b/dev-ruby/twitter/Manifest @@ -1,5 +1,7 @@ DIST twitter-8.0.0.tar.gz 830698 BLAKE2B 187c37adb2971845730ba8ef15f7350083130c1c2f1704f3dc909aee28e8b7742e1a45b3bac8d198eb45f4e415dd15ebfe0099d9e52b7c5a5ec40ca2a6cdaa2e SHA512 b67e97385cb53cb4d75381fb16a6395d0ea72dc2fa0a900ff072ef0ef87947364967da9070e5a2449f5a938740ac0910a342d8ff3bd62095ecfb468b173a754e DIST twitter-8.0.1.tar.gz 830580 BLAKE2B a6a89eeaaf0095b022f31363d153fe980777e6588755115e6a3ee469ece8a753c9abf72747e986858562ec0ea4ca9b0eed31067aee1713dadc221b705db33d7e SHA512 864b882e2797efe7e3c846b8ea39bb323395cacc42128d6a1fe74106249ca4e3419efd04237c5b46a697ce0204a109fbd1af906917820d67f1a2b1ecb71501fa +DIST twitter-8.1.0.tar.gz 830620 BLAKE2B b0ebaf11298b046d7c03d46ae9e185e9fd14ab9b489692ffdb839c65a755e74e6f119e186f7417ae7d0e0987101edc988eb93d3764b8f701545b8e92e60899f6 SHA512 a8ead83a4b6450412e4d13ca2ebebee02f711314f5a9ba8b025474899a5b3001207ba68e8d9ecf9979160c034de4ed2d2df1b5ffe32ceecf2da1a519cd778953 EBUILD twitter-8.0.0.ebuild 1390 BLAKE2B 3acceacd0a4374adace81eb66c32c4578cc92dff3020e857bf0bffa89f2b6ed91be143a11b111e5319dd11177a8cf70d8b61456a2a3fae51141f18806ccd8f5d SHA512 379a2dc0e4cc12d32b0125dc80dc3dd61b8d8bae778011897dd4440c7209180356ee388edb4a816da0167fb094315d96719ca974a8e26eddf8572c50ca5e2cb2 EBUILD twitter-8.0.1.ebuild 1421 BLAKE2B bd1f4fcace4209762047be674dffa6384669041a239470d8162c4fad5dee654a82d91fa99d3d118f119fc573eef340255326549e1c6ac87d0914086cd6ccece2 SHA512 c425469e959b6e986d903440f549e359ae6e689dfca51ac3ad4f6c807664a65fc4d562dfdcef2e30986db114ca6b996686b853878372d7327d7b42e94cda871f +EBUILD twitter-8.1.0.ebuild 1436 BLAKE2B d35c23323deadf80ff5814325e5ebb52926071d7a49d74ed910d7ef67add6e0e5c25ba23823f924b3f907da5f9f70ca3a706dbc8db772d7daf8f08647b4656ad SHA512 80f0e883d95fa3b0c3f1f484ff996f764beab3f94faccc988617c82b0be6c954e4513163595ec6282a516e261134cebb68ff3b612a27ae0ffbad6e1a656a5885 MISC metadata.xml 346 BLAKE2B 3538648e89465a1bd5cd04d5b5c72b3e56637b991dffd3d293a638bb17b83eb86f3bb7d979274943c95f0d5fbc2a579ab3f67253ec19f7a3b19090b37cef4c47 SHA512 1e74762aa782db5e5792052a5887bdfc05dcfddbeec4d7431b57989a84166fa0f87168ae72b4ebd440dbbb5417bc8b7060f9a5496450057a13ad7efaed1aea03 diff --git a/dev-ruby/twitter/twitter-8.1.0.ebuild b/dev-ruby/twitter/twitter-8.1.0.ebuild new file mode 100644 index 000000000000..6b57d05ec259 --- /dev/null +++ b/dev-ruby/twitter/twitter-8.1.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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-ruby/" +SRC_URI="https://github.com/sferik/twitter-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="twitter-ruby-${PV}" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.8 + =dev-ruby/buftok-0.3.0* + >=dev-ruby/equalizer-0.0.11 + =dev-ruby/equalizer-0.0* + >=dev-ruby/http-5.2:5 + >=dev-ruby/http-form_data-2.3:2 + =dev-ruby/llhttp-ffi-0.5* + =dev-ruby/memoizable-0.4* + >=dev-ruby/multipart-post-2.4:0 + >=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 +} -- cgit v1.2.3