diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-05 19:44:58 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-05 19:59:36 +0200 |
commit | 32758a82d87bca28ae5d35a3b18d44b48198879a (patch) | |
tree | aa1415f785a2f347a4cc8c8d83ca18d1d0983402 | |
parent | dev-python/pygit2: Enable py3.10 (diff) | |
download | gentoo-32758a82d87bca28ae5d35a3b18d44b48198879a.tar.gz gentoo-32758a82d87bca28ae5d35a3b18d44b48198879a.tar.bz2 gentoo-32758a82d87bca28ae5d35a3b18d44b48198879a.zip |
dev-python/pylibmc: Enable py3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/pylibmc/pylibmc-1.6.1-r1.ebuild | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-python/pylibmc/pylibmc-1.6.1-r1.ebuild b/dev-python/pylibmc/pylibmc-1.6.1-r1.ebuild index fbb1740f7bb3..a5ad94bb915e 100644 --- a/dev-python/pylibmc/pylibmc-1.6.1-r1.ebuild +++ b/dev-python/pylibmc/pylibmc-1.6.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -20,8 +20,6 @@ SRC_URI="https://github.com/lericson/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ~ppc64 x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=">=dev-libs/libmemcached-0.32" # Older sphinx versions fail to compile the doc @@ -30,7 +28,6 @@ DEPEND="${RDEPEND}" BDEPEND=" test? ( net-misc/memcached - dev-python/nose[${PYTHON_USEDEP}] )" PATCHES=( @@ -38,6 +35,7 @@ PATCHES=( ) distutils_enable_sphinx docs +distutils_enable_tests --install nose python_prepare_all() { sed -e "/with-info=1/d" -i setup.cfg || die @@ -57,8 +55,3 @@ src_test() { distutils-r1_src_test kill "$(<"${T}/m.pid")" || die } - -python_test() { - distutils_install_for_testing - nosetests -v || die "Tests failed with ${EPYTHON}" -} |