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 32F93158092 for ; Thu, 16 Sep 2021 06:34:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 768F5E087C; Thu, 16 Sep 2021 06:34:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 60B61E087C for ; Thu, 16 Sep 2021 06:34:45 +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 7D3A63430B6 for ; Thu, 16 Sep 2021 06:34:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 149D6DC for ; Thu, 16 Sep 2021 06:34:43 +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: <1631774067.8264e1b109f5c80c7f6f408033b16ab2a2845906.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/textdistance/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/textdistance/textdistance-4.2.1-r1.ebuild X-VCS-Directories: dev-python/textdistance/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 8264e1b109f5c80c7f6f408033b16ab2a2845906 X-VCS-Branch: master Date: Thu, 16 Sep 2021 06:34:43 +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: 9c5cbc9b-e08e-4bcf-a864-56260e52cfb3 X-Archives-Hash: 33817c50b34c0741e4518791bf630588 commit: 8264e1b109f5c80c7f6f408033b16ab2a2845906 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Sep 16 06:34:16 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Sep 16 06:34:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8264e1b1 dev-python/textdistance: enable py3.10, small cleanup Signed-off-by: Arthur Zamarin gentoo.org> dev-python/textdistance/textdistance-4.2.1-r1.ebuild | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/dev-python/textdistance/textdistance-4.2.1-r1.ebuild b/dev-python/textdistance/textdistance-4.2.1-r1.ebuild index 9466d5a900d..aea07b6f2fd 100644 --- a/dev-python/textdistance/textdistance-4.2.1-r1.ebuild +++ b/dev-python/textdistance/textdistance-4.2.1-r1.ebuild @@ -3,13 +3,13 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) - +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Compute distance between the two texts" HOMEPAGE="https://github.com/life4/textdistance" SRC_URI="https://github.com/life4/textdistance/archive/v.${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-v.${PV}" LICENSE="MIT" SLOT="0" @@ -25,17 +25,8 @@ BDEPEND="test? ( dev-python/pyxDamerauLevenshtein[${PYTHON_USEDEP}] )" -S="${WORKDIR}/${PN}-v.${PV}" - distutils_enable_tests --install pytest -python_prepare_all() { - # RuntimeError: cannot import distance.hamming - # these optional things are missing at the moment - sed -i -e 's:test_compare:_&:' \ - -e 's:test_qval:_&:' \ - -e 's:test_list_of_numbers:_&:' \ - tests/test_external.py || die - - distutils-r1_python_prepare_all -} +EPYTEST_DESELECT=( + tests/test_external.py +)