From 3f71901f8c228f4de570abed1831ce3ee425343e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 8 Sep 2018 10:50:14 +0100 Subject: gentoo resync 08.09.2018 --- dev-ruby/rake-compiler/Manifest | 2 + dev-ruby/rake-compiler/rake-compiler-1.0.5.ebuild | 49 +++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 dev-ruby/rake-compiler/rake-compiler-1.0.5.ebuild (limited to 'dev-ruby/rake-compiler') diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest index 71635f1e5d44..df9080e1b82f 100644 --- a/dev-ruby/rake-compiler/Manifest +++ b/dev-ruby/rake-compiler/Manifest @@ -1,5 +1,7 @@ DIST rake-compiler-1.0.2.tar.gz 32823 BLAKE2B 0751435c46a881b0501bcb6c4e1e29abe8a156f02aca79ccd4a6cf472ff696f8be89c4e8f860dc74e27a093a586b10c9a59e1df7b496ef3f530ab07dd84e8dcd SHA512 ef7132eff3afb29e98ce21facfd663cfe495053ca98d54b26275ee8e186c91f81f0450e52bf282bfad64e1443f6e065aefa62a30692895648a89966a8a0f0ebe DIST rake-compiler-1.0.4.tar.gz 33590 BLAKE2B 932e87a4d1405df4ce65b905f5d5d2b090ac17bf8cfde4a767952ad4debb83064ef368ecec33c9f3569d317b4e0fb24016f33777a03f0c88e3aedd689cdd4151 SHA512 fc015d8f6dcc2ba380dbc3eb2959b068f3582e0efcdc765570f5b2c97737db2ba38fb324b9b5bb63d3af822843139561a36758408db637e7716afb3a6074251c +DIST rake-compiler-1.0.5.tar.gz 33910 BLAKE2B 887cce374f25c82c2904b98ccce321054dc994eb0067dace1eb2a4212ac9abe9b5409caa7df13217c32e8f76b4b29b86cff538f0293da2e1a23a885091cc7e05 SHA512 e1d7016600d2acf0203891c52d836b85b835ddd5eff58b4b6679440d467a100f2d9ea35dc58bde0bcd03852790d439d3c8e44111a66640e85b11ae95c896e6b9 EBUILD rake-compiler-1.0.2.ebuild 1223 BLAKE2B ad478e67dbc11a60b59fac6586611302bb638c2b6bc1a84b257de5a5998f4a2e3aed686e53f9c33ceec859685a5ae7cf1faf11123d1a764514cb6a87f19f7304 SHA512 c319bdd8c839fe97371dd862f6f0aede3d1b0d6d7e55200fbf9b7cab85628bae5e8fe52b02359b6e93d36494b2ce80fc64a0fb8885ba9edc7dfd8e9860cf7c0d EBUILD rake-compiler-1.0.4.ebuild 1456 BLAKE2B 93bfee63bc99c4ca9b4f6f690988f46b710b4e1a0a739bba62df4198b1902cba6a6986630114da0e4e456ee3d3f7020aff580f78c76aae16e39871eb753eff57 SHA512 e5129d1fef2a0116ef6f0958a9b5149318696e7f6147a82e7c3f21c94fe4ae684e10a58da6ab09c7567faab24f32ff733e31e7b63c348757b00f9afcf5755d97 +EBUILD rake-compiler-1.0.5.ebuild 1434 BLAKE2B 82affed5d19a10b20db002add8159bc0e57dc163cf69d4935b12b54f3f2db9b04beb929bf2bd2c64a76c0d3518893407087c8fa6d494db72ff7391b95a3f44b5 SHA512 37992351307dea06cc670248d42098232c697c4f0458b23c87524497570b7f8385ec529026c6191624a2923b150b2664030accffe26f1d841ccd6c69143bd95a MISC metadata.xml 350 BLAKE2B 35df0cbf74d904e36dc5b5f34c31a41bf9659942415655f635a112d01e98833babfd42640d5155392f5563fd1756b104671348c077e8a62a2d6efaa68389a3f3 SHA512 2f027e154015dbb7a0535356a313b2f4bada336f6c1549aea9db77f57b43ed7ff19408e3ba507010d50e0953f5f6fd51d9bec956653725e1e087d94a6ae3eb83 diff --git a/dev-ruby/rake-compiler/rake-compiler-1.0.5.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.0.5.ebuild new file mode 100644 index 000000000000..257fb1d49bbb --- /dev/null +++ b/dev-ruby/rake-compiler/rake-compiler-1.0.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions" +HOMEPAGE="https://github.com/luislavena/rake-compiler" +LICENSE="MIT" + +SRC_URI="https://github.com/luislavena/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +ruby_add_rdepend "dev-ruby/rake" + +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" + +USE_RUBY="ruby23 ruby24" ruby_add_bdepend "test? ( dev-util/cucumber dev-ruby/rspec:2 )" + +all_ruby_prepare() { + # Make sure the right rspec version is used in cucumber. + sed -i -e "1igem 'rspec', '~>2.0'" features/support/env.rb || die + + # Avoid failing features for native gems, this also fails with rubygems + sed -i -e '/generate native gem/,$ s:^:#:' features/package.feature || die +} + +each_ruby_test() { + # Skip cucumber for new ruby versions (not ready yet) + case ${RUBY} in + *ruby23|*ruby24) + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber + ;; + *) + RSPEC_VERSION=3 ruby-ng_rspec + ;; + esac +} -- cgit v1.2.3