From b052fbf151106a4f47cac7fdf0ffff983decb773 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 1 Sep 2022 19:24:10 +0100 Subject: gentoo auto-resync : 01:09:2022 - 19:24:10 --- dev-python/pylibmc/Manifest | 2 ++ dev-python/pylibmc/pylibmc-1.6.3.ebuild | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-python/pylibmc/pylibmc-1.6.3.ebuild (limited to 'dev-python/pylibmc') diff --git a/dev-python/pylibmc/Manifest b/dev-python/pylibmc/Manifest index d914f5f0a9fc..569478d0fdac 100644 --- a/dev-python/pylibmc/Manifest +++ b/dev-python/pylibmc/Manifest @@ -3,6 +3,8 @@ AUX pylibmc-1.6.1-py311.patch 918 BLAKE2B dcc8b3a8c8cc6d7a2b8de79af116ed55171a96 DIST pylibmc-1.6.1-no-nose.patch 26090 BLAKE2B 160e5b58107dcea0354462370eeeb12739c7fd1549e1c64ddf1fe2451654e50c1408505985eb6a7150ce60185bc7acebba7a20c6444615bef8c6991debfba4cc SHA512 84fb37505def84caaacb1343032d18bd644f5072e6ce7a2d6e88bc33bd2dedc8b303f4cf2a9b57b32c3c4b8e01bef1bebcc09ecb525568c928aed326bee2cace DIST pylibmc-1.6.1.tar.gz 72061 BLAKE2B ebaa6f9dfc341d862a8b46bbbf0db1420ff400cb40390f7bee6bf198ff941ad7967b578040ffe1209721ea84a163a39649108a2a23f3dadc2d579db740b2ccf3 SHA512 a3874435389486b29bab5f1d29e5c179d67655d90995bb27fcb7cd46ce7eb3b60117b94f901602f8a65dc0e587d5f8edfcf15e259effd439411adb58ddb7065e DIST pylibmc-1.6.2.gh.tar.gz 71581 BLAKE2B 4fc9216150e122b6d80537184422b52c0a518f5b9fbcf5b54f794fde33d5ac6fcd474e08f71b8d71f0443351e91ea5d8ac2c24e94bd568605cf1183259394091 SHA512 1a1575fd5c3644d53e0ed49818bd958e0e28fe0354f41578c944b260f402f1b51a74baca8f98b32adfd0024e61ec8df1795c6ca7363509e35e4f34a907de063e +DIST pylibmc-1.6.3.gh.tar.gz 72154 BLAKE2B 3367651d355cb9c6693d8162e740c855c8f84f6b2a5f54ba5fb7f505474263650b46d5ed04c11af2199a7b40c6d4cf0d13a63d2d76a395ff30570a4a3e5259ec SHA512 4bc85d305410f775a39d8d3f64a7e97538ed6ae890cd64833e5bff92fbb60fe8ebc4cc7956df015f6590eb55b7009bd36b299dc636ee0da7f71ed51cc98f3012 EBUILD pylibmc-1.6.1-r2.ebuild 1383 BLAKE2B 722b240fc8e21ef8ad8007d788937c130159080dbc4f6da82a7b7fffc620c9f9945d2c6f330515b17eaf3124738386ee91c8a159743450f711ba281697baab1f SHA512 5b7fbaa7198f7a0eac192607d51a118ab3a1251f017c303ee0f92743b02e83fdc34a795573d821baeda02685a0a19ca02f9784f14c86b0ad67009ef8dd072e21 EBUILD pylibmc-1.6.2.ebuild 1234 BLAKE2B a2b45998533c4b68074c5e58406a68a4cbf6574322cc0e29163164ced280ee9c15306b1b733db710c18c240adb604979e40806525192182de17d79140f755138 SHA512 99049e42ebb1aeca7c456cc5068fcb9e24d0a4ba7a94099622480ba92905323b2beff1a598788c0a9b6ed15354cb8472027f284d68c091550c3f365b4ad2c9a2 +EBUILD pylibmc-1.6.3.ebuild 1234 BLAKE2B a2b45998533c4b68074c5e58406a68a4cbf6574322cc0e29163164ced280ee9c15306b1b733db710c18c240adb604979e40806525192182de17d79140f755138 SHA512 99049e42ebb1aeca7c456cc5068fcb9e24d0a4ba7a94099622480ba92905323b2beff1a598788c0a9b6ed15354cb8472027f284d68c091550c3f365b4ad2c9a2 MISC metadata.xml 367 BLAKE2B fd37f3e072661e616dcfabb2054827a7b1c3830e555cb6fa461e93dadcd39ab1856c0ad4cbe03be85924889b97ba7cc88da651011a4b1c5622fcd950339f7e2d SHA512 33977c15a726c2039221bcbd282244c240013922bd4f1398e75f01ebd68dd0f8574ac890ddb578cb633a89b52584927800f86dcb4a1eb0ab27b165c38b9a91e6 diff --git a/dev-python/pylibmc/pylibmc-1.6.3.ebuild b/dev-python/pylibmc/pylibmc-1.6.3.ebuild new file mode 100644 index 000000000000..b37179120315 --- /dev/null +++ b/dev-python/pylibmc/pylibmc-1.6.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Libmemcached wrapper written as a Python extension" +HOMEPAGE=" + https://sendapatch.se/projects/pylibmc/ + https://pypi.org/project/pylibmc/ + https://github.com/lericson/pylibmc/ +" +SRC_URI=" + https://github.com/lericson/pylibmc/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" + +DEPEND=" + >=dev-libs/libmemcached-0.32 +" +RDEPEND="${DEPEND}" +BDEPEND=" + test? ( + net-misc/memcached + ) +" + +PATCHES=( + "${FILESDIR}/pylibmc-1.6.1-fix-test-failures-r1.patch" +) + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +# needed for docs +export PYLIBMC_DIR=. + +src_test() { + local -x MEMCACHED_PORT=11219 + memcached -d -p "${MEMCACHED_PORT}" -u nobody -l localhost \ + -P "${T}/m.pid" || die + distutils-r1_src_test + kill "$(<"${T}/m.pid")" || die +} + +python_test() { + local EPYTEST_DESELECT=( + # these require "AmazonElastiCache" running + tests/test_autoconf.py + ) + + epytest --doctest-modules --doctest-glob='doctests.txt' src/pylibmc tests +} -- cgit v1.2.3