mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/pylibmc: Bump to 1.8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST pylibmc-1.6.3.gh.tar.gz 72154 BLAKE2B 3367651d355cb9c6693d8162e740c855c8f84f6b2a5f54ba5fb7f505474263650b46d5ed04c11af2199a7b40c6d4cf0d13a63d2d76a395ff30570a4a3e5259ec SHA512 4bc85d305410f775a39d8d3f64a7e97538ed6ae890cd64833e5bff92fbb60fe8ebc4cc7956df015f6590eb55b7009bd36b299dc636ee0da7f71ed51cc98f3012
|
||||
DIST pylibmc-1.7.1.gh.tar.gz 100507 BLAKE2B 4bab6ba1efae4fef6b8c42d2653dbb6953c4431dfdc6fa5e45029252d68c99d73774cd07d6939d8e1f98f2efea0abead640d6617807f95ed9c61a45f265f80e4 SHA512 eb727c2205cea3341080cddd3d4deeb0b288ca22ea5b3eb0349cb5a61b0735cfacc275c4ff95cc676aa7336f980759ee1b6d2e9cfb7b8fd5d9994c1627828197
|
||||
DIST pylibmc-1.8.0.gh.tar.gz 164256 BLAKE2B 9b7396bff4d728e170c0526b3d3e4a504df981cca04f054fbf9d767ec90682b8d7afe8a7a95a8a54a617a5779091c13e745f4467b70697b9b8a4ec4507a66cb7 SHA512 2d6a18b80e0568ca5683279c8032954ec60820faa1849db210831ad54744b4ece95778a376e39807fe9b4663912fe58741c729ef5e503904620cbf7e8932ceff
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2026 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_{12..15} )
|
||||
|
||||
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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
IUSE="sasl"
|
||||
|
||||
DEPEND="
|
||||
|| (
|
||||
dev-libs/libmemcached-awesome[sasl=]
|
||||
>=dev-libs/libmemcached-0.32[sasl=]
|
||||
)
|
||||
virtual/zlib:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
test? (
|
||||
net-misc/memcached
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# needed for docs
|
||||
export PYLIBMC_DIR=.
|
||||
|
||||
src_test() {
|
||||
# new slop tests don't respect MEMCACHED_PORT, so need to be 11211
|
||||
local -x MEMCACHED_PORT=11211
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user