mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/flask-uploads: add Python 3.5 support, fix tests
Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1293 Signed-off-by: Ian Delaney <idella4@gentoo.org>
This commit is contained in:
committed by
Ian Delaney
parent
8becc82ee5
commit
19f9846c71
@@ -1,2 +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
|
||||
DIST flask-uploads-0.2.0.tar.gz 23304 SHA256 6d7898213b33f60db88c9d62f0a521cde2692d8ba3f085929fdc2db1ca15d826 SHA512 ad80448b111019a5e731529267a790d1dd95a356671780efc20f1dc830044e539ab348404b706baf3666c7407518ed04cd2871d811f72b6145261dcc307ffacc WHIRLPOOL 65cba4a20227d6373209a0511b862af1cf6e281912473392428bc3ecde755ad12deee628d52bd2f5742b4d210f07054e7729a9a227e44fe0c9721022004080ef
|
||||
|
||||
@@ -1,18 +1,17 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 pypy )
|
||||
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/"
|
||||
MY_PN="Flask-Uploads"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
# https://github.com/maxcountryman/flask-uploads/issues/2
|
||||
SRC_URI="https://github.com/maxcountryman/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
@@ -24,8 +23,6 @@ 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}"
|
||||
}
|
||||
|
||||
@@ -7,5 +7,7 @@
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">Flask-Uploads</remote-id>
|
||||
<remote-id type="github">maxcountryman/flask-uploads</remote-id>
|
||||
<bugs-to>https://github.com/maxcountryman/flask-uploads/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user