summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-07-08 11:11:08 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-07-08 11:11:08 +0000
commit8d3891337e3e002c17ae4fecc820d5ec19bb6fa4 (patch)
treea3b1701186f63ceafe14a386750db2ee562fe90b /dev-ruby/samuel
parentRemove old. (diff)
downloadgentoo-2-8d3891337e3e002c17ae4fecc820d5ec19bb6fa4.tar.gz
gentoo-2-8d3891337e3e002c17ae4fecc820d5ec19bb6fa4.tar.bz2
gentoo-2-8d3891337e3e002c17ae4fecc820d5ec19bb6fa4.zip
Version bump.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/samuel')
-rw-r--r--dev-ruby/samuel/ChangeLog8
-rw-r--r--dev-ruby/samuel/samuel-0.3.3.ebuild38
2 files changed, 44 insertions, 2 deletions
diff --git a/dev-ruby/samuel/ChangeLog b/dev-ruby/samuel/ChangeLog
index fb0750266acb..b7454f2df4b0 100644
--- a/dev-ruby/samuel/ChangeLog
+++ b/dev-ruby/samuel/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/samuel
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/samuel/ChangeLog,v 1.12 2012/05/01 18:24:02 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/samuel/ChangeLog,v 1.13 2012/07/08 11:11:08 flameeyes Exp $
+
+*samuel-0.3.3 (08 Jul 2012)
+
+ 08 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> +samuel-0.3.3.ebuild:
+ Version bump.
01 May 2012; Raúl Porcel <armin76@gentoo.org> samuel-0.3.2.ebuild:
Drop ia64/sparc keywords
@@ -44,4 +49,3 @@
12 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+samuel-0.3.1.ebuild, +files/samuel-0.3.1-ruby19.patch, +metadata.xml:
Initial import of samuel needed to de-bundle fakeweb.
-
diff --git a/dev-ruby/samuel/samuel-0.3.3.ebuild b/dev-ruby/samuel/samuel-0.3.3.ebuild
new file mode 100644
index 000000000000..bd0b90be69ba
--- /dev/null
+++ b/dev-ruby/samuel/samuel-0.3.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/samuel/samuel-0.3.3.ebuild,v 1.1 2012/07/08 11:11:08 flameeyes Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="An automatic logger for HTTP requests in Ruby."
+HOMEPAGE="http://github.com/chrisk/samuel"
+
+LICENSE="as-is" # truly
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/shoulda-2.11.3
+ >=dev-ruby/fakeweb-1.3
+ >=dev-ruby/httpclient-2.2.3
+ >=dev-ruby/mocha-0.10.0
+ virtual/ruby-test-unit
+ )"
+
+all_ruby_prepare() {
+ # Remove references to bundler
+ sed -i -e '/[Bb]undler/d' test/test_helper.rb || die
+ rm Gemfile*
+
+ # Change the default port from 8000 to 64888 to sidestep Issue #10.
+ # https://github.com/chrisk/samuel/issues/10
+ sed -i -e 's:8000:64888:g' test/*.rb || die
+}