diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-02-03 18:31:50 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-02-03 18:31:50 +0000 |
| commit | 0b6a02132d280e79010ae3942f1e52cb98c1ffa4 (patch) | |
| tree | c2f6eb0cbac151a0cc6f37bbd8818e09aee93c3d /dev-python/python-memcached/python-memcached-1.61.ebuild | |
| parent | e114ddf90904fca8a4a5773f61b48f2e8680775d (diff) | |
| download | baldeagleos-repo-0b6a02132d280e79010ae3942f1e52cb98c1ffa4.tar.gz baldeagleos-repo-0b6a02132d280e79010ae3942f1e52cb98c1ffa4.tar.xz baldeagleos-repo-0b6a02132d280e79010ae3942f1e52cb98c1ffa4.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-memcached/python-memcached-1.61.ebuild')
| -rw-r--r-- | dev-python/python-memcached/python-memcached-1.61.ebuild | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/dev-python/python-memcached/python-memcached-1.61.ebuild b/dev-python/python-memcached/python-memcached-1.61.ebuild deleted file mode 100644 index d165b568ec6e..000000000000 --- a/dev-python/python-memcached/python-memcached-1.61.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -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 ~amd64-linux ~x86-linux" - -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 -} |
