diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-04-18 19:22:36 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-04-18 19:49:54 +0200 |
commit | 32012668e0832ae8c928faa2e1010c10553e1e56 (patch) | |
tree | f7fe990e5fbbc55c28be28d8cc57276d22776c99 | |
parent | net-dialup/minicom: bump. (diff) | |
download | gentoo-32012668e0832ae8c928faa2e1010c10553e1e56.tar.gz gentoo-32012668e0832ae8c928faa2e1010c10553e1e56.tar.bz2 gentoo-32012668e0832ae8c928faa2e1010c10553e1e56.zip |
dev-ruby/bogus: initial import, dependency for dev-ruby/virtus
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r-- | dev-ruby/bogus/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/bogus/bogus-0.1.6.ebuild | 31 | ||||
-rw-r--r-- | dev-ruby/bogus/metadata.xml | 11 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/bogus/Manifest b/dev-ruby/bogus/Manifest new file mode 100644 index 000000000000..2e5eac2b66e7 --- /dev/null +++ b/dev-ruby/bogus/Manifest @@ -0,0 +1 @@ +DIST bogus-0.1.6.gem 56320 SHA256 a1aa6b5219a9ea010f8945874d8b09f58a4908676ffd4785c85475bec47817d8 SHA512 c65a8b8c6f19c6ef07c4330035e05abc47a63176ec1899e0d9cf611d5a195e0e2fe53b25110e0d2fe5e61c3d3325b79b71c7b42870cb4bfedb25d459f6f90e25 WHIRLPOOL 5dfdf5e79a5b9eea9b9f5e6c2cc4fb62f78f791ff3b3f8358b4df38b07326cc627a5934ee5026177fcbd615d5d4c8340735957e844fe7cf69b7290a897dc19b8 diff --git a/dev-ruby/bogus/bogus-0.1.6.ebuild b/dev-ruby/bogus/bogus-0.1.6.ebuild new file mode 100644 index 000000000000..8815fd38c438 --- /dev/null +++ b/dev-ruby/bogus/bogus-0.1.6.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Decreases the need for integration tests by ensuring that the things you stub or mock actually exist." +HOMEPAGE="https://github.com/psyho/bogus" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/dependor-0.0.4" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^end/ s:^:#:' \ + -e '/SimpleCov/,/^end/ s:^:#:' spec/spec_helper.rb || die + + # Avoid dependency on unpackaged nulldb + rm -f spec/bogus/fakes/fake_ar_attributes_spec.rb || die +} diff --git a/dev-ruby/bogus/metadata.xml b/dev-ruby/bogus/metadata.xml new file mode 100644 index 000000000000..bff7165d5bb3 --- /dev/null +++ b/dev-ruby/bogus/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">psyho/bogus</remote-id> + </upstream> +</pkgmetadata> |