From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DA2B31388BF for ; Wed, 17 Feb 2016 23:22:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C00FE0866; Wed, 17 Feb 2016 23:22:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00B98E0866 for ; Wed, 17 Feb 2016 23:22:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CE136340B57 for ; Wed, 17 Feb 2016 23:22:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A78D1074 for ; Wed, 17 Feb 2016 23:22:51 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1455751359.2c75c294815d88f79a9dac8e5cbf1ecd33d1a98f.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/classifier-reborn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/classifier-reborn/Manifest dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild X-VCS-Directories: dev-ruby/classifier-reborn/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 2c75c294815d88f79a9dac8e5cbf1ecd33d1a98f X-VCS-Branch: master Date: Wed, 17 Feb 2016 23:22:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 76766e4e-994a-4671-96af-8677ece08475 X-Archives-Hash: df19a10dacaedd47a3430140dc8f8ee4 commit: 2c75c294815d88f79a9dac8e5cbf1ecd33d1a98f Author: Manuel Rüger gentoo org> AuthorDate: Wed Feb 17 23:18:14 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Wed Feb 17 23:22:39 2016 +0000 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 0000000..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 +}