diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
commit | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (patch) | |
tree | 8d58c1f4b049da677b33209b072f2b3057268fe0 /dev-ruby/maxitest | |
parent | 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (diff) |
gentoo resync : 02.03.2018
Diffstat (limited to 'dev-ruby/maxitest')
-rw-r--r-- | dev-ruby/maxitest/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/maxitest/maxitest-2.5.0.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/maxitest/maxitest-2.6.0.ebuild | 48 |
3 files changed, 52 insertions, 2 deletions
diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest index 548bd17d5d52..8861400449ed 100644 --- a/dev-ruby/maxitest/Manifest +++ b/dev-ruby/maxitest/Manifest @@ -1,7 +1,9 @@ DIST maxitest-2.4.0.tar.gz 15370 BLAKE2B 1645e818c06c42590e919f73c581407aa38dc4f1ff58fe06c7a5a734c3570a4342c7952cbf5130ca9db66f081a3e4c5d32ca2166d6ed5937474a3bbc093ab13c SHA512 41fc6e8eaaebad76278e19574c48e5192363ef466327e83cfd5a3490b98d157bb736556cde57c01180a353ac383e583fed6433443e24a5a5fb6159ed9821a323 DIST maxitest-2.4.1.tar.gz 59653 BLAKE2B 8bdaea5ad48d30cef9c07947634b05f6e5cc8f8e74f985321b1878e26cc36680cf6f6c2d069e947342a5f0e2f2346347952e6121198b0b74af31b0d58bef4070 SHA512 b1c1faeda4c670083d3564a0763ccb4005954e018aed4a574fb4ddcba16c943b1da8ae471d8df5aca9c1010a19605d55609186b4ab56c13b033ad67ed6c9eb27 DIST maxitest-2.5.0.tar.gz 59771 BLAKE2B 53fe709a89d33dabd3230ab40a3d85582d2bd918a7e33ffe65c9787707858227c9de6698a0ddd0774d2a04591af46aca19fb043bb740af3197dcf65645d4e722 SHA512 9afca516047ba2261770f497f6be2363dfe2476816295e35eccb4ee36830f3aad373a20dcb10ade7fb36285cc99d11ccd4b4928583183deadb087ea1cf32f181 +DIST maxitest-2.6.0.tar.gz 59787 BLAKE2B 2cc8ceed05d0db29c8d5a2d063842b811575124351cc2ef1dbe9f59ed8dc738cb1a21aa7465debe7895676d143d36281726e8d952bbacbb992c256baba47aaf6 SHA512 c3a748eff29b54b48f5ea982d5197116e0f823e1e8e78b50c8763d7fc52fc5f0ccfeaf8c2e6ca0e97dfc7f05fb515a94a310788b89e1e82bf3a26d69261ea345 EBUILD maxitest-2.4.0.ebuild 1309 BLAKE2B 9cbf011c54cb4c8d5fb9d167cc95ca509a60a534ffe399229a15b719ebd28264c123fb0c6fb4c57be4c45a3326207f7adad88a75e485961f782e4071e1663ea6 SHA512 4f6602f895c2b8b6674afdd48ab80457efe781e31c19ebc6a6645e3ec282fe9051d6a64e42cd4aaa3147056c0ed2b496000dd52965be880a4ea288b155653dc9 EBUILD maxitest-2.4.1.ebuild 1303 BLAKE2B 425fa63a294a2294a5b16e35f7723804d2db864cfcbff3ead296d0f76ffeb72e3784d944bab085ab2d3a34b6eefeec0de420629d86d7fc08e04f280f1b81dd5e SHA512 99f4dabba47c74759643688119b9c538e25861a6549643edcbba2eedae4b543717edc4b0ed2554fba3eb027c3321af9e85bfaffea6c000fc6401df9993820a7f -EBUILD maxitest-2.5.0.ebuild 1303 BLAKE2B 425fa63a294a2294a5b16e35f7723804d2db864cfcbff3ead296d0f76ffeb72e3784d944bab085ab2d3a34b6eefeec0de420629d86d7fc08e04f280f1b81dd5e SHA512 99f4dabba47c74759643688119b9c538e25861a6549643edcbba2eedae4b543717edc4b0ed2554fba3eb027c3321af9e85bfaffea6c000fc6401df9993820a7f +EBUILD maxitest-2.5.0.ebuild 1308 BLAKE2B ee30be1d8a18b32222541e95a8f3caf3c1c0575da6aa8fd34fb44cc7f1e3f68f95195292fe4c689bd4a82af960599fdad9e3022decb1421fa292a5368a0f7a03 SHA512 bbb0630d3ba29f5f3391e9c1bc4e38a1bd8c9422277dfa5386fa3ac991aafaa5a443b226c4be18fce26e5377a3830789ebdd2e34b75a40676fbdcdd51e013e69 +EBUILD maxitest-2.6.0.ebuild 1308 BLAKE2B ee30be1d8a18b32222541e95a8f3caf3c1c0575da6aa8fd34fb44cc7f1e3f68f95195292fe4c689bd4a82af960599fdad9e3022decb1421fa292a5368a0f7a03 SHA512 bbb0630d3ba29f5f3391e9c1bc4e38a1bd8c9422277dfa5386fa3ac991aafaa5a443b226c4be18fce26e5377a3830789ebdd2e34b75a40676fbdcdd51e013e69 MISC metadata.xml 332 BLAKE2B cdef4488ce14b1d8addc2b3f23fa74aa64022d4ed2dfea7a84c85122e357806dd3a466ec2f4fb0fd486373055a78ae579c0f68c90a22b8940499e1ae29c29ded SHA512 ad86da72b8bc8895b0e09bc9e435eefec9ca1738e8b34aceaa959b2431b35c2732c704bd68a02d02c3c88912c20395f8601e2d42ec26f5d15c064893c0ceff0e diff --git a/dev-ruby/maxitest/maxitest-2.5.0.ebuild b/dev-ruby/maxitest/maxitest-2.5.0.ebuild index 8430d280fdfe..e9682b074eb9 100644 --- a/dev-ruby/maxitest/maxitest-2.5.0.ebuild +++ b/dev-ruby/maxitest/maxitest-2.5.0.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="MIT" SLOT="1" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" ruby_add_rdepend "<dev-ruby/minitest-5.12:5" diff --git a/dev-ruby/maxitest/maxitest-2.6.0.ebuild b/dev-ruby/maxitest/maxitest-2.6.0.ebuild new file mode 100644 index 000000000000..e9682b074eb9 --- /dev/null +++ b/dev-ruby/maxitest/maxitest-2.6.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit versionator ruby-fakegem + +DESCRIPTION="Minitest + all the features you always wanted" +HOMEPAGE="https://github.com/grosser/maxitest" +SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "<dev-ruby/minitest-5.12:5" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + # Remove developer-only gems from the gemspec and avoid git issues + sed -i -e '/\(bump\|wwtd\)/ s:^:#:' \ + -e 's/git ls-files/find/' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/byebug/ s:^:#:' Gemfile || die + +} + +each_ruby_prepare() { + # Use the correct target + sed -i -e '/sh/ s:ruby:'${RUBY}':' \ + -e '/sh/ s:mtest:'${RUBY}' -S mtest:' \ + spec/maxitest_spec.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RSPEC_VERSION=3 ruby-ng_rspec spec +} |