mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/fakefs: cleanup
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST fakefs-0.19.2.tar.gz 53405 BLAKE2B c9841f7f2aee5135d149187d03f7f3034d3c6cbce6d33d3710fcdbd936b4599561c857dfac81f13262da6f067a843d0c3159abca0e8be7f77c95ff20e8bd123a SHA512 e27eedff44c3ff556b0e7a22e434205e54847a6f6b03a8ab7604c2f2e9abf8be7d5b8d29bd51e24cc032dfb3aaf7940060c3dae5532b0921e363d2213b12ed90
|
||||
DIST fakefs-1.2.3.tar.gz 54054 BLAKE2B ae8202b7f28d4d1b326e016d96382b7cfaf012fb842d63150bb09b6ddb5de96bb6d548635877d2d057137bbc23c46c30340ebae3641d70d7955f609bb4cc4af2 SHA512 5051a3b81ba5919cdb6cd4a92f4e6af6ed5140afb35247b1775f4602083e23f903c582e038596a3bb27ab3f69128ef3d9fc2635d015fdb23babf21ff200c4692
|
||||
DIST fakefs-1.3.2.tar.gz 54762 BLAKE2B b5b8c00ffbd8974b2eb024deca4a2e48791fb542e2ad47d06d1c56ad1caab1433b240ea6af4a6836638c84bb79869dcd9d74194768d380173efe54f6765b7f7e SHA512 939dc7f28b266d8ef0cd5b4d33c6abc4a766143895d226b6a32af05f2f6e9eded63d86cf39d607094435a1b428297ad11366f645f4bf6789048b7e03357bacc6
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A fake filesystem. Use it in your tests"
|
||||
HOMEPAGE="https://github.com/defunkt/fakefs"
|
||||
SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/rspec-3.1:3
|
||||
>=dev-ruby/minitest-5.5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler
|
||||
rm Gemfile || die
|
||||
|
||||
# Avoid unneeded minitest-rg dependency.
|
||||
sed -i -e '1igem "minitest", "~>5.5"' \
|
||||
-e '/bundler/ s:^:#:' \
|
||||
-e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
RSPEC_VERSION=3 ruby-ng_rspec
|
||||
${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die
|
||||
}
|
||||
Reference in New Issue
Block a user