diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2013-11-02 20:10:30 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2013-11-02 20:10:30 +0000 |
commit | d0810d9c4b7793cb3adcd6da767622be0cecab13 (patch) | |
tree | 52310e0daa8ca75e7183ed10c918b908cbdbec13 /app-editors | |
parent | Add ruby20 target. Cleanup old. (diff) | |
download | gentoo-2-d0810d9c4b7793cb3adcd6da767622be0cecab13.tar.gz gentoo-2-d0810d9c4b7793cb3adcd6da767622be0cecab13.tar.bz2 gentoo-2-d0810d9c4b7793cb3adcd6da767622be0cecab13.zip |
Add ruby20 target.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/diakonos/ChangeLog | 7 | ||||
-rw-r--r-- | app-editors/diakonos/diakonos-0.9.1-r1.ebuild | 35 |
2 files changed, 41 insertions, 1 deletions
diff --git a/app-editors/diakonos/ChangeLog b/app-editors/diakonos/ChangeLog index 84c26526b0b2..15149d139806 100644 --- a/app-editors/diakonos/ChangeLog +++ b/app-editors/diakonos/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/diakonos # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/diakonos/ChangeLog,v 1.1 2013/08/14 08:53:21 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/diakonos/ChangeLog,v 1.2 2013/11/02 20:10:30 mrueg Exp $ + +*diakonos-0.9.1-r1 (02 Nov 2013) + + 02 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +diakonos-0.9.1-r1.ebuild: + Add ruby20 target. *diakonos-0.9.1 (14 Aug 2013) diff --git a/app-editors/diakonos/diakonos-0.9.1-r1.ebuild b/app-editors/diakonos/diakonos-0.9.1-r1.ebuild new file mode 100644 index 000000000000..d17dafce6b85 --- /dev/null +++ b/app-editors/diakonos/diakonos-0.9.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/diakonos/diakonos-0.9.1-r1.ebuild,v 1.1 2013/11/02 20:10:30 mrueg Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20" +inherit ruby-ng + +DESCRIPTION="A Linux editor for the masses" +HOMEPAGE="http://diakonos.pist0s.ca" +SRC_URI="http://diakonos.pist0s.ca/archives/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/bacon )" + +each_ruby_install() { + ${RUBY} install.rb --dest-dir "${D}" --doc-dir /usr/share/doc/${P} || die "install failed" +} + +all_ruby_install() { + if use doc; then + rake docs || die + dodoc -r doc/* + fi +} + +each_ruby_test() { + ${RUBY} -S bacon -Ilib spec/*.rb spec/*/*.rb || die +} |