mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
dev-ruby/session: cleanup
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST session-3.1.2.gem 17920 BLAKE2B 2a7e574f7ec1d0660c845e92a8176fb105d8eacfef80299f59df90752b64c633ff3e0adabf08e9577d0d9e80ef3f1d653d9b972325e85a3caed4312fa067b121 SHA512 ef0e8aac6776ffec6ead18079148a9ff65f5bd2699344680dec4d1ca1695e6e159d9e8174fabae7d629c5b019d9571d50930fd6af89e1f221d6662b56ae63e16
|
||||
DIST session-3.2.0.gem 18432 BLAKE2B b50ff6f52dd0226cdfbe07ea434ac35fc19d695ab474d2c240ce3a6ab707da1d03db5006d68594de6a75ff356154a1ba5ab06fe17a766d3e4154fd11d3abe4b9 SHA512 57c0676fb4a4254e86dbe68e36309c8eb85515dd659de73a87e1ae2e8e5dc7f979192ef665135e75182c26e2a5c847d61daf855639772da7c66af888ed0dc91a
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README"
|
||||
|
||||
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"
|
||||
|
||||
# License info based on https://github.com/ahoward/session as indicated
|
||||
# by author.
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND+=" test? ( || ( sys-apps/coreutils sys-freebsd/freebsd-bin ) )"
|
||||
|
||||
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/*
|
||||
}
|
||||
Reference in New Issue
Block a user