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/frozen-flask/
Date: Thu,  4 Mar 2021 04:19:51 +0000 (UTC)	[thread overview]
Message-ID: <1614827495.41a83e669b186c429a611e4ed28b893bd26f365b.sam@gentoo> (raw)

commit:     41a83e669b186c429a611e4ed28b893bd26f365b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  4 03:11:35 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar  4 03:11:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a83e66

dev-python/frozen-flask: add Python 3.9, modernise

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/frozen-flask/frozen-flask-0.15.ebuild | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/dev-python/frozen-flask/frozen-flask-0.15.ebuild b/dev-python/frozen-flask/frozen-flask-0.15.ebuild
index 5a8fc84b7cc..d34cbdb14e7 100644
--- a/dev-python/frozen-flask/frozen-flask-0.15.ebuild
+++ b/dev-python/frozen-flask/frozen-flask-0.15.ebuild
@@ -1,8 +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=( pypy3 python3_{7,8} )
+
+PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
 
 inherit distutils-r1
 
@@ -12,20 +13,17 @@ MY_P="${MY_PN}-${PV}"
 DESCRIPTION="Freezes a Flask application into a set of static files"
 HOMEPAGE="https://github.com/Frozen-Flask/Frozen-Flask https://pypi.org/project/Frozen-Flask/"
 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="doc test"
-RESTRICT="!test? ( test )"
 
 RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
-	test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
 
-S="${WORKDIR}/${MY_P}"
+distutils_enable_tests nose
 
 python_compile_all() {
 	if use doc; then
@@ -34,7 +32,3 @@ python_compile_all() {
 		HTML_DOCS=( docs/_build/. )
 	fi
 }
-
-python_test() {
-	nosetests -v || die Tests failed under "${EPYTHON}"
-}


             reply	other threads:[~2021-03-04  4:19 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04  4:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-24 10:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/Frozen-Flask/ Sam James
2024-02-09 18:45 Arthur Zamarin
2023-12-27 16:43 Michał Górny
2023-12-09 15:54 Michał Górny
2023-12-09 15:47 Michał Górny
2023-12-09 14:37 Michał Górny
2023-12-09 14:30 Michał Górny
2023-11-11 20:23 Michał Górny
2023-11-11 20:23 Michał Górny
2023-10-20 12:59 Michał Górny
2023-03-17 15:21 Michał Górny
2022-08-03  7:04 Michał Górny
2022-08-02 20:27 Sam James
2022-07-02 11:36 Michał Górny
2022-07-02 11:36 Michał Górny
2021-07-12 22:53 [gentoo-commits] repo/gentoo:master commit in: dev-python/frozen-flask/ Michał Górny
2021-07-12 21:50 Sam James
2021-06-15 21:32 Michał Górny
2021-06-02 23:14 Michał Górny
2021-03-04  4:19 Sam James
2020-07-04  9:07 Michał Górny
2020-04-22 18:40 Michał Górny
2020-03-11  6:35 Michał Górny
2018-06-24 14:09 Jason Zaman
2018-06-24 13:53 Louis Sautier
2018-06-24 11:31 Pacho Ramos
2018-06-19 19:13 Patrice Clement
2018-01-03 23:35 Michał Górny
2017-09-16 17:10 Patrick Lauer
2017-05-02 13:11 Michał Górny
2016-10-20 17:30 Patrick Lauer
2016-01-03 16:41 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=1614827495.41a83e669b186c429a611e4ed28b893bd26f365b.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