diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-libs/libmemcached-awesome | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-libs/libmemcached-awesome')
-rw-r--r-- | dev-libs/libmemcached-awesome/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/libmemcached-awesome/metadata.xml | 19 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/libmemcached-awesome/Manifest b/dev-libs/libmemcached-awesome/Manifest new file mode 100644 index 000000000000..ddd6139ae851 --- /dev/null +++ b/dev-libs/libmemcached-awesome/Manifest @@ -0,0 +1,3 @@ +DIST libmemcached-awesome-1.1.1.tar.gz 527161 BLAKE2B 8eedefc35ef1964efd653523ade11da5233ddbab620e34552f963b6138a19f358adfde57fc5955f4ae28c755df2e39d716cb36fb96eef0c14a54ddce20dd8e39 SHA512 b5de32a3db506fb70f2da2bb029a10129667e1a1b054e0cd68ed4f8f99c5b514c2c3e14cb714dbb83de5a138d6a0b867bfc956f08ba9d2b02f050115ae175af5 +EBUILD libmemcached-awesome-1.1.1.ebuild 1030 BLAKE2B 5feca1cb154c4fb2a12f3929abfe9daaf034788cdff7dae26097e49d34a7fa64315f04d4e07582ae9131aea01c4d263566b26860298f797b23e9d84785db2a4c SHA512 5ec43e661c4c9f174ac75dfe1591d3c5f92f9f961cf8d0adb5c68ff241acfc0ef3b3da426e8521bc34d73a72101e9eb71cc7cb95f344c8150b75df75a4a7409f +MISC metadata.xml 632 BLAKE2B abbf2b34829dfd68688dfe74c7a14e788558ecbf1e738fddb9296f986925c4c3cb927fd30b2d4a2a38c54082271eaabf19963d1daf4ab1ea9a3a9d16f1f5b558 SHA512 f4095b8e6c92046ae23a793724237522c99734ab80c3dd71f58d9972e728ba27330d169eafc3294df6e2e0f9b57e7c8f70e8b5a51a3c532250965e8ae7b05e0c diff --git a/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild new file mode 100644 index 000000000000..eb599e7d4a24 --- /dev/null +++ b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild @@ -0,0 +1,44 @@ +# 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="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)" + ) + + cmake_src_test +} diff --git a/dev-libs/libmemcached-awesome/metadata.xml b/dev-libs/libmemcached-awesome/metadata.xml new file mode 100644 index 000000000000..c65546e91187 --- /dev/null +++ b/dev-libs/libmemcached-awesome/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>hydrapolic@gmail.com</email> + <name>Tomáš Mózes</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">awesomized/libmemcached</remote-id> + </upstream> + <use> + <flag name="libevent">Use the libevent event loop interface.</flag> + <flag name="sasl">Use sasl auth for communications.</flag> + </use> +</pkgmetadata> |