diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2016-07-21 08:53:49 +0200 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2016-07-21 08:53:49 +0200 |
commit | c773395abbffefe526dfa640324b19d57da1b77f (patch) | |
tree | 3019cf095811077f4b0095dd9f6a349c7b37320d /dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild | |
parent | dev-python/flask: version bump to 0.11 (diff) | |
download | gentoo-c773395abbffefe526dfa640324b19d57da1b77f.tar.gz gentoo-c773395abbffefe526dfa640324b19d57da1b77f.tar.bz2 gentoo-c773395abbffefe526dfa640324b19d57da1b77f.zip |
dev-python/flask-uploads: rev-bump for py-3.5 and EAPI-6, include patch for flask-0.11 compatibility
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild')
-rw-r--r-- | dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild b/dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild new file mode 100644 index 000000000000..1890cfc89d07 --- /dev/null +++ b/dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} 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/" +SRC_URI="https://github.com/maxcountryman/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +# use the GitHub tarball since the pypi-tarball does not contain the tests + +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}] )" + +PATCHES=( "${FILESDIR}/${P}-remove-deprecated-module.patch" ) + +python_test() { + nosetests || die "Testing failed with ${EPYTHON}" +} |