summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-08-13 15:36:16 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-08-13 15:36:16 +0000
commitb876067ef899422e4aaf6440faa78fc3c9763f3d (patch)
tree331b630cd5a127b73dad73bbbcfe6a973bda0e38 /dev-ruby/classifier-reborn
parentx86 stable, see bug 507390 (diff)
downloadhistorical-b876067ef899422e4aaf6440faa78fc3c9763f3d.tar.gz
historical-b876067ef899422e4aaf6440faa78fc3c9763f3d.tar.bz2
historical-b876067ef899422e4aaf6440faa78fc3c9763f3d.zip
Initial version, fork from dev-ruby/classifier.
Package-Manager: portage-2.2.12/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/classifier-reborn')
-rw-r--r--dev-ruby/classifier-reborn/ChangeLog9
-rw-r--r--dev-ruby/classifier-reborn/Manifest4
-rw-r--r--dev-ruby/classifier-reborn/classifier-reborn-2.0.0.ebuild30
-rw-r--r--dev-ruby/classifier-reborn/metadata.xml5
4 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/classifier-reborn/ChangeLog b/dev-ruby/classifier-reborn/ChangeLog
new file mode 100644
index 000000000000..d88fef85f3d6
--- /dev/null
+++ b/dev-ruby/classifier-reborn/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-ruby/classifier-reborn
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/classifier-reborn/ChangeLog,v 1.1 2014/08/13 15:36:11 mrueg Exp $
+
+*classifier-reborn-2.0.0 (13 Aug 2014)
+
+ 13 Aug 2014; Manuel Rüger <mrueg@gentoo.org> +classifier-reborn-2.0.0.ebuild,
+ +metadata.xml:
+ Initial version, fork from dev-ruby/classifier.
diff --git a/dev-ruby/classifier-reborn/Manifest b/dev-ruby/classifier-reborn/Manifest
new file mode 100644
index 000000000000..98018d432428
--- /dev/null
+++ b/dev-ruby/classifier-reborn/Manifest
@@ -0,0 +1,4 @@
+DIST classifier-reborn-2.0.0.tar.gz 22187 SHA256 72f3a7868c7955c3ecd1caacb73c102e16504bca375a894d6363f1900e143ca3 SHA512 d72d80fc06301c38786df8f4b61bba9a7aff505db6255f06a7e7aa31ee2568c95dafdf4ed1f7eafdbcb5ae44af9be7f875fc1435cb4b874c6dc46d1408746e3c WHIRLPOOL 29a83a61f6bd4b6a028e2471bd44e3efe9628249a801d3265b64e44b3dcd43f7cc776047c587683cdc609f117b0e38726caa3980e0323983ab86c7e1703460d0
+EBUILD classifier-reborn-2.0.0.ebuild 883 SHA256 dc9812823bd675d322f2909f2b5dfbac7da1c8b3d020ef8fa11b75f848221133 SHA512 4c73ce28eff5a411b7fa3858df1c4774d7d4bb6e6a39963de01025c6639f8c47813277a1bcc444b34e03ecffd440f2b97fab0a9d24d35f1d3009435562903285 WHIRLPOOL 2ca2373bc582fd9e171c27a5bdc58a5957f00376403ad4ff563147ced8191436f0e43c055eb19d4189a3d76548b66ceb36cfea646992a0042a1251f003683dd6
+MISC ChangeLog 412 SHA256 8e778632ffd72cce13651e64c283207534be96e5ba065c4971b92fc9538e0a51 SHA512 f1951b802cadc155c30ceb3439caa4f0b6d88e9612d10e03f3e6d7306353a2f263a1ee04bdbfd792252e1d3ae1d111f42600ae40c6bdc0f90c25c814e8ecdd40 WHIRLPOOL c07183c211e437aea80ddf655fefcbbf499ca8b9bcb9d8707e2d648cad908250590a27eb176dd1204cf5e0b085f394ec6b2ea791d314ab773afdd2d40523942a
+MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.0.0.ebuild b/dev-ruby/classifier-reborn/classifier-reborn-2.0.0.ebuild
new file mode 100644
index 000000000000..bf83c8f83b2c
--- /dev/null
+++ b/dev-ruby/classifier-reborn/classifier-reborn-2.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/classifier-reborn/classifier-reborn-2.0.0.ebuild,v 1.1 2014/08/13 15:36:11 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+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"
+
+ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0"
+ruby_add_rdepend "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/' -i lib/${PN}/lsi.rb || die
+ fi
+}
diff --git a/dev-ruby/classifier-reborn/metadata.xml b/dev-ruby/classifier-reborn/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/classifier-reborn/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>