From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/flask-login/Manifest | 1 + dev-python/flask-login/flask-login-0.4.1-r1.ebuild | 53 ++++++++++++++++++++++ dev-python/flask-login/metadata.xml | 13 ++++++ 3 files changed, 67 insertions(+) create mode 100644 dev-python/flask-login/Manifest create mode 100644 dev-python/flask-login/flask-login-0.4.1-r1.ebuild create mode 100644 dev-python/flask-login/metadata.xml (limited to 'dev-python/flask-login') diff --git a/dev-python/flask-login/Manifest b/dev-python/flask-login/Manifest new file mode 100644 index 000000000000..73cb1233ee6a --- /dev/null +++ b/dev-python/flask-login/Manifest @@ -0,0 +1 @@ +DIST flask-login-0.4.1.tar.gz 43679 BLAKE2B f30df1cc84289bc2dd1e59a30284d7152cee0731daf8b6e58b8203007c0ba74eb512bf9f2e41608d9656138038f5b5c752509ef5a203ef1e8bdba9182912b133 SHA512 c87a2948ac37439ddd76f3f11584bdd5910cb00e96a7400343cf4dadc5a0f9bc84d40bdc068d2e8c05bd5a510046e18473e9ad71502c5039a5f05b371ce9bb4c diff --git a/dev-python/flask-login/flask-login-0.4.1-r1.ebuild b/dev-python/flask-login/flask-login-0.4.1-r1.ebuild new file mode 100644 index 000000000000..075238b8bd32 --- /dev/null +++ b/dev-python/flask-login/flask-login-0.4.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) +inherit distutils-r1 + +DESCRIPTION="Login session support for Flask" +HOMEPAGE="https://pypi.org/project/Flask-Login/" +# Should be replaced with the PyPi URI for the next release, if possible +# See https://github.com/maxcountryman/flask-login/pull/393 +SRC_URI="https://github.com/maxcountryman/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/flask-0.10[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" +DEPEND=" + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/semantic_version[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + sed -i "s/'sphinx.ext.intersphinx', //" docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + emake -C docs html + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + # test is broken upstream with >=dev-python/werkzeug-0.15, bug 701546 + nosetests -v -e test_unauthorized_uses_host_from_x_forwarded_for_header \ + || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/flask-login/metadata.xml b/dev-python/flask-login/metadata.xml new file mode 100644 index 000000000000..23e3230b464f --- /dev/null +++ b/dev-python/flask-login/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + Flask-Login + maxcountryman/flask-login + + gentoo-staging + -- cgit v1.3