summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2016-09-13 14:51:10 +0200
committerTiziano Müller <dev-zero@gentoo.org>2016-09-13 14:53:30 +0200
commit6a4fc569855379ec50fff9d928e75628545e915a (patch)
treea9d76dc329973d4204d4c383856ec8b23069fc07 /dev-python
parentdev-python/flask-login: rev-bump for EAPI 6 bump, py-3.5 support and working ... (diff)
downloadgentoo-6a4fc569855379ec50fff9d928e75628545e915a.tar.gz
gentoo-6a4fc569855379ec50fff9d928e75628545e915a.tar.bz2
gentoo-6a4fc569855379ec50fff9d928e75628545e915a.zip
dev-python/flask-principal: rev-bump for EAPI 6 bump, py-3.5 support and working tests
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/flask-principal/Manifest1
-rw-r--r--dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/flask-principal/Manifest b/dev-python/flask-principal/Manifest
index 8df2b5e67a4b..f7cc2ea18837 100644
--- a/dev-python/flask-principal/Manifest
+++ b/dev-python/flask-principal/Manifest
@@ -1 +1,2 @@
DIST Flask-Principal-0.4.0.tar.gz 5452 SHA256 f5d6134b5caebfdbb86f32d56d18ee44b080876a27269560a96ea35f75c99453 SHA512 18f8f7766af62f99ccd52e34919e3f161ffb727c227c2714d651fad9bf6df3958289389e9b9cfe22d01a150985d1a631db3222626be1c4b12daea22434e4c85e WHIRLPOOL 8bd3dd1d0e5b876fd6cb4cf95b2ed6ce7e077404dd4c2781460dbc333c38c4f0eb55855737ebe0c3042c83c5aa5b7bf4d2c7ca5a9d4b8f8ec9901009b8713c0d
+DIST flask-principal-0.4.0.tar.gz 17287 SHA256 ed8c58943460d7d54c29463e2fe98ae4969d3818c0f59b36e9b2649128db96c9 SHA512 ed8cb28c4e8d936de96db0bf9f7cb45b253dc204c4b8f8dd8022ef1552592ff6324b4a33d3ee862794a6e20eb8c32a0365e7b9397d427da5022c5ded3dfa308a WHIRLPOOL 66fd5fd659c4984b604d60bdd4b7733644d1997fad761b62cee68196f84d4c5ceab81ea54728678ec4f94ada4f6e1d500ca9ede14c94d90e6e56e070389da735
diff --git a/dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild b/dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..5d5207a41004
--- /dev/null
+++ b/dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Identity management for flask"
+HOMEPAGE="http://pythonhosted.org/Flask-Principal/ https://pypi.python.org/pypi/Flask-Principal"
+SRC_URI="https://github.com/mattupstate/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+# pypi tarball is missing tests
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/blinker[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_test() {
+ nosetests -v || die "Testing failed with ${EPYTHON}"
+}