From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-ruby/classifier/Manifest | 5 +++++ dev-ruby/classifier/classifier-1.3.4.ebuild | 34 +++++++++++++++++++++++++++++ dev-ruby/classifier/metadata.xml | 11 ++++++++++ 3 files changed, 50 insertions(+) create mode 100644 dev-ruby/classifier/Manifest create mode 100644 dev-ruby/classifier/classifier-1.3.4.ebuild create mode 100644 dev-ruby/classifier/metadata.xml (limited to 'dev-ruby/classifier') diff --git a/dev-ruby/classifier/Manifest b/dev-ruby/classifier/Manifest new file mode 100644 index 000000000000..b841677180bb --- /dev/null +++ b/dev-ruby/classifier/Manifest @@ -0,0 +1,5 @@ +DIST classifier-1.3.4.gem 26112 SHA256 ac5754c0d607b58af008afd479b6bbb3a8d6c1cef04677d335f57846c5455a5d SHA512 b59fe17f7fe508d5f26584e14d5cd89eed8f77756b75a65adf2512116d0a67b716d14c2f742270fd14765567079a88264f5e1afe49d3865403814c4bdaf8f2f1 WHIRLPOOL 63ed89f55b53309afa789ccb0fefeba5f1d53434eb67e60c06270b31e2922d197fd99b41119f0e08e4ad967c8c13d1f840371f0ce039389b346c4ef67c3ebbdb +EBUILD classifier-1.3.4.ebuild 990 SHA256 33b05d5eef12a05f1f461405848e0741205d637a7ae90c452e21e432f14f0ab3 SHA512 da598cc7730fdf6529a30b0f2671ec83a39c8bf8f56ed7eacd71ef2f4d15c0e9c52b10b2c535248bff775ca51f15ece0e6a22ca4dbd8c0da6543e75741a04897 WHIRLPOOL eca29a87729114633e394e366ff1c630ce470e0a93eb447d71821ac348ee8c17d83da5b555c5b4c9e02922be354421bf96a73339db28bdaaa45b3fce29c16d26 +MISC ChangeLog 3237 SHA256 4ec4eaf5c4f3caf4bd05f4d7dc2988b710b7db481afbc73e5bc879f08233ba74 SHA512 99fef0c12b138e65d65c7f46b42e7ac970463231fdc94b88b21890a51006357f075dec9305412066c02e682e957d2415135e2e58a265c079ec28dc331df557a8 WHIRLPOOL d4efc9d716e150e1d05db9b957b4bdd1acfcecc3bcf4e1d22ccb2fa57f6c2144cb9d2a9adb3d1adef749d1f48faddf97e32efb1243a4318aa745e141efd244cb +MISC ChangeLog-2015 1167 SHA256 7af90521f73ee196e0027dbd501ce796c382cebee17e504277c47457b2952670 SHA512 d6981fcf4e13944913e68eae7ee738fdf4e6e66c5c8d3402da01603785c82498ffb65b8755131e225bcb28302fcd4cdbfb7d0bd987153b8d91926bf90f9d5dbd WHIRLPOOL cec2fda566d19cfa3820938f68ebc8d1de4c4164107ed2274a0ea3b898b89eab9d4f4b0c6f2f318191fe4dcbf8b45e14472b0c16aa00e9d23dcaff79ca861980 +MISC metadata.xml 346 SHA256 0d562ae3729a0c5bea8b3abe914a0a07fd3a24196136c676c901c83b7bf0bd86 SHA512 01d4931bce6d5e0fe7fd5e6c84773420a3eeca9e98f9457872d1dd4ca24bddbdbc7bc96077d41858f155538e60c6bc2a997730612386caa6dea3c12434d77b10 WHIRLPOOL af616d49da4a019dc1a10c39c0a06379f9f223eb5455d993ca5ac744096d79281734de855078cf456c25c48421adbf613a312b369c95f1467866cb4e21b0d85d diff --git a/dev-ruby/classifier/classifier-1.3.4.ebuild b/dev-ruby/classifier/classifier-1.3.4.ebuild new file mode 100644 index 000000000000..0a5faa7ecf89 --- /dev/null +++ b/dev-ruby/classifier/classifier-1.3.4.ebuild @@ -0,0 +1,34 @@ +# 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="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 new file mode 100644 index 000000000000..04461dc7b70a --- /dev/null +++ b/dev-ruby/classifier/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + cardmagic/classifier + + -- cgit v1.2.3