commit: b90894ac5e2193df648893d380eca3ca57ffb495 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> AuthorDate: Fri Dec 2 01:43:02 2022 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Tue Dec 6 18:39:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b90894ac
dev-libs/libmemcached-awesome: add 1.1.3 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-libs/libmemcached-awesome/Manifest | 1 + .../libmemcached-awesome-1.1.3.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-libs/libmemcached-awesome/Manifest b/dev-libs/libmemcached-awesome/Manifest index 5eaaf462b5f3..cf7592abc9ca 100644 --- a/dev-libs/libmemcached-awesome/Manifest +++ b/dev-libs/libmemcached-awesome/Manifest @@ -1,2 +1,3 @@ DIST libmemcached-awesome-1.1.1.tar.gz 527161 BLAKE2B 8eedefc35ef1964efd653523ade11da5233ddbab620e34552f963b6138a19f358adfde57fc5955f4ae28c755df2e39d716cb36fb96eef0c14a54ddce20dd8e39 SHA512 b5de32a3db506fb70f2da2bb029a10129667e1a1b054e0cd68ed4f8f99c5b514c2c3e14cb714dbb83de5a138d6a0b867bfc956f08ba9d2b02f050115ae175af5 DIST libmemcached-awesome-1.1.2.tar.gz 527675 BLAKE2B 436c3dcfed00a66459064a58a4d82e22f6f4a624a1f462949d2d3d8536b1342cbb7f0d5f883a86cce119dbcada4597c664609b7f9334bd321a5f1d314e5906b0 SHA512 3b9b6b1b09b39c845b5169841902d45e470f99af65765c9ae5d405d4eb1b6884e49831ccfb128df67beeda45eeed5e0f41ee475560cabcfa98e8196134182a53 +DIST libmemcached-awesome-1.1.3.tar.gz 527880 BLAKE2B b3d91b9eeb335b3fa7b910842b3c31326669aa9634ab6c87a3247bf8279037f5c2470b653fed851bf1708559af1a1edab52707c19eb6ea89ac6cb92424290d4a SHA512 99fb2ad32c05f8af769f5b30983b7c4244cd7ee027ccc8f893a957de4ffb12939959e2461c9acd20a8d21e0af824606e97d54465b7147337f40313c5eddf474b diff --git a/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.3.ebuild b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.3.ebuild new file mode 100644 index 000000000000..aa23fd0f9f65 --- /dev/null +++ b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="a C/C++ memcached client library" +HOMEPAGE="https://github.com/awesomized/libmemcached" +SRC_URI="https://github.com/awesomized/libmemcached/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/libmemcached-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+libevent sasl test" +RESTRICT="!test? ( test )" + +RDEPEND="!dev-libs/libmemcached + libevent? ( dev-libs/libevent:= ) + sasl? ( dev-libs/cyrus-sasl:2 )" +DEPEND="${RDEPEND} + test? ( net-misc/memcached )" +BDEPEND="sys-devel/bison + sys-devel/flex + virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + -DENABLE_DTRACE=OFF + -DENABLE_SASL=$(usex sasl) + ) + + cmake_src_configure +} + +src_test() { + local myctestargs=( + # memcached_regression_lp583031: needs network, bug #845123 + # bin/memaslap: tries to use Portage HOMEDIR, bug #845123 + -E "(memcached_regression_lp583031|bin/memaslap|memcached_udp)" + ) + + cmake_src_test +}