diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /dev-ruby/hiredis | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'dev-ruby/hiredis')
-rw-r--r-- | dev-ruby/hiredis/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/hiredis/hiredis-0.6.1.ebuild | 4 | ||||
-rw-r--r-- | dev-ruby/hiredis/hiredis-0.6.3.ebuild | 46 |
3 files changed, 51 insertions, 3 deletions
diff --git a/dev-ruby/hiredis/Manifest b/dev-ruby/hiredis/Manifest index 0d747a96856c..6e78f8b23d6d 100644 --- a/dev-ruby/hiredis/Manifest +++ b/dev-ruby/hiredis/Manifest @@ -1,4 +1,6 @@ AUX hiredis-0.6.1-unvendor-hiredis.patch 668 BLAKE2B 028700bf24f26e0090fefde677c32c44de57558ce9e334c7d2396e8fd98112ad96fa9502a1aa363ff4843d3b7e9d80a07870a011482d0716b84d22414014d3eb SHA512 c58191682152d26c823c01c689a4cb9becc6dd870034e8ddb7f1aa64a345025f771beb1f72b3dcfebb6948412e1548c9f28fb65c11d60243acad232ecd5e5787 DIST hiredis-rb-0.6.1.tar.gz 18843 BLAKE2B 56edb460d39018730f43aeb443b6a9d81e2573ebbb6c3149a18db836c8ef5fc8ceceaa768b1a7157280f3e2fd1ed117a76cc6d06c13e326fd45b8bd4efccb24a SHA512 23107d68501c244ec2669448aa919a612be182b559f28a715a4e3a91a894332105ae3a5c96652a691f01e49c88772a482f0da11b80bbb443fa0146bbf77cc722 -EBUILD hiredis-0.6.1.ebuild 1099 BLAKE2B 8938a1e43b3540c935e92a3e68e575a24f21774c8ba9c44615dffaecb9d64244ca25c379ae35d9935d938f943aeff9048c2c322425a718bbff173f4d895783cc SHA512 3f32b22b30d19acb2309ef55cc5367f76a65c4cb006e2a89a16761246e20f8fd1ae65fd97ba524996225a706082edad40d2985635808a154aa80f8327c4ea522 +DIST hiredis-rb-0.6.3.tar.gz 19106 BLAKE2B 2892fd28bf7e7edfc3563a0c321fd781baeca9eb31a64dd559a6c828bb9c4fe37c995748782c5222db46b5b35a4d17f5b8b4d8e5306209a0e374ec7096d3cd4b SHA512 3e081d46aeb128789fa41fe9422186dd30e88c5a7a3c16dfcf1a92fe7faf99cced352ea39a885785fc12f0a974625be329d9ff2a5936a786febe8a2c81f5e139 +EBUILD hiredis-0.6.1.ebuild 1103 BLAKE2B b254b716a2999f3f2153e539c551144f010f65b24e00ca7fd7c7837e6b8aef8c41be601c4496af54c428ee7bea96977e55389bedb6fe55524cd96c445df5cec4 SHA512 ed008ee2aa2f173667db2394ba0ecfb3cfe0a5ee3157e6f609ec23ea5bb273a5697dbb98b18c3d2343f4adbdfe62731121729798c25fd8dd0c4f844c82e7ff0a +EBUILD hiredis-0.6.3.ebuild 1103 BLAKE2B a83cf45b27ae7eff314f8bd9074cc9ff07aa004fad97d3c29a60262a8d2752017c7e6ea28dbbf931e5f73c31d4d3f2faaa075b9b757e9c74c414fc5d4c209586 SHA512 f30ebe6c664d8edd71c4b8325aa0eb00c5afa028ea720f65489d8273c668e6def4856b26b420dc6f3bb9ddfc995d29b87f1739a86da8139e99a330e352be5ba9 MISC metadata.xml 342 BLAKE2B fd0bfbbf389a657ac98a4bd4da04180258197b8947e4fcff2d0495f99d74795e97c17d90e4f8cd3c37896fe438fb51f61b7c8bf524a546da12f1e1db949275cb SHA512 82e2c1eba3739857ef533105899b3fa50865136d9aa54709b97d46beb8791c3025b78fbd5173db3c5e0981c0d0873f88ceef9b4a1abdeee7d47c860ae6b25c92 diff --git a/dev-ruby/hiredis/hiredis-0.6.1.ebuild b/dev-ruby/hiredis/hiredis-0.6.1.ebuild index c41f5f6a8a25..0ff6a725e116 100644 --- a/dev-ruby/hiredis/hiredis-0.6.1.ebuild +++ b/dev-ruby/hiredis/hiredis-0.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -21,7 +21,7 @@ SLOT="0" KEYWORDS="~amd64" IUSE="" -RDEPEND+=" dev-libs/hiredis:=" +RDEPEND+=" =dev-libs/hiredis-0.13*:=" DEPEND+=" dev-libs/hiredis test? ( dev-ruby/test-unit:2 )" RUBY_S="${MY_P}" diff --git a/dev-ruby/hiredis/hiredis-0.6.3.ebuild b/dev-ruby/hiredis/hiredis-0.6.3.ebuild new file mode 100644 index 000000000000..d840099be264 --- /dev/null +++ b/dev-ruby/hiredis/hiredis-0.6.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +MY_P="hiredis-rb-${PV}" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Wrapper for hiredis (protocol serialization/deserialization and blocking I/O)" +HOMEPAGE="https://github.com/redis/hiredis-rb" +SRC_URI="https://github.com/redis/hiredis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND+=" >=dev-libs/hiredis-0.14:=" +DEPEND+=" dev-libs/hiredis test? ( dev-ruby/test-unit:2 )" + +RUBY_S="${MY_P}" + +PATCHES=( "${FILESDIR}/${PN}-0.6.1-unvendor-hiredis.patch" ) + +all_ruby_prepare() { + sed -i -e 's:/tmp/:'${T}'/:' test/connection_test.rb || die +} + +each_ruby_configure() { + CC=$(tc-getCC) ${RUBY} -Cext/hiredis_ext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/hiredis_ext + cp ext/hiredis_ext/hiredis_ext.so lib/hiredis/ext/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} |