public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jellyfish/
Date: Tue,  2 Mar 2021 08:40:38 +0000 (UTC)	[thread overview]
Message-ID: <1614674423.1d3bf8c16f87ab43e1fea3eecd0103491930da5c.sam@gentoo> (raw)

commit:     1d3bf8c16f87ab43e1fea3eecd0103491930da5c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  2 08:33:37 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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


             reply	other threads:[~2021-03-02  8:40 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-02  8:40 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-05  2:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/jellyfish/ Michał Górny
2025-01-04 12:03 Sam James
2024-12-21 12:31 Michał Górny
2024-12-21 12:28 Michał Górny
2024-12-21 12:27 Michał Górny
2024-12-21 12:27 Michał Górny
2024-12-15  2:53 Michał Górny
2024-12-04  7:46 Michał Górny
2024-11-11 13:00 Sam James
2024-08-17  8:48 Michał Górny
2024-08-17  8:33 Jakov Smolić
2024-08-17  8:33 Jakov Smolić
2024-08-17  7:39 Michał Górny
2024-07-29  3:26 Michał Górny
2024-06-12 13:06 Michał Górny
2024-06-12 10:45 Arthur Zamarin
2024-06-12 10:33 Arthur Zamarin
2024-06-12  7:05 Arthur Zamarin
2024-05-29  4:17 Michał Górny
2024-05-12 13:05 Michał Górny
2024-05-12 13:05 Michał Górny
2023-12-09 15:47 Michał Górny
2023-12-09 15:30 Michał Górny
2023-12-09 14:58 Michał Górny
2023-12-09 14:58 Michał Górny
2023-11-23 19:38 Michał Górny
2023-11-18 15:47 Michał Górny
2023-11-17 15:52 Andrew Ammerlaan
2023-10-24  5:46 Michał Górny
2023-10-23 18:50 Sam James
2023-10-23 18:50 Sam James
2023-09-19  3:16 Michał Górny
2023-07-24 16:49 Jakov Smolić
2023-07-24 14:46 Arthur Zamarin
2023-06-24  6:10 Michał Górny
2023-06-18 18:47 Michał Górny
2023-06-12 15:44 Michał Górny
2023-06-12 14:59 Michał Górny
2023-06-12 12:19 Arthur Zamarin
2023-06-12 12:19 Arthur Zamarin
2023-05-23 15:54 Michał Górny
2023-05-23 15:16 Arthur Zamarin
2023-05-23 15:16 Arthur Zamarin
2023-05-04 16:17 Michał Górny
2023-04-28 14:56 Arthur Zamarin
2023-04-28 14:54 Arthur Zamarin
2023-04-27  5:58 Sam James
2023-04-03  2:20 Michał Górny
2023-04-01  6:13 Michał Górny
2023-03-28  5:19 Michał Górny
2023-03-25 15:49 Michał Górny
2022-11-19 16:57 Arthur Zamarin
2022-05-19 12:34 Michał Górny
2022-05-19 12:34 Michał Górny
2022-04-24 11:06 Jakov Smolić
2022-03-30 22:27 Michał Górny
2022-03-30 20:09 Jakov Smolić
2022-03-30 11:09 Jakov Smolić
2022-02-26  7:49 Michał Górny
2022-02-08  9:58 Miroslav Šulc
2022-02-08  9:07 Jakov Smolić
2022-02-08  9:07 Jakov Smolić
2022-01-16 20:29 Arthur Zamarin
2022-01-08  8:57 Miroslav Šulc
2021-11-28 19:27 Michał Górny
2021-11-28  7:50 Arthur Zamarin
2021-11-27  6:33 Arthur Zamarin
2021-10-27  7:27 Miroslav Šulc
2021-09-18 19:43 Michał Górny
2021-09-18 17:29 Sam James
2021-09-18 17:18 Sam James
2021-09-06  6:36 Michał Górny
2021-09-06  5:40 Agostino Sarubbo
2021-09-05 20:01 Agostino Sarubbo
2021-08-18  6:25 Miroslav Šulc
2021-08-17  5:45 Miroslav Šulc
2021-08-05  7:29 Michał Górny
2021-05-18 13:02 Michał Górny
2021-04-02 10:33 Agostino Sarubbo
2021-04-01 12:11 Thomas Deutschmann
2020-05-22  4:46 Michał Górny
2019-07-15 18:07 Andreas Sturmlechner
2019-07-08  8:20 Michał Górny
2019-07-08  8:20 Michał Górny
2019-07-08  8:20 Michał Górny
2019-06-01 14:30 Andreas Sturmlechner
2019-06-01 14:26 Andreas Sturmlechner
2018-06-24 14:22 Pacho Ramos
2017-05-02 15:15 Michał Górny
2016-06-29 13:21 Patrick Lauer
2016-02-18 19:47 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1614674423.1d3bf8c16f87ab43e1fea3eecd0103491930da5c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox