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 5D0B0139368 for ; Tue, 10 Aug 2021 07:57:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FAD6E087A; Tue, 10 Aug 2021 07:57: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 EA783E087A for ; Tue, 10 Aug 2021 07:57:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 B3AAF342E62 for ; Tue, 10 Aug 2021 07:57:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C662285C for ; Tue, 10 Aug 2021 07:57: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: <1628582218.c360ebd7cc1d4dd1b14bcba0e8d2fc0a9840dbda.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy_extensions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mypy_extensions/mypy_extensions-0.4.3-r1.ebuild X-VCS-Directories: dev-python/mypy_extensions/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c360ebd7cc1d4dd1b14bcba0e8d2fc0a9840dbda X-VCS-Branch: master Date: Tue, 10 Aug 2021 07:57: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: 5e6c11fd-ea0b-42ef-a072-f92d8039ff11 X-Archives-Hash: 24387bb1cb327f6e7f24b5e8b48b5811 commit: c360ebd7cc1d4dd1b14bcba0e8d2fc0a9840dbda Author: Michał Górny gentoo org> AuthorDate: Tue Aug 10 07:56:58 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 10 07:56:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c360ebd7 dev-python/mypy_extensions: Modernize the ebuild Signed-off-by: Michał Górny gentoo.org> .../mypy_extensions-0.4.3-r1.ebuild | 26 +++++++++------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/dev-python/mypy_extensions/mypy_extensions-0.4.3-r1.ebuild b/dev-python/mypy_extensions/mypy_extensions-0.4.3-r1.ebuild index 472779e6b05..278bd25dd11 100644 --- a/dev-python/mypy_extensions/mypy_extensions-0.4.3-r1.ebuild +++ b/dev-python/mypy_extensions/mypy_extensions-0.4.3-r1.ebuild @@ -1,31 +1,25 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{7..10} pypy3 ) +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 DESCRIPTION="Optional static typing for Python" -HOMEPAGE="http://www.mypy-lang.org/" -SRC_URI="https://github.com/python/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -if [[ "${PV}" =~ [9]{4,} ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/python/${PN}" - EGIT_COMMIT="master" -else - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" -fi +HOMEPAGE=" + http://www.mypy-lang.org/ + https://github.com/python/mypy_extensions/" +SRC_URI=" + https://github.com/python/mypy_extensions/archive/${PV}.tar.gz + -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" - -IUSE="test" -RESTRICT="!test? ( test )" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" distutils_enable_tests unittest python_test() { - "${PYTHON}" -m unittest discover tests -v || die "tests fail with ${EPYTHON}" + eunittest tests }