diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-21 11:04:54 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-21 11:09:41 +0200 |
commit | e301585f71352e776c5cc40c418fa7db7decfd14 (patch) | |
tree | 741541a55f8f54308f8ddd4eb68b6cb96caa2506 /dev-python/flask-mail | |
parent | dev-python/flask-babelex: Enable py3.11 (diff) | |
download | gentoo-e301585f71352e776c5cc40c418fa7db7decfd14.tar.gz gentoo-e301585f71352e776c5cc40c418fa7db7decfd14.tar.bz2 gentoo-e301585f71352e776c5cc40c418fa7db7decfd14.zip |
dev-python/flask-mail: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-mail')
-rw-r--r-- | dev-python/flask-mail/flask-mail-0.9.1-r2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/flask-mail/flask-mail-0.9.1-r2.ebuild b/dev-python/flask-mail/flask-mail-0.9.1-r2.ebuild new file mode 100644 index 000000000000..cc90dea39a25 --- /dev/null +++ b/dev-python/flask-mail/flask-mail-0.9.1-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +MY_PN="Flask-Mail" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Flask extension for sending email" +HOMEPAGE=" + https://pythonhosted.org/Flask-Mail/ + https://github.com/mattupstate/flask-mail/ + https://pypi.org/project/Flask-Mail/ +" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/speaklater[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests unittest |