diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/classifier-reborn |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/classifier-reborn')
-rw-r--r-- | dev-ruby/classifier-reborn/Manifest | 7 | ||||
-rw-r--r-- | dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild | 34 | ||||
-rw-r--r-- | dev-ruby/classifier-reborn/classifier-reborn-2.1.0.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/classifier-reborn/metadata.xml | 11 |
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-ruby/classifier-reborn/Manifest b/dev-ruby/classifier-reborn/Manifest new file mode 100644 index 000000000000..79f2c24fc3f4 --- /dev/null +++ b/dev-ruby/classifier-reborn/Manifest @@ -0,0 +1,7 @@ +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 +EBUILD classifier-reborn-2.0.4.ebuild 901 SHA256 f37a602c9fd4f15f185b4538783aadab77e30df7137f7c3e421f9039ab47be08 SHA512 443cc6bbb7790ee03dd88ca2ef3e0ab8ffc7c9a6fa04ca6e4fe9ab10c0e2739f3831de528a233108c50710ea070b47cfa6ed4265623de77bb4f8aede7616f1e5 WHIRLPOOL 0d317a4f6308d8e0241a9db6dab0fb6e1714477f8fa53fb5bd2bcddb098a185df7736d7592c5670f9b37d648ed5b42593468a9674b9d94c49e4304615a99e7df +EBUILD classifier-reborn-2.1.0.ebuild 974 SHA256 0844e26e35c9c52770aa643b7fdd5e9d9ea736fb184c6b04a41c79c290e4d19c SHA512 6311fda87ae920d4a51ee61e25c95251c3af53fc6b81e18925b7245b121210e540348f945a09e87f5486709c9333740f85962529e557bb3b5ce7db16c54fcc5c WHIRLPOOL 3b9e8c8a77830c3a21c5e8ae638bbbc24cbe169150c9b8aaef96f227e0641660f7f589184428ed84aea0e32b7c5ce1c6147e6814dedf107d2da60f43a87bd352 +MISC ChangeLog 2763 SHA256 976ea2289979b9c6ed528bf2dbd6ec5952478e04fd6e4542f439f187aec5b221 SHA512 ca0dc28f27bd6540a436769e40ea56ddb86caafb8d12de021f9a17f2c12a242bd1e6a822817fa35f0f4f1bc73438b85d2b696514be598cbb1bd7ee5237510e12 WHIRLPOOL b87ca21938d619492670bc9bfcf2b04147c07fbe6eaf3ee09d2580cbf39a7ddd3e734c56bbd51286944b7cb0d4bd2f7db7afa96b817f2c9ebbb7a015b6666c68 +MISC ChangeLog-2015 1300 SHA256 668cd8bd0c77e6c91c660031454537bb0730ddd09122b1ef5e57b2540cefcd5d SHA512 4b718261a9738e1fdb95d0f520fde65758a4da7db8e60b89cce73f185508efca324fe5e2be11e6a315d50e7795f3c56edd9e13fb870b01c9ca04c7996cc2ba1b WHIRLPOOL 6e8e4b5fdfb73073d59e11deca50311b32dd3d4e08f3162df0fa70f4a03cfcac32182e2824392cec1e15b1c009ed38eefeb565fb33823d93130fa6153c9ca8c3 +MISC metadata.xml 350 SHA256 5104dd57233bede143f4a5baead9bbb695776216c05cde6bc4ab7977e6ddc99b SHA512 defb2af66dc0a90b83cc127144db7932659ce36beda28f59ea1fe693843fa3c41dd584f53b9ec6136ae2470aeab4ef191621e84862f97c33a736eae54d6c5a71 WHIRLPOOL 0c76142acc654f93bb269c9b4e1c6a94bd04be3b030e48f65567af146fe4e8b643e4d18944b28e3b5d304fae2e9ad9b7a1dc85f86bc99ee086898a90524e4f8e 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 000000000000..8e616cb9dace --- /dev/null +++ b/dev-ruby/classifier-reborn/classifier-reborn-2.0.4.ebuild @@ -0,0 +1,34 @@ +# 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 new file mode 100644 index 000000000000..e4c7a0414207 --- /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="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 +} diff --git a/dev-ruby/classifier-reborn/metadata.xml b/dev-ruby/classifier-reborn/metadata.xml new file mode 100644 index 000000000000..89e88426f8ab --- /dev/null +++ b/dev-ruby/classifier-reborn/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">jekyll/classifier-reborn</remote-id> + </upstream> +</pkgmetadata> |