summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/flask-uploads')
-rw-r--r--dev-python/flask-uploads/Manifest1
-rw-r--r--dev-python/flask-uploads/flask-uploads-0.2.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/flask-uploads/Manifest b/dev-python/flask-uploads/Manifest
index 2062a55cf232..ae046cf99083 100644
--- a/dev-python/flask-uploads/Manifest
+++ b/dev-python/flask-uploads/Manifest
@@ -1 +1,2 @@
DIST Flask-Uploads-0.1.3.tar.gz 9312 SHA256 2ed695257bb9e3ab93aacf88022f78e1167c748ba8ec19c180ede4af36a4d4de SHA512 eb52c8b22ecc909a37149a9b6df91f47bff0f48ef768325a6e8cc1031b1c1977894a1aaaf70726484316de1782daa26ea96d24114d10490b0d271b2a87efd8ae WHIRLPOOL 9a240e9b797d535622cbb7fbc324a7763ec53e3a9a3d0267176fbc202013c4bb2a3671515320f3157b6086de8b8cd653154080bffa69fe082710109be6789c6c
+DIST Flask-Uploads-0.2.0.tar.gz 7628 SHA256 6623a74e426408e59e392b7f9a4d070112b92d71a974a691fa33c21224c1294f SHA512 7151dc5bad2813040afac84434518a3dc6df7394b60add31a26d5e19c10d42b78729eebfd5ef5a12e289ca73377f0a20b5b4b649036eba9d9e494c054d3e4efc WHIRLPOOL ec47b1aaa6cb801ed08aa4c38ff84613c23ec17c8fc947718627522d049bc02ded827ebd343ba0692df21b048d443c8785281fdafdd63b47c3d056cf21e20bc2
diff --git a/dev-python/flask-uploads/flask-uploads-0.2.0.ebuild b/dev-python/flask-uploads/flask-uploads-0.2.0.ebuild
new file mode 100644
index 000000000000..ea8dc086196a
--- /dev/null
+++ b/dev-python/flask-uploads/flask-uploads-0.2.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Flexible and efficient upload handling for Flask"
+HOMEPAGE="http://pythonhosted.org/Flask-Testing/
+ https://pypi.python.org/pypi/Flask-Testing/"
+MY_PN="Flask-Uploads"
+MY_P="${MY_PN}-${PV}"
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/flask-0.5[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ nosetests || die "Testing failed with ${EPYTHON}"
+}