Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/
Date: Wed, 17 Feb 2016 23:22:58
Message-Id: 1455751359.2c75c294815d88f79a9dac8e5cbf1ecd33d1a98f.mrueg@gentoo
1 commit: 2c75c294815d88f79a9dac8e5cbf1ecd33d1a98f
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 17 23:18:14 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 17 23:22:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c75c294
7
8 dev-ruby/classifier-reborn: Version bump
9
10 Package-Manager: portage-2.2.27
11
12 dev-ruby/classifier-reborn/Manifest | 1 +
13 .../classifier-reborn-2.0.4.ebuild | 35 ++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-ruby/classifier-reborn/Manifest b/dev-ruby/classifier-reborn/Manifest
17 index 9e13d5d..c0c467b 100644
18 --- a/dev-ruby/classifier-reborn/Manifest
19 +++ b/dev-ruby/classifier-reborn/Manifest
20 @@ -1 +1,2 @@
21 DIST classifier-reborn-2.0.3.tar.gz 22888 SHA256 3cee84bd7bee0b6d64d94d370736eda7283a933afcc8e5b0a93af88e83937213 SHA512 37e6c078de65ac7851acc9e5ea3ffbad2dfde1923bf765b6cd936457cdf52d3738e35b84d1ef94e1b5af396e1821f09749090d29fdfaf121f0a0ac50ec9b1418 WHIRLPOOL d5ae8072aaf977404bc389473ce9ce8071c70cc10f886232fd292afa39a879030e6e1ee310fa60d61e36048074da9a8729eeba179cd92798bef1924604071d74
22 +DIST classifier-reborn-2.0.4.tar.gz 40653 SHA256 cd6d283a9f3e7aaffe7fe55d30d8f45ea6ba91027931b6c0c63bad007c9de53c SHA512 f89a075b61c1f36894cc57cba3943174c4414512e6f89dd2fa854126e38132239312f2b3464ffbd9b531d8f2987658fafa9cd8fe29d5f7ad8146984436deddd5 WHIRLPOOL 4f1a6c95fa08f4b3eb38078f441801657fdfa91d22e312fc36a46741f30365388b585fc85fca1693752be567ae3e213d82a522718af649d3af6efe8eecbf6c6f
23
24 diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild b/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild
25 new file mode 100644
26 index 0000000..a02a984
27 --- /dev/null
28 +++ b/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild
29 @@ -0,0 +1,35 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +USE_RUBY="ruby20 ruby21 ruby22"
36 +
37 +RUBY_FAKEGEM_TASK_DOC=""
38 +RUBY_FAKEGEM_EXTRADOC="README.markdown"
39 +
40 +inherit ruby-fakegem
41 +
42 +DESCRIPTION="Module to allow Bayesian and other types of classifications"
43 +HOMEPAGE="https://github.com/jekyll/classifier-reborn"
44 +SRC_URI="https://github.com/jekyll/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="LGPL-2.1"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +IUSE="gsl test"
50 +
51 +ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
52 + !!dev-ruby/classifier
53 + gsl? ( dev-ruby/rb-gsl )"
54 +
55 +all_ruby_prepare() {
56 + sed -i -e "/[Bb]undler/d" Rakefile || die
57 + if use !gsl; then
58 + sed -e 's/$GSL = true/$GSL = false/'\
59 + -e 's/vector_serialize/vector/'\
60 + -i lib/${PN}/lsi.rb || die
61 + fi
62 + # Comment out broken test
63 + sed -i -e "/assert 'Normal',/s/^/#/" test/bayes/bayesian_test.rb || die
64 +}