diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-16 04:04:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-16 04:04:29 +0100 |
commit | 61a1cada8ceb208845fa604b982216b0a7b099cb (patch) | |
tree | d91d334e3ed29648631d4c04be64001120d48e44 /dev-python/pylibmc | |
parent | 45392c898b8ba163e95028bd98896e77f0c73806 (diff) |
gentoo auto-resync : 16:10:2024 - 04:04:29
Diffstat (limited to 'dev-python/pylibmc')
-rw-r--r-- | dev-python/pylibmc/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pylibmc/pylibmc-1.6.3-r1.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/pylibmc/Manifest b/dev-python/pylibmc/Manifest index d6fb8ee808a3..10fad6d8309e 100644 --- a/dev-python/pylibmc/Manifest +++ b/dev-python/pylibmc/Manifest @@ -1,4 +1,5 @@ AUX pylibmc-1.6.1-fix-test-failures-r1.patch 516 BLAKE2B b471ca80b11beff5ac0119f5eafaf437a74022c977a884b8bdf4ef2afdb3d535ad6602db9b1206fb6649bf57ffe5bbd17509d3dda3b6604fcfa428b592dbeae3 SHA512 802337b66cbd188cc81208420448da24cecde3c01d435d6814437f0ee31850b6ef8a53f61647740da340a69971e5fe570cc2a8c1b31226e425ce7ff88bca101c DIST pylibmc-1.6.3.gh.tar.gz 72154 BLAKE2B 3367651d355cb9c6693d8162e740c855c8f84f6b2a5f54ba5fb7f505474263650b46d5ed04c11af2199a7b40c6d4cf0d13a63d2d76a395ff30570a4a3e5259ec SHA512 4bc85d305410f775a39d8d3f64a7e97538ed6ae890cd64833e5bff92fbb60fe8ebc4cc7956df015f6590eb55b7009bd36b299dc636ee0da7f71ed51cc98f3012 +EBUILD pylibmc-1.6.3-r1.ebuild 1284 BLAKE2B 9ced77859e955bf8a2ee33543d9cf486677e65dfadacbd6fdee7c633df30ecd83c5566c656ed33f1af26f83b5c2302e174955a78bb42f5cb05caecd54d4216ee SHA512 cefe423a081988fe50b5b9c342bb956422d17fb2e06607c40f5b61511cc303dab29d6542c5c6dd42aa3b8d78af7739e355b58fa8ac28fd2745a23a6241feb298 EBUILD pylibmc-1.6.3.ebuild 1259 BLAKE2B 4f2a66a5759180b1a60703cd87035506641f51333144e33066d46c035c8428ff52c2839b2251a5e3eba77745d1756c2bb35041b8ac847fc45b9378d8d627cb5b SHA512 fecc20b17271b73d0bc506ecd2ffd14882b73dd043d13cc9687fb04ec6c9c354427e2bc1d6df6ed4a724e402dc5b96bab536ea419cf4d7542105ee6e108e9be0 MISC metadata.xml 367 BLAKE2B fd37f3e072661e616dcfabb2054827a7b1c3830e555cb6fa461e93dadcd39ab1856c0ad4cbe03be85924889b97ba7cc88da651011a4b1c5622fcd950339f7e2d SHA512 33977c15a726c2039221bcbd282244c240013922bd4f1398e75f01ebd68dd0f8574ac890ddb578cb633a89b52584927800f86dcb4a1eb0ab27b165c38b9a91e6 diff --git a/dev-python/pylibmc/pylibmc-1.6.3-r1.ebuild b/dev-python/pylibmc/pylibmc-1.6.3-r1.ebuild new file mode 100644 index 000000000000..4d0f0927dfab --- /dev/null +++ b/dev-python/pylibmc/pylibmc-1.6.3-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} 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 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="sasl" + +DEPEND=" + >=dev-libs/libmemcached-0.32[sasl=] +" +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 +} |