diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-05-24 05:13:43 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-05-24 06:13:16 +0200 |
commit | 95f66dff25cb5f2326158eda958c3984dd5c8c7d (patch) | |
tree | 53352dc5f65f4a9cdeb4feb6afa4a1ba15d20232 /dev-ruby/tins | |
parent | dev-ruby/websocket-driver: add 0.7.2 (diff) | |
download | gentoo-95f66dff25cb5f2326158eda958c3984dd5c8c7d.tar.gz gentoo-95f66dff25cb5f2326158eda958c3984dd5c8c7d.tar.bz2 gentoo-95f66dff25cb5f2326158eda958c3984dd5c8c7d.zip |
dev-ruby/tins: add 1.25.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/tins')
-rw-r--r-- | dev-ruby/tins/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/tins/tins-1.25.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/tins/Manifest b/dev-ruby/tins/Manifest index 876f7c2ada97..a8862b1b3e19 100644 --- a/dev-ruby/tins/Manifest +++ b/dev-ruby/tins/Manifest @@ -3,3 +3,4 @@ DIST tins-1.20.3.gem 305664 BLAKE2B 26c78cf94acba6651c631b274a98cc7e19d3e215a450 DIST tins-1.21.1.gem 305664 BLAKE2B 1a86b55f0334d4e28fe4d4e67c12103ab4ed53056fb00d9d375ffc9b8213419bf277c37d23970e99c6bd7d3a2035cdde661dd63524b81082739d01271370be9c SHA512 25288e3c8e633bc9cef11b988bf778e75a304a52146a4501cd3ebbeee4c845a6be795d4ce7d01b24ff4a9a122fc16afbc20d9d88f7b1559c9b433d8f9282e29d DIST tins-1.22.2.gem 306688 BLAKE2B c5b0aed29b763d37707de47a57419d9af934a0949417003707fd13a7e9e4a0d82fb905843ceac75a384c6ca9592471c15bc28ea63af4890ce54076f5c2f67d7c SHA512 6b93242d9c63a84de690c381086fd454714cdb0e82ce6eda4deb5d66a8b9ca4bbc5e2c502c258045b06aecb76487eddd019ca267b872717df36cdaf840ae97e7 DIST tins-1.24.1.gem 306688 BLAKE2B 64020840eca05dc90402310d2f66a8af2a029954ae8f7b37275c257fc402cc7a6c4f75d8a8f506edf49531b6e1d16112db63094f76736e2e3ee213fb88c92b98 SHA512 3df7a43e63f42d48033410affc5b5990864c563c294678b9070bb4dc9c9d47d3783d4e8fc9c4280f6e00304781dae40585df73a8deaac1f228bfc5dadb961b38 +DIST tins-1.25.0.gem 306688 BLAKE2B 1dfbcfeea4fa88d1a227c5b15dce5f8fbf2bdd8b526d6ec6aae14a309bb8267c89e02b861e0f89c6b0f22638cfce5fde53b07f4bc61838530672b6c9dda2b95a SHA512 e8afd89f39647f0722db3128fdb4e826f8beac5f4c081a4fc95c6e8c9a59129f523af81f953dcffd513172c17173c6ffdc0ce2c215b6073c3b94659c998dc3d0 diff --git a/dev-ruby/tins/tins-1.25.0.ebuild b/dev-ruby/tins/tins-1.25.0.ebuild new file mode 100644 index 000000000000..cde93a82c4cc --- /dev/null +++ b/dev-ruby/tins/tins-1.25.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="All the stuff that isn't good enough for a real library" +HOMEPAGE="https://github.com/flori/tins" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# Earlier versions of ruby bundled this dependency +USE_RUBY="ruby26 ruby27" ruby_add_rdepend "dev-ruby/sync" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_prepare() { + case ${RUBY} in + *ruby24|*ruby25) + sed -i -e '/sync/d' ${RUBY_FAKEGEM_GEMSPEC} || die + ;; + esac +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} |