diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-12 15:46:29 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-12 15:46:29 +0000 |
commit | bbfc38d8e10df21356abb437fbe2b269af305e5e (patch) | |
tree | dfbce6fad3afb953a2c565961859a25ec1189a7f /dev-ruby/fakefs | |
parent | stable x86, bug 300267 (diff) | |
download | historical-bbfc38d8e10df21356abb437fbe2b269af305e5e.tar.gz historical-bbfc38d8e10df21356abb437fbe2b269af305e5e.tar.bz2 historical-bbfc38d8e10df21356abb437fbe2b269af305e5e.zip |
Initial import of fakefs as needed by rspec testsuite.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r-- | dev-ruby/fakefs/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/fakefs/Manifest | 15 | ||||
-rw-r--r-- | dev-ruby/fakefs/fakefs-0.2.1.ebuild | 27 | ||||
-rw-r--r-- | dev-ruby/fakefs/files/fakefs-0.2.1-ruby19.patch | 10 | ||||
-rw-r--r-- | dev-ruby/fakefs/metadata.xml | 5 |
5 files changed, 67 insertions, 0 deletions
diff --git a/dev-ruby/fakefs/ChangeLog b/dev-ruby/fakefs/ChangeLog new file mode 100644 index 000000000000..3c4baaa64023 --- /dev/null +++ b/dev-ruby/fakefs/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/fakefs +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v 1.1 2010/01/12 15:46:28 flameeyes Exp $ + +*fakefs-0.2.1 (12 Jan 2010) + + 12 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +fakefs-0.2.1.ebuild, +files/fakefs-0.2.1-ruby19.patch, +metadata.xml: + Initial import of fakefs as needed by rspec testsuite. + diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest new file mode 100644 index 000000000000..71f2653a41aa --- /dev/null +++ b/dev-ruby/fakefs/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX fakefs-0.2.1-ruby19.patch 302 RMD160 9c051ec5bd537e6cc862a65e2bfcd03ae8720e19 SHA1 c6f3b0bf98da0543f8c00fd27ffd30aa1d777a7f SHA256 bb188fdf537e748c0e7a55688622ecdf0a0ed96ffe7372a731d857ec4e4fa4a0 +DIST fakefs-0.2.1.gem 17408 RMD160 0d15c94d7d5864ad72abbcc5509f3eb720de2974 SHA1 7181b2dfaa1b81149ec59cf065577a31d16f7b8e SHA256 1acb4fb80abee462b4c58679bf8d528a9094f79a81ece4c91e7647d6e853517f +EBUILD fakefs-0.2.1.ebuild 659 RMD160 12789015f19c24dca0122b4cad83d1e0610b66c6 SHA1 1f2ecbff3972785b167fc0b37a81c0a9ec6fefd1 SHA256 4c10bbc54d0dce5c9d75621edbc6636420a80b4c6c9d96fa539ddbc4e9d1beee +MISC ChangeLog 422 RMD160 42a6dba941f3c43920f9615469e5743b9bcd4ee6 SHA1 e435713f0fa4e9bd5ef25f2926c55cc1f745e6d4 SHA256 f316b60ab9371441929d6ab5b3cd3b9a1a62a281dcc45af98538046da6b0432e +MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAktMmWAACgkQAiZjviIA2XhLNgCg44h4ziJJKn1FRuB+he2AWB/q +vqsAniisWxQxiqfkU0MfHOlq9uX6fG0P +=Spgp +-----END PGP SIGNATURE----- diff --git a/dev-ruby/fakefs/fakefs-0.2.1.ebuild b/dev-ruby/fakefs/fakefs-0.2.1.ebuild new file mode 100644 index 000000000000..61a65b3ffc54 --- /dev/null +++ b/dev-ruby/fakefs/fakefs-0.2.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/fakefs-0.2.1.ebuild,v 1.1 2010/01/12 15:46:28 flameeyes Exp $ + +EAPI=2 + +# jruby → Marshal/DeMarshal to clone directories fail +USE_RUBY="ruby18 ruby19" + +# requires sdoc +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.markdown" + +inherit ruby-fakegem eutils + +DESCRIPTION="A fake filesystem. Use it in your tests." +HOMEPAGE="http://github.com/defunkt/fakefs" + +LICENSE="as-is" # truly +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + epatch "${FILESDIR}"/${P}-ruby19.patch +} diff --git a/dev-ruby/fakefs/files/fakefs-0.2.1-ruby19.patch b/dev-ruby/fakefs/files/fakefs-0.2.1-ruby19.patch new file mode 100644 index 000000000000..a4c742d3cc20 --- /dev/null +++ b/dev-ruby/fakefs/files/fakefs-0.2.1-ruby19.patch @@ -0,0 +1,10 @@ +Index: fakefs-0.2.1/lib/fakefs/file.rb +=================================================================== +--- fakefs-0.2.1.orig/lib/fakefs/file.rb ++++ fakefs-0.2.1/lib/fakefs/file.rb +@@ -1,3 +1,5 @@ ++require 'stringio' unless defined? StringIO ++ + module FakeFS + class File + PATH_SEPARATOR = '/' diff --git a/dev-ruby/fakefs/metadata.xml b/dev-ruby/fakefs/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/fakefs/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> |