summaryrefslogtreecommitdiff
path: root/dev-python/flask-mail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
commit90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch)
tree83fc5facb6b12be510a37bc3d241cc63e965b13a /dev-python/flask-mail
parentfeb0daf81d888e9160f9f94502de09b66f2a63fd (diff)
gentoo resync : 29.06.2020
Diffstat (limited to 'dev-python/flask-mail')
-rw-r--r--dev-python/flask-mail/Manifest2
-rw-r--r--dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild28
2 files changed, 8 insertions, 22 deletions
diff --git a/dev-python/flask-mail/Manifest b/dev-python/flask-mail/Manifest
index 5098b80463a7..c7e3215e6ab6 100644
--- a/dev-python/flask-mail/Manifest
+++ b/dev-python/flask-mail/Manifest
@@ -1,3 +1,3 @@
DIST Flask-Mail-0.9.1.tar.gz 45654 BLAKE2B 4b7e352698bd9434c507d3a27b8e5b4976cc82484e86e64245423392b25000d904d19bafa07ea97a32c2a80ed6bbbbc59aed7386a8d5a2ad6b9b61b23fe4c5f8 SHA512 1d19f0bade77c66e73624d8af0919165f8b6f208a00c1e4025049b50ad56912557b8446cb80f8567adf697e92b126954a5f130bd9fa7a2345d4e98e35b29ac47
-EBUILD flask-mail-0.9.1-r1.ebuild 1019 BLAKE2B c45398ab4fb25686d6937fe2e27afb6c6a88f4b881ab4a272d67d4cb84ecca908a3f2fd88ff06b2f3781d9314a3d4123491ad6453e4afa0a297312abba786856 SHA512 d9918c766df44d100ffc0187c072cb14417b8f794f395a31080576f1275a0bef136b5bcaed171c688f58a5a72e2c618f3fba152ec307fa807b9f470b2cd0b3d7
+EBUILD flask-mail-0.9.1-r1.ebuild 713 BLAKE2B ac19b9e0a7223374ac6526f5d91d04ca55ab9f05f88d9427479bff352437ecb84766c469ebc2d76bc6d1c99267614939e9f1593b2df8a10189b68a7ca390303a SHA512 cbf1f8abe7551b8917cee1ef1a9a9e312761556440e44e5dd5cd2ebe4ce4bdddb15a535ae3e17df6d39dbcef2a8ef713710eac5a47209d4d05cb9bbe2f90359d
MISC metadata.xml 313 BLAKE2B 750a760388ab833bed8c5bea79a563798f3f47790fcacd72779bcce17678a2df4214e22e3c5c636d9f0a1eb6892c235f9a573e991a518e68319d45ee5dc9f076 SHA512 b898617b8854d5d1abe05a263ff182c9734539aca8a7ed6721db1de0a9c76c5c90aca7867fc5a213b0e938d2b610ca48a79c3b71b01ff5291aadf6f46de93532
diff --git a/dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild b/dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild
index 9268034b9763..e8d56406bb8f 100644
--- a/dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild
+++ b/dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
MY_PN="Flask-Mail"
@@ -12,32 +12,18 @@ MY_P="${MY_PN}-${PV}"
DESCRIPTION="Flask extension for sending email"
HOMEPAGE="https://pythonhosted.org/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 x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/blinker[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( ${RDEPEND}
+BDEPEND="
+ test? (
dev-python/mock[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
dev-python/speaklater[${PYTHON_USEDEP}] )"
-S="${WORKDIR}/${MY_P}"
-
-python_compile_all() {
- use doc && emake -C docs html
-}
-
-python_test() {
- nosetests -v || die "Testing failed with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && HTML_DOCS=( docs/_build/html/. )
- distutils-r1_python_install_all
-}
+distutils_enable_sphinx docs
+distutils_enable_tests nose