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 81A7A158012 for ; Wed, 22 Sep 2021 13:30:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 929D7E086D; Wed, 22 Sep 2021 13:30:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77D15E086D for ; Wed, 22 Sep 2021 13:30:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1EE22342CC1 for ; Wed, 22 Sep 2021 13:30:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80640B0 for ; Wed, 22 Sep 2021 13:30:25 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1632317166.93791129b5587c350407cfca23413d376545c75e.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-schema/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zope-schema/zope-schema-6.1.0.ebuild X-VCS-Directories: dev-python/zope-schema/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 93791129b5587c350407cfca23413d376545c75e X-VCS-Branch: master Date: Wed, 22 Sep 2021 13:30:25 +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: 0ef792b0-e5d3-49f3-820b-919540e33326 X-Archives-Hash: 70f76d694302a19fc47af13eefad0661 commit: 93791129b5587c350407cfca23413d376545c75e Author: Arthur Zamarin gentoo org> AuthorDate: Wed Sep 22 13:18:05 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Sep 22 13:26:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93791129 dev-python/zope-schema: enable py3.10, fix tests discovery Signed-off-by: Arthur Zamarin gentoo.org> dev-python/zope-schema/zope-schema-6.1.0.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dev-python/zope-schema/zope-schema-6.1.0.ebuild b/dev-python/zope-schema/zope-schema-6.1.0.ebuild index f137c80de51..26909a7d20b 100644 --- a/dev-python/zope-schema/zope-schema-6.1.0.ebuild +++ b/dev-python/zope-schema/zope-schema-6.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..9} pypy3 ) +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 @@ -13,7 +13,7 @@ MY_P=${MY_PN}-${PV} DESCRIPTION="Zope schema Architecture" HOMEPAGE="https://github.com/zopefoundation/zope.schema http://docs.zope.org/zope.schema/" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" LICENSE="ZPL" @@ -27,10 +27,13 @@ BDEPEND=" test? ( dev-python/zope-i18nmessageid[${PYTHON_USEDEP}] dev-python/zope-testing[${PYTHON_USEDEP}] - dev-python/zope-testrunner[${PYTHON_USEDEP}] )" -distutils_enable_tests setup.py +distutils_enable_tests unittest + +python_test() { + eunittest src +} python_install_all() { distutils-r1_python_install_all