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/ferret |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/ferret')
-rw-r--r-- | dev-ruby/ferret/Manifest | 7 | ||||
-rw-r--r-- | dev-ruby/ferret/ferret-0.11.8.6.ebuild | 52 | ||||
-rw-r--r-- | dev-ruby/ferret/ferret-0.11.8.7.ebuild | 52 | ||||
-rw-r--r-- | dev-ruby/ferret/metadata.xml | 11 |
4 files changed, 122 insertions, 0 deletions
diff --git a/dev-ruby/ferret/Manifest b/dev-ruby/ferret/Manifest new file mode 100644 index 000000000000..2c3fdab1999a --- /dev/null +++ b/dev-ruby/ferret/Manifest @@ -0,0 +1,7 @@ +DIST ferret-0.11.8.6.gem 617984 SHA256 c1d1bc3fe18d0496f02d11c925683c87ab994fd6e096b3ebac1652e3514e6d6e SHA512 bc545dc86abf7e818791f4f280025fd0a6ca3aad66fc4f4c6a532e995d718ee4adcdace15538cd35e068887ade059c874d8b6d72f5b02f98829d6db44b019c59 WHIRLPOOL ca148404fe29a3cf8b2e550ef73aa99dcf32654cb060f2e3d0c378e995733f8a4dadcd6f7bad6597c398caba39e06d9db0b6292ac87c23f0740f83a55da9d10c +DIST ferret-0.11.8.7.gem 608768 SHA256 9b22927618fbc76579665ea4cc4133edeeff8d31c2b974507f59078042048363 SHA512 ac7cafa25ade9741e0eb95d7372f6dd7ce4ea82368c69ace536b852fd5cc435d05764041ba1bddcc6098665c6e1aa7a12ac9739e45362007f726f3e7a8124df1 WHIRLPOOL 2a6a0fd154385def37243f039024e4d88c232cb42d8e0a397f16f359c0789e5dbc801ece938f0ee1a274c5b29ce02e0b330056178e4bac24a2a372b056a810b1 +EBUILD ferret-0.11.8.6.ebuild 1233 SHA256 95f81f158edbba7d6bace654199eaef9eac5dc256b1b2d96e0a2c3d59d3effc4 SHA512 0bdadee28950fc1ec3cc05bee3ccfd1bf9704efe53c5154527d9c8d62a066939ad4388a048a8ae731e090e7d8a408218d009598e21a7f8422bdc20154b4890ad WHIRLPOOL 34b53a7963f9263cf09dab711c4c9eb45f1c6c0c529dd25c6efe7cb1b1064e6438a63c11d30d725212353237ff403a5d3e9f80a656e74511e7a4880f6184aa3d +EBUILD ferret-0.11.8.7.ebuild 1239 SHA256 e9bb9d1f764beb86b77093ad472b968cfbba0657446f3cfc18628e98e92bda97 SHA512 69907b1814d102250f14d4edc43c6846c539a93a7eb33cebf22e65061f8bc1069d93cbb97a12ebead9b4aad9467b399f72e9bbca938ed4d99251303ee1c5e744 WHIRLPOOL ea491516e56e9a18692a710a877fe6a90275b064bc808dfdac7990ac01fa59bb11622109bc5a3bd2f8b2dc25a66fb6a58726951359837a51c04658d95341e0bc +MISC ChangeLog 2741 SHA256 35430e9d8b5dca05eb3247c97cf344dadf0feb122a9cf07f5dce412e85808b70 SHA512 6a1ecc7a571c13edf8fc08ea8bff7c1ec009024f165d3d34594a06f64b928be5e94e11672af2d3b45b78359ba2e152588254ac2521c62dc73a41454710dd6dc8 WHIRLPOOL a28fa228d84786c7f52e836d2d031d1dd8ca6b61f82e56ff5715e3c56c1388bb31415e4837be232310b952ac0c3e9591ce81bd29e39a6aeb5049a8ac1fe7e815 +MISC ChangeLog-2015 2917 SHA256 bb4ba2f9e674db5336ab8015ae7502299043b08eb2b534a4e8fe831bacd44d1b SHA512 6ea683afe561c7ac9baef8e06779e0b81ae7a1a47432d86912a0ccd1e5ae6c00522b4f391f211c5d7658b07ecc7be06b5fee74b154ffc5f2a8c99e6ce9f1afdb WHIRLPOOL 708f0f77544888033565fd3b51e55324979613f78973c290ef3e882afe791a55abaa60f7f4cf1925423cd2d5566d5c4276f0093e4036766fa1c40e3874b0d566 +MISC metadata.xml 341 SHA256 73196a8eb551df56b5c1580ae6b02c250ac55f84111caa22fbee6b12e36d36ce SHA512 bbe210c0d097134af3f5489b4a5cca742cff83ac41b8fe3ae9086a1d9cd38210af100bc778a9eb42273c74936d5c3a8f42866ba7686b6fae1afdd04a5e46e450 WHIRLPOOL 0ca0ddfb352e3dbe03f2a3b1ede740834748659741d038c3ae75a6e40b48e9922eb659ab285b00c85b3946a9ea0ce5489de622ffcfe8464c4e7d766f1475e0b9 diff --git a/dev-ruby/ferret/ferret-0.11.8.6.ebuild b/dev-ruby/ferret/ferret-0.11.8.6.ebuild new file mode 100644 index 000000000000..dec98563be5c --- /dev/null +++ b/dev-ruby/ferret/ferret-0.11.8.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_NAME="ferret" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_DOCDIR="doc/api" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG RELEASE_CHANGES RELEASE_NOTES README TODO TUTORIAL" + +inherit multilib ruby-fakegem + +MY_P="${P/ruby-/}" +DESCRIPTION="A ruby indexing/searching library" +HOMEPAGE="https://github.com/jkraemer/ferret" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND+=" app-arch/bzip2" +DEPEND+=" app-arch/bzip2" + +all_ruby_prepare() { + # Remove bundled bzlib code and use system version instead. + rm ext/BZLIB* ext/bzlib* || die + sed -i -e '14i $LDFLAGS += " -lbz2 "' ext/extconf.rb || die + + # Avoid test known to fail upstream: + # https://github.com/jkraemer/ferret/issues/2 + sed -i -e '/test_adding_long_url/,/^ end/ s:^:#:' \ + test/unit/index/tc_index_writer.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/ferret_ext$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test_all.rb || die +} diff --git a/dev-ruby/ferret/ferret-0.11.8.7.ebuild b/dev-ruby/ferret/ferret-0.11.8.7.ebuild new file mode 100644 index 000000000000..0093bcfed420 --- /dev/null +++ b/dev-ruby/ferret/ferret-0.11.8.7.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_NAME="ferret" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_DOCDIR="doc/api" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG RELEASE_CHANGES RELEASE_NOTES README.md TODO TUTORIAL.md" + +inherit multilib ruby-fakegem + +MY_P="${P/ruby-/}" +DESCRIPTION="A ruby indexing/searching library" +HOMEPAGE="https://github.com/jkraemer/ferret" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND+=" app-arch/bzip2" +DEPEND+=" app-arch/bzip2" + +all_ruby_prepare() { + # Remove bundled bzlib code and use system version instead. + rm ext/BZLIB* ext/bzlib* || die + sed -i -e '14i $LDFLAGS += " -lbz2 "' ext/extconf.rb || die + + # Avoid test known to fail upstream: + # https://github.com/jkraemer/ferret/issues/2 + sed -i -e '/test_adding_long_url/,/^ end/ s:^:#:' \ + test/unit/index/tc_index_writer.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/ferret_ext$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test_all.rb || die +} diff --git a/dev-ruby/ferret/metadata.xml b/dev-ruby/ferret/metadata.xml new file mode 100644 index 000000000000..1c20b9283cce --- /dev/null +++ b/dev-ruby/ferret/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">jkraemer/ferret</remote-id> + </upstream> +</pkgmetadata> |