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-sqlalchemy/
Date: Sat, 28 Dec 2019 19:38:30
Message-Id: 1577561871.5b8ea5bbb40843dfd21a03a388ccdd94d898516b.sbraz@gentoo
1 commit: 5b8ea5bbb40843dfd21a03a388ccdd94d898516b
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 28 19:33:58 2019 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 28 19:37:51 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8ea5bb
7
8 dev-python/flask-sqlalchemy: fix dependencies, add PyPy3+Py3.8
9
10 * Move doc dependencies out of RDEPEND.
11 * Use helpers for doc and tests. 'pytest' without 'die' was useless.
12 * Rely on the default value of DISTUTILS_USE_SETUPTOOLS=bdepend.
13 * Remove useless DISTUTILS_IN_SOURCE_BUILD=1.
14
15 Bug: https://bugs.gentoo.org/701916
16 Package-Manager: Portage-2.3.81, Repoman-2.3.20
17 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
18
19 .../flask-sqlalchemy-2.4.1-r1.ebuild | 29 ++++++++++++++++++++++
20 1 file changed, 29 insertions(+)
21
22 diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.4.1-r1.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.4.1-r1.ebuild
23 new file mode 100644
24 index 00000000000..59f37152e7d
25 --- /dev/null
26 +++ b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.4.1-r1.ebuild
27 @@ -0,0 +1,29 @@
28 +# Copyright 1999-2019 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=7
32 +
33 +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7,8}} )
34 +
35 +inherit distutils-r1
36 +
37 +MY_PN="Flask-SQLAlchemy"
38 +MY_P="${MY_PN}-${PV}"
39 +
40 +DESCRIPTION="SQLAlchemy support for Flask applications"
41 +HOMEPAGE="https://pypi.org/project/Flask-SQLAlchemy/"
42 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
43 +
44 +LICENSE="BSD"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +RDEPEND="
49 + >=dev-python/flask-0.10[${PYTHON_USEDEP}]
50 + >=dev-python/sqlalchemy-0.8.0[${PYTHON_USEDEP}]
51 +"
52 +distutils_enable_tests pytest
53 +distutils_enable_sphinx docs dev-python/pallets-sphinx-themes \
54 + dev-python/sphinx-issues
55 +
56 +S="${WORKDIR}/${MY_P}"