diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-06-05 07:43:53 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-06-05 07:43:53 +0200 |
commit | ac0fb96b7c7d90f601d86ab6789ccc8215075773 (patch) | |
tree | 6b6defbbd17bea86bee6a2c869eeddc9e9c91516 /dev-ruby/tins | |
parent | dev-ruby/test-unit: add 3.4.4 (diff) | |
download | gentoo-ac0fb96b7c7d90f601d86ab6789ccc8215075773.tar.gz gentoo-ac0fb96b7c7d90f601d86ab6789ccc8215075773.tar.bz2 gentoo-ac0fb96b7c7d90f601d86ab6789ccc8215075773.zip |
dev-ruby/tins: add 1.29.1
Package-Manager: Portage-3.0.18, Repoman-3.0.2
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.29.1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/tins/Manifest b/dev-ruby/tins/Manifest index cf779b8df2eb..4af2e0d70091 100644 --- a/dev-ruby/tins/Manifest +++ b/dev-ruby/tins/Manifest @@ -4,3 +4,4 @@ DIST tins-1.24.1.gem 306688 BLAKE2B 64020840eca05dc90402310d2f66a8af2a029954ae8f DIST tins-1.25.0.gem 306688 BLAKE2B 1dfbcfeea4fa88d1a227c5b15dce5f8fbf2bdd8b526d6ec6aae14a309bb8267c89e02b861e0f89c6b0f22638cfce5fde53b07f4bc61838530672b6c9dda2b95a SHA512 e8afd89f39647f0722db3128fdb4e826f8beac5f4c081a4fc95c6e8c9a59129f523af81f953dcffd513172c17173c6ffdc0ce2c215b6073c3b94659c998dc3d0 DIST tins-1.26.0.gem 306688 BLAKE2B 0e3dc0a2493d95d4d32fd0f37c462cf37ad736b186ae5ee421570a9be7b8155b9d7b10d66ec748b22df99eefc31ccd8d1d7c22f8552d1e62a82f94991ee85149 SHA512 adb5e29420d13a0c147262bb4eaf5289c793795ea929a0e4e9e611658bf97e76edfdb008cff657719f497b0b146a23c497c8adb128014fba390389483e533cfd DIST tins-1.28.0.gem 306688 BLAKE2B ddb7706ac0a24d913d6bd9256b819218e4d31c0c614f0c9b59758b60b5f7d3670c9bec89c55317a00bb6b4c6d381b236c86cf049489f899e1186d21fe04c2912 SHA512 5b24d1f68226755b1e35e6af5d7c234d0126be5f2638ff50aea61877dca2f640bf5cfca73d39268bbe5624cdc420d256e128dfe0faf59129228826fab36defa9 +DIST tins-1.29.1.gem 307200 BLAKE2B b7e95094662df021d81ea7b580cee5c4ce8f9fa6a09ecf63afa2c84f42ffab62f96f37ae734392021506da373ccabbf68c2dbf55f5ff09224168e24031b1fa99 SHA512 043a49d0755bb158cfd60554b530cd315cfe869520ab02ee819addc0fea39f441960a6c416753c0e69dc0dbf122523842f940ff89dcb43e64f5825a2c0c5a53e diff --git a/dev-ruby/tins/tins-1.29.1.ebuild b/dev-ruby/tins/tins-1.29.1.ebuild new file mode 100644 index 000000000000..3f51213ee411 --- /dev/null +++ b/dev-ruby/tins/tins-1.29.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +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 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# Earlier versions of ruby bundled this dependency +USE_RUBY="ruby26 ruby27 ruby30" ruby_add_rdepend "dev-ruby/sync" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_prepare() { + case ${RUBY} in + *ruby25) + sed -i -e '/sync/d' ${RUBY_FAKEGEM_GEMSPEC} || die + ;; + esac +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} |