From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 833FF138239 for ; Sat, 5 Jun 2021 17:59:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CF58E0909; Sat, 5 Jun 2021 17:59:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84EB5E0905 for ; Sat, 5 Jun 2021 17:59:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00FEE340DB7 for ; Sat, 5 Jun 2021 17:59:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A326D7AA for ; Sat, 5 Jun 2021 17:59:48 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1622915976.32758a82d87bca28ae5d35a3b18d44b48198879a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pylibmc/pylibmc-1.6.1-r1.ebuild X-VCS-Directories: dev-python/pylibmc/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 32758a82d87bca28ae5d35a3b18d44b48198879a X-VCS-Branch: master Date: Sat, 5 Jun 2021 17:59:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 365470c7-6bf8-4908-9431-5f473abcd4dd X-Archives-Hash: 4828c7b12350c45ec947c5a343a4ed18 commit: 32758a82d87bca28ae5d35a3b18d44b48198879a Author: Michał Górny gentoo org> AuthorDate: Sat Jun 5 17:44:58 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 5 17:59:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32758a82 dev-python/pylibmc: Enable py3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/pylibmc/pylibmc-1.6.1-r1.ebuild | 13 +++---------- 1 file 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 fbb1740f7bb..a5ad94bb915 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}" -}