diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-06 17:28:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-06 17:28:09 +0100 |
commit | 3d1ec36f5f52760f2431b79c71dd9b7aaefbc9ee (patch) | |
tree | 687ad0fe326ee5fa1deeb22db8aa6b2fa8ce9d25 /dev-python/python-memcached/python-memcached-1.59-r1.ebuild | |
parent | efca56beb6bbb9547d49163cac02eac0b5c1f657 (diff) |
gentoo auto-resync : 06:04:2023 - 17:28:09
Diffstat (limited to 'dev-python/python-memcached/python-memcached-1.59-r1.ebuild')
-rw-r--r-- | dev-python/python-memcached/python-memcached-1.59-r1.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/dev-python/python-memcached/python-memcached-1.59-r1.ebuild b/dev-python/python-memcached/python-memcached-1.59-r1.ebuild deleted file mode 100644 index 8a90d01b36a7..000000000000 --- a/dev-python/python-memcached/python-memcached-1.59-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( pypy3 python3_{9..10} ) - -inherit distutils-r1 - -DESCRIPTION="Pure python memcached client" -HOMEPAGE=" - https://www.tummy.com/Community/software/python-memcached/ - https://pypi.org/project/python-memcached/ -" -# PyPI tarballs don't contain tests -SRC_URI="https://github.com/linsomniac/python-memcached/archive/${PV}.tar.gz -> ${P}-gh.tar.gz" - -LICENSE="OSL-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - net-misc/memcached - ) -" - -distutils_enable_tests unittest - -python_test() { - local pidfile="${TMPDIR}/memcached.pid" - - memcached -d -P "${pidfile}" || die "failed to start memcached" - - eunittest || die "Tests fail with ${EPYTHON}" - - kill "$(<"${pidfile}")" || die "failed to kill memcached" - local elapsed=0 - while [[ -f ${pidfile} ]]; do - if [[ $(( elapsed++ )) -ge 30 ]]; then - kill -KILL "$(<"${pidfile}")" || - die "failed to kill -KILL memcached" - die "memcached failed to stop after 30 seconds" - fi - sleep 1 - done -} |