diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-06-02 08:49:35 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-06-02 08:49:35 +0000 |
commit | 74018713df9089c5e7fca44e111c7bbbfe7e9234 (patch) | |
tree | 23e8e155b2d0e7fff0af11d2689fb450ff000bc3 /dev-ruby/listen | |
parent | Bump hxt-unicode to 9.0.2 (diff) | |
download | gentoo-2-74018713df9089c5e7fca44e111c7bbbfe7e9234.tar.gz gentoo-2-74018713df9089c5e7fca44e111c7bbbfe7e9234.tar.bz2 gentoo-2-74018713df9089c5e7fca44e111c7bbbfe7e9234.zip |
Initial import. New dependency for forthcoming versions of sass.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/listen')
-rw-r--r-- | dev-ruby/listen/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/listen/listen-0.4.2.ebuild | 37 | ||||
-rw-r--r-- | dev-ruby/listen/metadata.xml | 8 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-ruby/listen/ChangeLog b/dev-ruby/listen/ChangeLog new file mode 100644 index 000000000000..8f87ca0b148b --- /dev/null +++ b/dev-ruby/listen/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/listen +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/ChangeLog,v 1.1 2012/06/02 08:49:35 graaff Exp $ + +*listen-0.4.2 (02 Jun 2012) + + 02 Jun 2012; Hans de Graaff <graaff@gentoo.org> +listen-0.4.2.ebuild, + +metadata.xml: + Initial import. New dependency for forthcoming versions of sass. + diff --git a/dev-ruby/listen/listen-0.4.2.ebuild b/dev-ruby/listen/listen-0.4.2.ebuild new file mode 100644 index 000000000000..fbb3cc34f425 --- /dev/null +++ b/dev-ruby/listen/listen-0.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/listen-0.4.2.ebuild,v 1.1 2012/06/02 08:49:35 graaff Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ruby19 ree18 jruby" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Listens to file modifications and notifies you about the changes." +HOMEPAGE="https://github.com/guard/listen" +SRC_URI="https://github.com/guard/listen/tarball/v0.4.2 -> ${P}-git.tgz" +RUBY_S="guard-listen-*" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.8.8" + +all_ruby_prepare() { + # On Gentoo Linux we only support inotify. + sed -i -e '/rb-fsevent/d' -e '/rb-fchange/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S rspec --format progress spec || die +} diff --git a/dev-ruby/listen/metadata.xml b/dev-ruby/listen/metadata.xml new file mode 100644 index 000000000000..0a41bde91c60 --- /dev/null +++ b/dev-ruby/listen/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +<maintainer> + <email>trapni@gentoo.org</email> +</maintainer> +</pkgmetadata> |