diff options
Diffstat (limited to 'dev-python/flask-gravatar')
-rw-r--r-- | dev-python/flask-gravatar/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flask-gravatar/flask-gravatar-0.5.0-r1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/flask-gravatar/Manifest b/dev-python/flask-gravatar/Manifest index 55e5f7e1b844..6782c692daa6 100644 --- a/dev-python/flask-gravatar/Manifest +++ b/dev-python/flask-gravatar/Manifest @@ -1,3 +1,4 @@ DIST Flask-Gravatar-0.5.0.tar.gz 17299 BLAKE2B 7dc16c609cdfbf690a39fbb3bd2810398030bd5c7a54394468902dd131116509da8de448a55907e4738fc984ef422f3c7970b8453b27971eadb106cbb8648562 SHA512 bb4ff064489a030fd763a46fc045109104535474d115aaabdf5c4d1a82a1e3303ee34f590a3f1203a9d009307fc8c45c37af7c30e76a4fb10bc46dd684d37751 +EBUILD flask-gravatar-0.5.0-r1.ebuild 753 BLAKE2B e55d2444e1ad324032a10de53d01ffed77015f2ea543977a0598032055aef1d0d28fe22748b3ce5e52373fa8a81aff63b47fc818d65b0ba9a2d9bee78164f35e SHA512 e0a1ffa02a6d7aa9511809218e17c4b27f537d7cb933ec8c6dffb8b12295ac7e2f8e133c5144377dc45a76751da3909e1b8c51084547a7878f7f9923051afb08 EBUILD flask-gravatar-0.5.0.ebuild 718 BLAKE2B 5484a0a7d9046a472bf8d75308944f85f87599f350b850d0b81a83a1dc5cafa13bc44d6693dfc9e055d749e201a505266cfc65ede548b8650fea58477799bc09 SHA512 8fafdba6e507a50c3cd3f15160e2a7533b65f31a221fe45a9a57f68d0d7978abf6596bdf78e7a63ad6a07230c39a2c97ff17070c45401f73aa8f5e59294d82ac MISC metadata.xml 519 BLAKE2B 789e80f12265b3fa1380ee6be57f9ab8cd76bf92eef8e484845f1c2c855f0795d52bf190a66d68b5105236ca469eee526e6c5d0c76eea59752f8d2b200b3aef9 SHA512 69966562ebc6020fff360d783a9a9da4bf5d6ef1d43e288b3c6541496b3681a3c83736f34072e13f2ca821bcb4d00b20b07b41b1329c1ca139219e3d1aeffed4 diff --git a/dev-python/flask-gravatar/flask-gravatar-0.5.0-r1.ebuild b/dev-python/flask-gravatar/flask-gravatar-0.5.0-r1.ebuild new file mode 100644 index 000000000000..7d12286ac41a --- /dev/null +++ b/dev-python/flask-gravatar/flask-gravatar-0.5.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYPI_NO_NORMALIZE=1 +PYPI_PN="Flask-Gravatar" + +inherit distutils-r1 pypi + +DESCRIPTION="Small extension for Flask to make usage of Gravatar service easy" +HOMEPAGE="https://github.com/zzzsochi/Flask-Gravatar/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/flask[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/pytest-runner/d' setup.py || die + sed -e 's:--pep8::' \ + -e 's:--cov=flask_gravatar --cov-report=term-missing::' \ + -i pytest.ini || die + distutils-r1_src_prepare +} + +python_test() { + cd tests || die + epytest +} |