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 0239B1382C5 for ; Tue, 2 Mar 2021 08:40:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12BE4E0BA1; Tue, 2 Mar 2021 08:40:43 +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 EEF5EE0BA1 for ; Tue, 2 Mar 2021 08:40:42 +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 8B7C2341205 for ; Tue, 2 Mar 2021 08:40:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21FD55AC for ; Tue, 2 Mar 2021 08:40:38 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1614674423.1d3bf8c16f87ab43e1fea3eecd0103491930da5c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jellyfish/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jellyfish/jellyfish-0.8.2.ebuild X-VCS-Directories: dev-python/jellyfish/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1d3bf8c16f87ab43e1fea3eecd0103491930da5c X-VCS-Branch: master Date: Tue, 2 Mar 2021 08:40:38 +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: 7a1aea55-5600-4537-994e-d2eee560c8b0 X-Archives-Hash: 1503869405bbc7b1b488c96973fcf0b7 commit: 1d3bf8c16f87ab43e1fea3eecd0103491930da5c Author: Sam James gentoo org> AuthorDate: Tue Mar 2 08:33:37 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 2 08:40:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d3bf8c1 dev-python/jellyfish: Python 3.9, modernise Signed-off-by: Sam James gentoo.org> dev-python/jellyfish/jellyfish-0.8.2.ebuild | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/dev-python/jellyfish/jellyfish-0.8.2.ebuild b/dev-python/jellyfish/jellyfish-0.8.2.ebuild index d53e8eaf9cf..992a3ad23ed 100644 --- a/dev-python/jellyfish/jellyfish-0.8.2.ebuild +++ b/dev-python/jellyfish/jellyfish-0.8.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit distutils-r1 DESCRIPTION="Python module for doing approximate and phonetic matching of strings" @@ -13,24 +13,15 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) test? ( - dev-python/pytest[${PYTHON_USEDEP}] dev-python/unicodecsv[${PYTHON_USEDEP}] ) " -python_compile_all() { - if use doc; then - esetup.py build_sphinx - HTML_DOCS=( build/sphinx/html/. ) - fi -} +distutils_enable_sphinx docs --no-autodoc +distutils_enable_tests pytest python_test() { cp -r testdata "${BUILD_DIR}" || die