[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2022-12-03 Thread Hans de Graaff
commit: 3354213bcbff130aa8862373afede5303058e5e4
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Dec  3 13:36:01 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Dec  3 14:57:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3354213b

dev-ruby/classifier-reborn: drop 2.2.0

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/classifier-reborn/Manifest|  1 -
 .../classifier-reborn-2.2.0.ebuild | 37 --
 2 files changed, 38 deletions(-)

diff --git a/dev-ruby/classifier-reborn/Manifest 
b/dev-ruby/classifier-reborn/Manifest
index 9fc2a8db5ed2..3ad9a7dd143c 100644
--- a/dev-ruby/classifier-reborn/Manifest
+++ b/dev-ruby/classifier-reborn/Manifest
@@ -1,2 +1 @@
-DIST classifier-reborn-2.2.0.tar.gz 319010 BLAKE2B 
f4bd3259b9d6e324f3f0feb06dfd1c8736eaa8ae0f687e488b6e11b9cda8e6bf9e56a175c01dfb9352184da1a030d1330e22917c7bfdcb4242fa0102f6291940
 SHA512 
d299ce8f3b96de5c6194e816d880ebb895faaacdc2a19985166bdc3d9760242ec41d85f22167ea66e9afd743f5d91d63881da02882d1a412fc95a0c5db63d04c
 DIST classifier-reborn-2.3.0.tar.gz 325647 BLAKE2B 
eb663b0e12440e508bbd882e4f72c790445916e5e19234d4d50d5f20a692f0a7bbd45348e898a9782798ccc82568ccc825bc1477f02885cf33f9a9aab90ab10b
 SHA512 
428073f63ce93cc6284275f92063fa092e3cbd99817a2d6650bafc46ac91fba240ce5ccb09f428b10818c24b04de56dd88090ab0d1cffd644b381a88d9c92050

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
deleted file mode 100644
index 0dab37a47b84..
--- a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-USE_RUBY="ruby24 ruby25 ruby26 ruby27"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_EXTRADOC="README.markdown"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Module to allow Bayesian and other types of classifications"
-HOMEPAGE="https://github.com/jekyll/classifier-reborn;
-SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="gsl test"
-
-ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
-   !!dev-ruby/classifier
-   gsl? ( dev-ruby/rb-gsl )"
-ruby_add_bdepend "test? ( dev-ruby/redis )"
-
-all_ruby_prepare() {
-   sed -i -e "/[Bb]undler/d" Rakefile || die
-   if use !gsl; then
-   sed -e 's/$GSL = true/$GSL = false/'\
-   -e 's/vector_serialize/vector/'\
-   -i lib/${PN}/lsi.rb || die
-   fi
-   # Comment out broken test
-   #sed -i -e "/assert 'Normal',/s/^/#/" test/bayes/bayesian_test.rb || die
-
-   sed -i -e '/reporters/I s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb 
|| die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2022-07-14 Thread Hans de Graaff
commit: 51889f2c378c1eec21dc013db4c0da87f90e4f5b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Jul 14 06:11:01 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Jul 14 06:11:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51889f2c

dev-ruby/classifier-reborn: add 2.3.0

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/classifier-reborn/Manifest|  1 +
 .../classifier-reborn-2.3.0.ebuild | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/dev-ruby/classifier-reborn/Manifest 
b/dev-ruby/classifier-reborn/Manifest
index 68ea54e90070..9fc2a8db5ed2 100644
--- a/dev-ruby/classifier-reborn/Manifest
+++ b/dev-ruby/classifier-reborn/Manifest
@@ -1 +1,2 @@
 DIST classifier-reborn-2.2.0.tar.gz 319010 BLAKE2B 
f4bd3259b9d6e324f3f0feb06dfd1c8736eaa8ae0f687e488b6e11b9cda8e6bf9e56a175c01dfb9352184da1a030d1330e22917c7bfdcb4242fa0102f6291940
 SHA512 
d299ce8f3b96de5c6194e816d880ebb895faaacdc2a19985166bdc3d9760242ec41d85f22167ea66e9afd743f5d91d63881da02882d1a412fc95a0c5db63d04c
+DIST classifier-reborn-2.3.0.tar.gz 325647 BLAKE2B 
eb663b0e12440e508bbd882e4f72c790445916e5e19234d4d50d5f20a692f0a7bbd45348e898a9782798ccc82568ccc825bc1477f02885cf33f9a9aab90ab10b
 SHA512 
428073f63ce93cc6284275f92063fa092e3cbd99817a2d6650bafc46ac91fba240ce5ccb09f428b10818c24b04de56dd88090ab0d1cffd644b381a88d9c92050

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.3.0.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.3.0.ebuild
new file mode 100644
index ..7991fe3b1ef3
--- /dev/null
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.markdown"
+RUBY_FAKEGEM_GEMSPEC="classifier-reborn.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Module to allow Bayesian and other types of classifications"
+HOMEPAGE="https://github.com/jekyll/classifier-reborn;
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gsl test"
+
+ruby_add_rdepend "
+   >=dev-ruby/fast-stemmer-1.0.0
+   >=dev-ruby/matrix-0.4:0
+   gsl? ( dev-ruby/rb-gsl )"
+ruby_add_bdepend "test? ( dev-ruby/redis )"
+
+all_ruby_prepare() {
+   sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
+
+   sed -i -e "/[Bb]undler/d" Rakefile || die
+   if use !gsl; then
+   sed -e 's/$GSL = true/$GSL = false/'\
+   -e 's/vector_serialize/vector/'\
+   -i lib/${PN}/lsi.rb || die
+   fi
+
+   sed -i -e '/reporters/I s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb 
|| die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2020-05-09 Thread Hans de Graaff
commit: 8ba65e59eafbe75300a4cf9d73cb2682c46e0569
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat May  9 09:09:04 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat May  9 09:20:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba65e59

dev-ruby/classifier-reborn: add ruby26, ruby27

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
index a4930c294bb..37cd17f902c 100644
--- a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.markdown"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier/

2019-01-16 Thread Hans de Graaff
commit: 20cddf746c8942f281134a526535168b049b875f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Jan 16 19:08:36 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Jan 16 19:08:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20cddf74

dev-ruby/classifier: remove masked package

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/classifier/Manifest|  1 -
 dev-ruby/classifier/classifier-1.3.4.ebuild | 34 -
 dev-ruby/classifier/metadata.xml| 11 --
 3 files changed, 46 deletions(-)

diff --git a/dev-ruby/classifier/Manifest b/dev-ruby/classifier/Manifest
deleted file mode 100644
index be1fb939a60..000
--- a/dev-ruby/classifier/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST classifier-1.3.4.gem 26112 BLAKE2B 
61f7ac90dd4432f171abbf20ed822e5f553863e3bf487b4e97ab307df3e1c2212c129cc759a4d1647efa31fad00af7abb81fabf99c48da6df5c2e8e40462
 SHA512 
b59fe17f7fe508d5f26584e14d5cd89eed8f77756b75a65adf2512116d0a67b716d14c2f742270fd14765567079a88264f5e1afe49d3865403814c4bdaf8f2f1

diff --git a/dev-ruby/classifier/classifier-1.3.4.ebuild 
b/dev-ruby/classifier/classifier-1.3.4.ebuild
deleted file mode 100644
index 3aecb200988..000
--- a/dev-ruby/classifier/classifier-1.3.4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-USE_RUBY="ruby22 ruby23 ruby24"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_EXTRADOC="README.markdown"
-
-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
-   !!dev-ruby/classifier-reborn
-   gsl? ( dev-ruby/rb-gsl )"
-
-all_ruby_prepare() {
-   sed -i -e "s/PKG_VERSION/\"${PV}\"/" \
-   -e '/rubyforge/ s:^:#:' \
-   -e "s#PKG_FILES#FileList[ \"lib/**/*\", \"bin/*\", 
\"test/**/*\", \"[A-Z]*\", \"Rakefile\", \"Gemfile\", \"html/**/*\"]#" Rakefile
-   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
-   # Remove failing test for now
-   rm test/extensions/word_hash_test.rb || die
-}

diff --git a/dev-ruby/classifier/metadata.xml b/dev-ruby/classifier/metadata.xml
deleted file mode 100644
index 04461dc7b70..000
--- a/dev-ruby/classifier/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-  
-r...@gentoo.org
-Gentoo Ruby Project
-  
-  
-cardmagic/classifier
-  
-



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2018-05-06 Thread Hans de Graaff
commit: 3ddf3401bee71ddf157c4789fe14a28926031166
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun May  6 07:09:47 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun May  6 08:14:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ddf3401

dev-ruby/classifier-reborn: add ruby25, missing test dependency on 
dev-ruby/redis

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
index fbe7ad40220..a4930c294bb 100644
--- a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-USE_RUBY="ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24 ruby25"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.markdown"
@@ -21,6 +21,7 @@ IUSE="gsl test"
 ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
!!dev-ruby/classifier
gsl? ( dev-ruby/rb-gsl )"
+ruby_add_bdepend "test? ( dev-ruby/redis )"
 
 all_ruby_prepare() {
sed -i -e "/[Bb]undler/d" Rakefile || die



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier/

2018-02-02 Thread Hans de Graaff
commit: c0a36c0c9bba89e47135367a45f5de96a80ccda6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Feb  2 16:32:56 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Feb  2 16:41:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0a36c0c

dev-ruby/classifier: add ruby24

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/classifier/classifier-1.3.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/classifier/classifier-1.3.4.ebuild 
b/dev-ruby/classifier/classifier-1.3.4.ebuild
index 0a5faa7ecf8..3aecb200988 100644
--- a/dev-ruby/classifier/classifier-1.3.4.ebuild
+++ b/dev-ruby/classifier/classifier-1.3.4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23"
+USE_RUBY="ruby22 ruby23 ruby24"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.markdown"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2018-02-02 Thread Hans de Graaff
commit: bee2b3f1b04f004886c9662d7c537ce2d5e08394
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Feb  2 16:34:58 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Feb  2 16:41:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bee2b3f1

dev-ruby/classifier-reborn: add ruby24

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
index 81569b8aacd..fbe7ad40220 100644
--- a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-USE_RUBY="ruby22 ruby23"
+USE_RUBY="ruby22 ruby23 ruby24"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.markdown"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2018-02-02 Thread Hans de Graaff
commit: 88d2fd9def97addc8cddb08f16e16d46e50ad75b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Feb  2 16:34:02 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Feb  2 16:41:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d2fd9d

dev-ruby/classifier-reborn: cleanup

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/classifier-reborn/Manifest|  2 --
 .../classifier-reborn-2.0.4.ebuild | 34 
 .../classifier-reborn-2.1.0.ebuild | 36 --
 3 files changed, 72 deletions(-)

diff --git a/dev-ruby/classifier-reborn/Manifest 
b/dev-ruby/classifier-reborn/Manifest
index 2a0d9ae08d4..68ea54e9007 100644
--- a/dev-ruby/classifier-reborn/Manifest
+++ b/dev-ruby/classifier-reborn/Manifest
@@ -1,3 +1 @@
-DIST classifier-reborn-2.0.4.tar.gz 40653 BLAKE2B 
afbf45ac146e67873f5b90a8cc4383afd4ff4fd3f3956f9d3d0ad3096b66e80380b9670aae34f919331c5111e1195259fba98ba2c80b8c27332149c92612db8a
 SHA512 
f89a075b61c1f36894cc57cba3943174c4414512e6f89dd2fa854126e38132239312f2b3464ffbd9b531d8f2987658fafa9cd8fe29d5f7ad8146984436deddd5
-DIST classifier-reborn-2.1.0.tar.gz 42088 BLAKE2B 
8a7ecf4d91f4dbe0ceff82c9b7d2839cfa9ea695cbdeca0c0752a1017a870bef178ccd65c43351ff85c4ff4e59e918627e9e18a840463ab7b3f5ef6fdb27fc23
 SHA512 
0c28128d1eaef8eeb168b372228a52c1bf9683aec3a670eb568fe709eba0b2b5f34ff48f89dd51283b3b560fba3f1908a62407ca8746ad5d74cfa57a03bc38f3
 DIST classifier-reborn-2.2.0.tar.gz 319010 BLAKE2B 
f4bd3259b9d6e324f3f0feb06dfd1c8736eaa8ae0f687e488b6e11b9cda8e6bf9e56a175c01dfb9352184da1a030d1330e22917c7bfdcb4242fa0102f6291940
 SHA512 
d299ce8f3b96de5c6194e816d880ebb895faaacdc2a19985166bdc3d9760242ec41d85f22167ea66e9afd743f5d91d63881da02882d1a412fc95a0c5db63d04c

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild
deleted file mode 100644
index 8e616cb9dac..000
--- a/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_EXTRADOC="README.markdown"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Module to allow Bayesian and other types of classifications"
-HOMEPAGE="https://github.com/jekyll/classifier-reborn;
-SRC_URI="https://github.com/jekyll/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="gsl test"
-
-ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
-   !!dev-ruby/classifier
-   gsl? ( dev-ruby/rb-gsl )"
-
-all_ruby_prepare() {
-   sed -i -e "/[Bb]undler/d" Rakefile || die
-   if use !gsl; then
-   sed -e 's/$GSL = true/$GSL = false/'\
-   -e 's/vector_serialize/vector/'\
-   -i lib/${PN}/lsi.rb || die
-   fi
-   # Comment out broken test
-   sed -i -e "/assert 'Normal',/s/^/#/" test/bayes/bayesian_test.rb || die
-}

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild
deleted file mode 100644
index e4c7a041420..000
--- a/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-USE_RUBY="ruby22 ruby23"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_EXTRADOC="README.markdown"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Module to allow Bayesian and other types of classifications"
-HOMEPAGE="https://github.com/jekyll/classifier-reborn;
-SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="gsl test"
-
-ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
-   !!dev-ruby/classifier
-   gsl? ( dev-ruby/rb-gsl )"
-
-all_ruby_prepare() {
-   sed -i -e "/[Bb]undler/d" Rakefile || die
-   if use !gsl; then
-   sed -e 's/$GSL = true/$GSL = false/'\
-   -e 's/vector_serialize/vector/'\
-   -i lib/${PN}/lsi.rb || die
-   fi
-   # Comment out broken test
-   sed -i -e "/assert 'Normal',/s/^/#/" test/bayes/bayesian_test.rb || die
-
-   sed -i -e '/reporters/I s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb 
|| die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2017-12-14 Thread Hans de Graaff
commit: 07b7db2717a3e9700bdb5d04e2f0e10363d1dd65
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Dec 15 06:37:25 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Dec 15 07:04:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b7db27

dev-ruby/classifier-reborn: add 2.2.0

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-ruby/classifier-reborn/Manifest|  1 +
 .../classifier-reborn-2.2.0.ebuild | 36 ++
 2 files changed, 37 insertions(+)

diff --git a/dev-ruby/classifier-reborn/Manifest 
b/dev-ruby/classifier-reborn/Manifest
index fa75ee7e5bc..2a0d9ae08d4 100644
--- a/dev-ruby/classifier-reborn/Manifest
+++ b/dev-ruby/classifier-reborn/Manifest
@@ -1,2 +1,3 @@
 DIST classifier-reborn-2.0.4.tar.gz 40653 BLAKE2B 
afbf45ac146e67873f5b90a8cc4383afd4ff4fd3f3956f9d3d0ad3096b66e80380b9670aae34f919331c5111e1195259fba98ba2c80b8c27332149c92612db8a
 SHA512 
f89a075b61c1f36894cc57cba3943174c4414512e6f89dd2fa854126e38132239312f2b3464ffbd9b531d8f2987658fafa9cd8fe29d5f7ad8146984436deddd5
 DIST classifier-reborn-2.1.0.tar.gz 42088 BLAKE2B 
8a7ecf4d91f4dbe0ceff82c9b7d2839cfa9ea695cbdeca0c0752a1017a870bef178ccd65c43351ff85c4ff4e59e918627e9e18a840463ab7b3f5ef6fdb27fc23
 SHA512 
0c28128d1eaef8eeb168b372228a52c1bf9683aec3a670eb568fe709eba0b2b5f34ff48f89dd51283b3b560fba3f1908a62407ca8746ad5d74cfa57a03bc38f3
+DIST classifier-reborn-2.2.0.tar.gz 319010 BLAKE2B 
f4bd3259b9d6e324f3f0feb06dfd1c8736eaa8ae0f687e488b6e11b9cda8e6bf9e56a175c01dfb9352184da1a030d1330e22917c7bfdcb4242fa0102f6291940
 SHA512 
d299ce8f3b96de5c6194e816d880ebb895faaacdc2a19985166bdc3d9760242ec41d85f22167ea66e9afd743f5d91d63881da02882d1a412fc95a0c5db63d04c

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
new file mode 100644
index 000..81569b8aacd
--- /dev/null
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Module to allow Bayesian and other types of classifications"
+HOMEPAGE="https://github.com/jekyll/classifier-reborn;
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gsl test"
+
+ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
+   !!dev-ruby/classifier
+   gsl? ( dev-ruby/rb-gsl )"
+
+all_ruby_prepare() {
+   sed -i -e "/[Bb]undler/d" Rakefile || die
+   if use !gsl; then
+   sed -e 's/$GSL = true/$GSL = false/'\
+   -e 's/vector_serialize/vector/'\
+   -i lib/${PN}/lsi.rb || die
+   fi
+   # Comment out broken test
+   #sed -i -e "/assert 'Normal',/s/^/#/" test/bayes/bayesian_test.rb || die
+
+   sed -i -e '/reporters/I s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb 
|| die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2017-08-27 Thread Hans de Graaff
commit: 27e377fcf3b9c34026e30b83ee3d5b27d32a6eaf
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Aug 28 05:36:43 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Aug 28 05:51:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27e377fc

dev-ruby/classifier-reborn: avoid unneeded dependency on pry

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild
index 472a90566c3..e4c7a041420 100644
--- a/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23"
+USE_RUBY="ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.markdown"
@@ -32,5 +32,5 @@ all_ruby_prepare() {
# Comment out broken test
sed -i -e "/assert 'Normal',/s/^/#/" test/bayes/bayesian_test.rb || die
 
-   sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die
+   sed -i -e '/reporters/I s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb 
|| die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2017-03-24 Thread Hans de Graaff
commit: 0c8d1cbfcab36adf907515165bcdaeec879ee555
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Mar 24 05:55:31 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Mar 24 05:56:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c8d1cbf

dev-ruby/classifier-reborn: add 2.1.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ruby/classifier-reborn/Manifest|  1 +
 .../classifier-reborn-2.1.0.ebuild | 36 ++
 2 files changed, 37 insertions(+)

diff --git a/dev-ruby/classifier-reborn/Manifest 
b/dev-ruby/classifier-reborn/Manifest
index 6a51b77eb6b..fa0a8f08708 100644
--- a/dev-ruby/classifier-reborn/Manifest
+++ b/dev-ruby/classifier-reborn/Manifest
@@ -1 +1,2 @@
 DIST classifier-reborn-2.0.4.tar.gz 40653 SHA256 
cd6d283a9f3e7aaffe7fe55d30d8f45ea6ba91027931b6c0c63bad007c9de53c SHA512 
f89a075b61c1f36894cc57cba3943174c4414512e6f89dd2fa854126e38132239312f2b3464ffbd9b531d8f2987658fafa9cd8fe29d5f7ad8146984436deddd5
 WHIRLPOOL 
4f1a6c95fa08f4b3eb38078f441801657fdfa91d22e312fc36a46741f30365388b585fc85fca1693752be567ae3e213d82a522718af649d3af6efe8eecbf6c6f
+DIST classifier-reborn-2.1.0.tar.gz 42088 SHA256 
6c6a790ee20e3f08bc09a000c27a0274df16b8c623c314fee975b161d330d8b1 SHA512 
0c28128d1eaef8eeb168b372228a52c1bf9683aec3a670eb568fe709eba0b2b5f34ff48f89dd51283b3b560fba3f1908a62407ca8746ad5d74cfa57a03bc38f3
 WHIRLPOOL 
3a2979a08956194f8cd168512209bcc9415b0741595153aa576cfd6a0113929b435734729fc4e120371ef27fc1a0caa9f56d381faa302b1489425e53d0d434e0

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild
new file mode 100644
index 000..472a90566c3
--- /dev/null
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Module to allow Bayesian and other types of classifications"
+HOMEPAGE="https://github.com/jekyll/classifier-reborn;
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gsl test"
+
+ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
+   !!dev-ruby/classifier
+   gsl? ( dev-ruby/rb-gsl )"
+
+all_ruby_prepare() {
+   sed -i -e "/[Bb]undler/d" Rakefile || die
+   if use !gsl; then
+   sed -e 's/$GSL = true/$GSL = false/'\
+   -e 's/vector_serialize/vector/'\
+   -i lib/${PN}/lsi.rb || die
+   fi
+   # Comment out broken test
+   sed -i -e "/assert 'Normal',/s/^/#/" test/bayes/bayesian_test.rb || die
+
+   sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier/

2017-02-04 Thread Hans de Graaff
commit: d382c17e712cf3bca8b77f1d3ca2b771cf62667b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Feb  4 16:03:44 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Feb  4 16:17:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d382c17e

dev-ruby/classifier: add ruby23

Package-Manager: portage-2.3.3

 dev-ruby/classifier/classifier-1.3.4.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/classifier/classifier-1.3.4.ebuild 
b/dev-ruby/classifier/classifier-1.3.4.ebuild
index 722a47b..b6b7cfa 100644
--- a/dev-ruby/classifier/classifier-1.3.4.ebuild
+++ b/dev-ruby/classifier/classifier-1.3.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.markdown"
@@ -24,6 +24,7 @@ ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
 
 all_ruby_prepare() {
sed -i -e "s/PKG_VERSION/\"${PV}\"/" \
+   -e '/rubyforge/ s:^:#:' \
-e "s#PKG_FILES#FileList[ \"lib/**/*\", \"bin/*\", 
\"test/**/*\", \"[A-Z]*\", \"Rakefile\", \"Gemfile\", \"html/**/*\"]#" Rakefile
if use !gsl; then
sed -e 's/$GSL = true/$GSL = false/' -i lib/${PN}/lsi.rb || die



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2016-12-23 Thread Manuel Rüger
commit: 38f90eb58e4d73196a47d3cc344293df85e6d13d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Dec 23 21:50:48 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Dec 23 21:51:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38f90eb5

dev-ruby/classifier-reborn: Add ruby23, drop ruby20

Package-Manager: portage-2.3.3

 dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild
index a02a984..74c9931 100644
--- a/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.markdown"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier/

2016-04-06 Thread Manuel Rüger
commit: e75e35ca0aa683e0950a9e33c4382cf1b2937e44
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Apr  6 22:48:14 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Apr  6 22:48:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e75e35ca

dev-ruby/classifier: Remove ruby19

Package-Manager: portage-2.2.28

 dev-ruby/classifier/classifier-1.3.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/classifier/classifier-1.3.4.ebuild 
b/dev-ruby/classifier/classifier-1.3.4.ebuild
index 58ee5eb..722a47b 100644
--- a/dev-ruby/classifier/classifier-1.3.4.ebuild
+++ b/dev-ruby/classifier/classifier-1.3.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.markdown"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2016-04-06 Thread Manuel Rüger
commit: 67c9296e77aa1df20463f98756b9ab405de8fe43
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Apr  6 22:49:19 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Apr  6 22:49:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c9296e

dev-ruby/classifier-reborn: Remove old

Package-Manager: portage-2.2.28

 dev-ruby/classifier-reborn/Manifest|  1 -
 .../classifier-reborn-2.0.3.ebuild | 33 --
 2 files changed, 34 deletions(-)

diff --git a/dev-ruby/classifier-reborn/Manifest 
b/dev-ruby/classifier-reborn/Manifest
index c0c467b..6a51b77 100644
--- a/dev-ruby/classifier-reborn/Manifest
+++ b/dev-ruby/classifier-reborn/Manifest
@@ -1,2 +1 @@
-DIST classifier-reborn-2.0.3.tar.gz 22888 SHA256 
3cee84bd7bee0b6d64d94d370736eda7283a933afcc8e5b0a93af88e83937213 SHA512 
37e6c078de65ac7851acc9e5ea3ffbad2dfde1923bf765b6cd936457cdf52d3738e35b84d1ef94e1b5af396e1821f09749090d29fdfaf121f0a0ac50ec9b1418
 WHIRLPOOL 
d5ae8072aaf977404bc389473ce9ce8071c70cc10f886232fd292afa39a879030e6e1ee310fa60d61e36048074da9a8729eeba179cd92798bef1924604071d74
 DIST classifier-reborn-2.0.4.tar.gz 40653 SHA256 
cd6d283a9f3e7aaffe7fe55d30d8f45ea6ba91027931b6c0c63bad007c9de53c SHA512 
f89a075b61c1f36894cc57cba3943174c4414512e6f89dd2fa854126e38132239312f2b3464ffbd9b531d8f2987658fafa9cd8fe29d5f7ad8146984436deddd5
 WHIRLPOOL 
4f1a6c95fa08f4b3eb38078f441801657fdfa91d22e312fc36a46741f30365388b585fc85fca1693752be567ae3e213d82a522718af649d3af6efe8eecbf6c6f

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.0.3.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.0.3.ebuild
deleted file mode 100644
index d4e0c0c..000
--- a/dev-ruby/classifier-reborn/classifier-reborn-2.0.3.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_EXTRADOC="README.markdown"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Module to allow Bayesian and other types of classifications"
-HOMEPAGE="https://github.com/jekyll/classifier-reborn;
-SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="gsl test"
-
-ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
-   !!dev-ruby/classifier
-   gsl? ( dev-ruby/rb-gsl )"
-
-all_ruby_prepare() {
-   sed -i -e "/[Bb]undler/d" Rakefile || die
-   if use !gsl; then
-   sed -e 's/$GSL = true/$GSL = false/'\
-   -e 's/vector_serialize/vector/'\
-   -i lib/${PN}/lsi.rb || die
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/

2016-02-17 Thread Manuel Rüger
commit: 2c75c294815d88f79a9dac8e5cbf1ecd33d1a98f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Feb 17 23:18:14 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Feb 17 23:22:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c75c294

dev-ruby/classifier-reborn: Version bump

Package-Manager: portage-2.2.27

 dev-ruby/classifier-reborn/Manifest|  1 +
 .../classifier-reborn-2.0.4.ebuild | 35 ++
 2 files changed, 36 insertions(+)

diff --git a/dev-ruby/classifier-reborn/Manifest 
b/dev-ruby/classifier-reborn/Manifest
index 9e13d5d..c0c467b 100644
--- a/dev-ruby/classifier-reborn/Manifest
+++ b/dev-ruby/classifier-reborn/Manifest
@@ -1 +1,2 @@
 DIST classifier-reborn-2.0.3.tar.gz 22888 SHA256 
3cee84bd7bee0b6d64d94d370736eda7283a933afcc8e5b0a93af88e83937213 SHA512 
37e6c078de65ac7851acc9e5ea3ffbad2dfde1923bf765b6cd936457cdf52d3738e35b84d1ef94e1b5af396e1821f09749090d29fdfaf121f0a0ac50ec9b1418
 WHIRLPOOL 
d5ae8072aaf977404bc389473ce9ce8071c70cc10f886232fd292afa39a879030e6e1ee310fa60d61e36048074da9a8729eeba179cd92798bef1924604071d74
+DIST classifier-reborn-2.0.4.tar.gz 40653 SHA256 
cd6d283a9f3e7aaffe7fe55d30d8f45ea6ba91027931b6c0c63bad007c9de53c SHA512 
f89a075b61c1f36894cc57cba3943174c4414512e6f89dd2fa854126e38132239312f2b3464ffbd9b531d8f2987658fafa9cd8fe29d5f7ad8146984436deddd5
 WHIRLPOOL 
4f1a6c95fa08f4b3eb38078f441801657fdfa91d22e312fc36a46741f30365388b585fc85fca1693752be567ae3e213d82a522718af649d3af6efe8eecbf6c6f

diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild 
b/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild
new file mode 100644
index 000..a02a984
--- /dev/null
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Module to allow Bayesian and other types of classifications"
+HOMEPAGE="https://github.com/jekyll/classifier-reborn;
+SRC_URI="https://github.com/jekyll/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gsl test"
+
+ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
+   !!dev-ruby/classifier
+   gsl? ( dev-ruby/rb-gsl )"
+
+all_ruby_prepare() {
+   sed -i -e "/[Bb]undler/d" Rakefile || die
+   if use !gsl; then
+   sed -e 's/$GSL = true/$GSL = false/'\
+   -e 's/vector_serialize/vector/'\
+   -i lib/${PN}/lsi.rb || die
+   fi
+   # Comment out broken test
+   sed -i -e "/assert 'Normal',/s/^/#/" test/bayes/bayesian_test.rb || die
+}