diff options
author | 2013-11-30 22:56:24 +0000 | |
---|---|---|
committer | 2013-11-30 22:56:24 +0000 | |
commit | c65d5dcad8e3fec25442cd4c0e1b9334f87994d4 (patch) | |
tree | 363a6f37814a379e6797efb60c29f992296db6eb /dev-ruby/classifier | |
parent | Fix builds on x32. (diff) | |
download | gentoo-2-c65d5dcad8e3fec25442cd4c0e1b9334f87994d4.tar.gz gentoo-2-c65d5dcad8e3fec25442cd4c0e1b9334f87994d4.tar.bz2 gentoo-2-c65d5dcad8e3fec25442cd4c0e1b9334f87994d4.zip |
Initial ebuild.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/classifier')
-rw-r--r-- | dev-ruby/classifier/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/classifier/classifier-1.3.3.ebuild | 29 | ||||
-rw-r--r-- | dev-ruby/classifier/metadata.xml | 5 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/classifier/ChangeLog b/dev-ruby/classifier/ChangeLog new file mode 100644 index 000000000000..61c7508c9d20 --- /dev/null +++ b/dev-ruby/classifier/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-ruby/classifier +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/classifier/ChangeLog,v 1.1 2013/11/30 22:56:24 mrueg Exp $ + +*classifier-1.3.3 (30 Nov 2013) + + 30 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +classifier-1.3.3.ebuild, + +metadata.xml: + Initial ebuild. diff --git a/dev-ruby/classifier/classifier-1.3.3.ebuild b/dev-ruby/classifier/classifier-1.3.3.ebuild new file mode 100644 index 000000000000..721a1a560c74 --- /dev/null +++ b/dev-ruby/classifier/classifier-1.3.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/classifier/classifier-1.3.3.ebuild,v 1.1 2013/11/30 22:56:23 mrueg Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="Module to allow Bayesian and other types of classifications" +HOMEPAGE="http://rubyforge.org/projects/classifier https://github.com/cardmagic/classifier" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gsl" + +ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0" +ruby_add_rdepend "gsl? ( dev-ruby/rb-gsl )" + +all_ruby_prepare() { + if use !gsl; then + sed -e 's/$GSL = true/$GSL = false/' -i lib/${PN}/lsi.rb || die + rm test/lsi/lsi_test.rb || die + fi +} diff --git a/dev-ruby/classifier/metadata.xml b/dev-ruby/classifier/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/classifier/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> |