diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-05 17:46:27 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-05 17:46:27 +0000 |
commit | 6aeac3e47d4442e3889d8c5a7b62f527f018d075 (patch) | |
tree | b08774955637d2947d84167d17daf431e278138b /dev-ruby/session | |
parent | Mask new xfce4-settings in exo mask (diff) | |
download | historical-6aeac3e47d4442e3889d8c5a7b62f527f018d075.tar.gz historical-6aeac3e47d4442e3889d8c5a7b62f527f018d075.tar.bz2 historical-6aeac3e47d4442e3889d8c5a7b62f527f018d075.zip |
Initial import of session as needed by rr (for the gemcutter testsuite). Warning: license unknown.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/session')
-rw-r--r-- | dev-ruby/session/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/session/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/session/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/session/session-2.4.0.ebuild | 45 |
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-ruby/session/ChangeLog b/dev-ruby/session/ChangeLog new file mode 100644 index 000000000000..c3fc789930e5 --- /dev/null +++ b/dev-ruby/session/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-ruby/session +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/session/ChangeLog,v 1.1 2010/01/05 17:46:27 flameeyes Exp $ + +*session-2.4.0 (05 Jan 2010) + + 05 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +session-2.4.0.ebuild, +metadata.xml: + Initial import of session as needed by rr (for the gemcutter testsuite). + Warning: license unknown. + diff --git a/dev-ruby/session/Manifest b/dev-ruby/session/Manifest new file mode 100644 index 000000000000..2dc42582d011 --- /dev/null +++ b/dev-ruby/session/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST session-2.4.0.tgz 20709 RMD160 350689fe4d382d10a50342366f5b4105418a618b SHA1 3c56d563d6461129312590d77bc33778ae44be46 SHA256 67a8977e458aaa469dc24d90b7163690315b71b45eca99e98a0843d1c9e97c78 +EBUILD session-2.4.0.ebuild 1154 RMD160 9722ed782a0d26787f661e02b663502f6b7dabba SHA1 c7a7cb4fe74591f65ae81f8d244e289b4384d7ef SHA256 a64d27175e87971428753e84ee8125ab0288d2599bdc769660c5caa45b27d353 +MISC ChangeLog 438 RMD160 4a3b20d88c89bff3ae0d2238b415c1d823b5b1af SHA1 a27cc01de8a9920e7953b2b26222294b68462b9b SHA256 96039231bb775f8daef41374c9908be54eb9c82fad2a024ab37683926564310a +MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEUEARECAAYFAktDevIACgkQAiZjviIA2XhP6ACXewGEQCD90PH/AyPYKGDit6tx +IACaAyYjUFU/08BEPrZ++Vep6ihzgJ0= +=0Gtb +-----END PGP SIGNATURE----- diff --git a/dev-ruby/session/metadata.xml b/dev-ruby/session/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/session/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> diff --git a/dev-ruby/session/session-2.4.0.ebuild b/dev-ruby/session/session-2.4.0.ebuild new file mode 100644 index 000000000000..9ec52d392dcf --- /dev/null +++ b/dev-ruby/session/session-2.4.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/session/session-2.4.0.ebuild,v 1.1 2010/01/05 17:46:27 flameeyes Exp $ + +EAPI=2 + +# jruby → “fork is unsafe and disabled by default on JRuby“ +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="HISTORY README TODO" + +inherit ruby-fakegem + +DESCRIPTION="A set of classes to drive external programs via pipe" +HOMEPAGE="http://codeforpeople.com/lib/ruby/session/" +SRC_URI="http://codeforpeople.com/lib/ruby/session/${P}.tgz" + +# actually no license information provided; upstream has been +# contacted on the matter. +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend test virtual/ruby-test-unit + +all_ruby_prepare() { + # needed to void a collision with the Timeout::Error alias in Ruby + # 1.8.7 at least. + sed -i -e 's:TimeoutError:SessionTimeoutError:' test/session.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die "tests failed" +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc sample/* || die +} |