diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
| commit | f716a9fe6455d39eef01e718aae68dae61c19704 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/python-memcached/python-memcached-1.62.ebuild | |
| parent | 3f9cf298e89cd5037b982abba06091224ee76daf (diff) | |
| download | baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-memcached/python-memcached-1.62.ebuild')
| -rw-r--r-- | dev-python/python-memcached/python-memcached-1.62.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-python/python-memcached/python-memcached-1.62.ebuild b/dev-python/python-memcached/python-memcached-1.62.ebuild deleted file mode 100644 index 7416f4db2f19..000000000000 --- a/dev-python/python-memcached/python-memcached-1.62.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 - -DESCRIPTION="Pure python memcached client" -HOMEPAGE=" - https://github.com/linsomniac/python-memcached/ - https://pypi.org/project/python-memcached/ -" -SRC_URI=" - https://github.com/linsomniac/python-memcached/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="PSF-2.4" -SLOT="0" -KEYWORDS="amd64 arm64 ppc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - 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 -} |
