Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-nav/
Date: Fri, 04 Sep 2020 19:01:05
Message-Id: 1599246025.399da22815cf7dd43afe0846a6f0d6caa5f4d7f5.sbraz@gentoo
1 commit: 399da22815cf7dd43afe0846a6f0d6caa5f4d7f5
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 22:27:40 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 4 19:00:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399da228
7
8 dev-python/flask-nav: add support for Python 3.8 and 3.9
9
10 Also switch to distutils_enable_* functions.
11
12 Package-Manager: Portage-3.0.3, Repoman-2.3.23
13 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
14
15 dev-python/flask-nav/flask-nav-0.6-r2.ebuild | 28 ++++++++++++++++++++++++++++
16 1 file changed, 28 insertions(+)
17
18 diff --git a/dev-python/flask-nav/flask-nav-0.6-r2.ebuild b/dev-python/flask-nav/flask-nav-0.6-r2.ebuild
19 new file mode 100644
20 index 00000000000..75935b1a553
21 --- /dev/null
22 +++ b/dev-python/flask-nav/flask-nav-0.6-r2.ebuild
23 @@ -0,0 +1,28 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
30 +
31 +inherit distutils-r1
32 +
33 +DESCRIPTION="Easily create navigation for Flask applications."
34 +HOMEPAGE="https://pythonhosted.org/flask-nav/"
35 +# docs are missing from PyPI tarballs
36 +# https://github.com/mbr/flask-nav/pull/12
37 +SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
38 +
39 +LICENSE="MIT"
40 +SLOT="0"
41 +KEYWORDS="~amd64 ~x86"
42 +
43 +RDEPEND="
44 + dev-python/dominate[${PYTHON_USEDEP}]
45 + dev-python/flask[${PYTHON_USEDEP}]
46 + dev-python/markupsafe[${PYTHON_USEDEP}]
47 + dev-python/visitor[${PYTHON_USEDEP}]
48 +"
49 +
50 +distutils_enable_tests pytest
51 +distutils_enable_sphinx docs dev-python/alabaster