diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/rake-compiler | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/rake-compiler')
-rw-r--r-- | dev-ruby/rake-compiler/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/rake-compiler/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/rake-compiler/rake-compiler-1.0.2.ebuild | 46 | ||||
-rw-r--r-- | dev-ruby/rake-compiler/rake-compiler-1.0.4.ebuild | 49 |
4 files changed, 111 insertions, 0 deletions
diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest new file mode 100644 index 000000000000..71635f1e5d44 --- /dev/null +++ b/dev-ruby/rake-compiler/Manifest @@ -0,0 +1,5 @@ +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 +EBUILD rake-compiler-1.0.2.ebuild 1223 BLAKE2B ad478e67dbc11a60b59fac6586611302bb638c2b6bc1a84b257de5a5998f4a2e3aed686e53f9c33ceec859685a5ae7cf1faf11123d1a764514cb6a87f19f7304 SHA512 c319bdd8c839fe97371dd862f6f0aede3d1b0d6d7e55200fbf9b7cab85628bae5e8fe52b02359b6e93d36494b2ce80fc64a0fb8885ba9edc7dfd8e9860cf7c0d +EBUILD rake-compiler-1.0.4.ebuild 1456 BLAKE2B 93bfee63bc99c4ca9b4f6f690988f46b710b4e1a0a739bba62df4198b1902cba6a6986630114da0e4e456ee3d3f7020aff580f78c76aae16e39871eb753eff57 SHA512 e5129d1fef2a0116ef6f0958a9b5149318696e7f6147a82e7c3f21c94fe4ae684e10a58da6ab09c7567faab24f32ff733e31e7b63c348757b00f9afcf5755d97 +MISC metadata.xml 350 BLAKE2B 35df0cbf74d904e36dc5b5f34c31a41bf9659942415655f635a112d01e98833babfd42640d5155392f5563fd1756b104671348c077e8a62a2d6efaa68389a3f3 SHA512 2f027e154015dbb7a0535356a313b2f4bada336f6c1549aea9db77f57b43ed7ff19408e3ba507010d50e0953f5f6fd51d9bec956653725e1e087d94a6ae3eb83 diff --git a/dev-ruby/rake-compiler/metadata.xml b/dev-ruby/rake-compiler/metadata.xml new file mode 100644 index 000000000000..4d8e101d0e15 --- /dev/null +++ b/dev-ruby/rake-compiler/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">luislavena/rake-compiler</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/rake-compiler/rake-compiler-1.0.2.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.0.2.ebuild new file mode 100644 index 000000000000..00fd1dfbfe80 --- /dev/null +++ b/dev-ruby/rake-compiler/rake-compiler-1.0.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +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:2 )" + +USE_RUBY="ruby21 ruby22" ruby_add_bdepend "test? ( dev-util/cucumber )" + +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 +} + +each_ruby_test() { + # Skip cucumber for ruby23 (not ready yet) + case ${RUBY} in + *ruby21|*ruby22) + ruby-ng_rspec + ruby-ng_cucumber + ;; + *) + ruby-ng_rspec + ;; + esac +} diff --git a/dev-ruby/rake-compiler/rake-compiler-1.0.4.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.0.4.ebuild new file mode 100644 index 000000000000..ca9406aace3b --- /dev/null +++ b/dev-ruby/rake-compiler/rake-compiler-1.0.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 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="ruby22 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 + *ruby22|*ruby23|*ruby24) + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber + ;; + *) + RSPEC_VERSION=3 ruby-ng_rspec + ;; + esac +} |