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 5F4A71382C5 for ; Fri, 4 Jun 2021 15:24:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E7ADE0827; Fri, 4 Jun 2021 15:24:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 48175E0827 for ; Fri, 4 Jun 2021 15:24:22 +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 B5C7E341212 for ; Fri, 4 Jun 2021 15:24:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AAF77A1 for ; Fri, 4 Jun 2021 15:24:17 +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: <1622819954.a2dcf8d7c0866b2b919dd583008c50e609beb2d6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonschema/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jsonschema/jsonschema-3.2.0.ebuild X-VCS-Directories: dev-python/jsonschema/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a2dcf8d7c0866b2b919dd583008c50e609beb2d6 X-VCS-Branch: master Date: Fri, 4 Jun 2021 15:24:17 +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: 0cc97260-57ae-44f0-9d96-762109294a84 X-Archives-Hash: f9ed31de33fee73961612850f11d354d commit: a2dcf8d7c0866b2b919dd583008c50e609beb2d6 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 4 15:19:11 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 4 15:19:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2dcf8d7 dev-python/jsonschema: Enable py3.10, clean up Signed-off-by: Michał Górny gentoo.org> dev-python/jsonschema/jsonschema-3.2.0.ebuild | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/dev-python/jsonschema/jsonschema-3.2.0.ebuild b/dev-python/jsonschema/jsonschema-3.2.0.ebuild index 64e6301f048..0c4030cc468 100644 --- a/dev-python/jsonschema/jsonschema-3.2.0.ebuild +++ b/dev-python/jsonschema/jsonschema-3.2.0.ebuild @@ -3,7 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -14,18 +15,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" BDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] dev-python/pyrsistent[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/importlib_metadata[${PYTHON_USEDEP}] - ' python{2_7,3_{5,6,7}} pypy{,3}) - $(python_gen_cond_dep \ - 'dev-python/functools32[${PYTHON_USEDEP}]' -2) + ' pypy3) test? ( dev-python/twisted[${PYTHON_USEDEP}] ) " @@ -39,19 +36,12 @@ RDEPEND="${BDEPEND} dev-python/rfc3339-validator[${PYTHON_USEDEP}] " -RESTRICT="!test? ( test )" +BDEPEND+=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" PATCHES=( "${FILESDIR}"/${P}-add-webcolors-1.11-compat.patch ) distutils_enable_tests unittest - -python_prepare_all() { - # avoid a setuptools_scm dependency - sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" setup.py || die - sed -r -i "s:setuptools_scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::" \ - setup.cfg || die - - distutils-r1_python_prepare_all -}