summaryrefslogtreecommitdiff
path: root/dev-python/flask-principal
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/flask-principal')
-rw-r--r--dev-python/flask-principal/Manifest3
-rw-r--r--dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild27
-rw-r--r--dev-python/flask-principal/metadata.xml12
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/flask-principal/Manifest b/dev-python/flask-principal/Manifest
new file mode 100644
index 000000000000..b43cc4ab663a
--- /dev/null
+++ b/dev-python/flask-principal/Manifest
@@ -0,0 +1,3 @@
+DIST flask-principal-0.4.0.tar.gz 17287 BLAKE2B f5c44e21b4e8242122fc10c7c17bd0e6a4759eda555d4355bc340228eff18f1fc3f519f2ef822448b651c0aa3a00a16c562001d17d8915ce417eb56cd39d2adc SHA512 ed8cb28c4e8d936de96db0bf9f7cb45b253dc204c4b8f8dd8022ef1552592ff6324b4a33d3ee862794a6e20eb8c32a0365e7b9397d427da5022c5ded3dfa308a
+EBUILD flask-principal-0.4.0-r1.ebuild 761 BLAKE2B 33e8086c3b6e107577a76d56dbee487181160893c89d9376c6f713b0b29403436aec0648a38166f9fc8fb113f10a00b0aeb5d7ee530323103b3f706378790c77 SHA512 e2b0281d7507e844131c990caa3844b373f7ea916f411b311e30084538a6c8d55c673a73110b1d74867081a21b396456bcfc11e345c84fa261d89952f2ea0cb9
+MISC metadata.xml 385 BLAKE2B bd3864394906ea719cecc764a75db12eb0dc3e7e59c96859665e59fafaf206860f0a9be2a49cba98de5a3566b9fa7e8bae848de71bd06ec41797364f0c58b463 SHA512 453ca2da57ca6cca5d2b4d55f048827f0a62e5d629af12120a314117a2b11fa405402580ba5da933bd5eccb924816dd6471a64cbe409d13c22f3a923ba815f0b
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..095499b84520
--- /dev/null
+++ b/dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Identity management for flask"
+HOMEPAGE="https://pythonhosted.org/Flask-Principal/ https://pypi.org/project/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}"
+}
diff --git a/dev-python/flask-principal/metadata.xml b/dev-python/flask-principal/metadata.xml
new file mode 100644
index 000000000000..b3f5173ce7bc
--- /dev/null
+++ b/dev-python/flask-principal/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">Flask-Principal</remote-id>
+ <remote-id type="github">mattupstate/flask-principal</remote-id>
+ </upstream>
+</pkgmetadata>