| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multipart-post/multipart-post-1.1.3.ebuild,v 1.2 2011/11/20 08:21:44 graaff Exp $
|
| 4 |
|
| 5 |
EAPI="2"
|
| 6 |
|
| 7 |
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
| 8 |
|
| 9 |
RUBY_FAKEGEM_TASK_TEST=""
|
| 10 |
RUBY_FAKEGEM_TASK_DOC=""
|
| 11 |
|
| 12 |
RUBY_FAKEGEM_EXTRADOC="README.txt"
|
| 13 |
|
| 14 |
inherit ruby-fakegem eutils
|
| 15 |
|
| 16 |
DESCRIPTION="Adds a streamy multipart form post capability to Net::HTTP."
|
| 17 |
HOMEPAGE="http://github.com/nicksieger/multipart-post"
|
| 18 |
|
| 19 |
LICENSE="MIT"
|
| 20 |
SLOT="0"
|
| 21 |
KEYWORDS="~amd64 ~x86"
|
| 22 |
IUSE="test"
|
| 23 |
|
| 24 |
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
| 25 |
|
| 26 |
each_ruby_test() {
|
| 27 |
${RUBY} -S testrb -Ilib test || die "Tests failed."
|
| 28 |
}
|