diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2022-09-28 10:33:07 +0000 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-10-02 16:53:40 +0200 |
commit | 43b760b17a3945848e0ba60d418c00d7f5bdb3b5 (patch) | |
tree | ecbdc1d31fb1de4a9ceca0350ce233d8ef285f0e /dev-libs/libmemcached-awesome | |
parent | dev-util/radare2: add 5.7.8 (diff) | |
download | gentoo-43b760b17a3945848e0ba60d418c00d7f5bdb3b5.tar.gz gentoo-43b760b17a3945848e0ba60d418c00d7f5bdb3b5.tar.bz2 gentoo-43b760b17a3945848e0ba60d418c00d7f5bdb3b5.zip |
dev-libs/libmemcached-awesome: bump to 1.1.2
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27508
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-libs/libmemcached-awesome')
-rw-r--r-- | dev-libs/libmemcached-awesome/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.2.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libmemcached-awesome/Manifest b/dev-libs/libmemcached-awesome/Manifest index 50f37410c29c..5eaaf462b5f3 100644 --- a/dev-libs/libmemcached-awesome/Manifest +++ b/dev-libs/libmemcached-awesome/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.2.ebuild b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.2.ebuild new file mode 100644 index 000000000000..aa23fd0f9f65 --- /dev/null +++ b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.2.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 +} |