summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2019-07-19 00:25:24 +0200
committerLouis Sautier <sbraz@gentoo.org>2019-07-19 00:25:37 +0200
commit0af4d0acb12601bd5eb7bf62fe2d657c1ee56637 (patch)
treedd75310961e7e26a9acedd243156cadc0cb67abc /dev-python/flask-paginate
parentwww-client/qutebrowser: bump 1.7.0 (diff)
downloadgentoo-0af4d0acb12601bd5eb7bf62fe2d657c1ee56637.tar.gz
gentoo-0af4d0acb12601bd5eb7bf62fe2d657c1ee56637.tar.bz2
gentoo-0af4d0acb12601bd5eb7bf62fe2d657c1ee56637.zip
dev-python/flask-paginate: add PyPy{,3}, fix test dependencies
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/flask-paginate')
-rw-r--r--dev-python/flask-paginate/flask-paginate-0.5.3-r1.ebuild (renamed from dev-python/flask-paginate/flask-paginate-0.5.3.ebuild)10
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-python/flask-paginate/flask-paginate-0.5.3.ebuild b/dev-python/flask-paginate/flask-paginate-0.5.3-r1.ebuild
index 3bdd94ff9304..1cdce8d7c42b 100644
--- a/dev-python/flask-paginate/flask-paginate-0.5.3.ebuild
+++ b/dev-python/flask-paginate/flask-paginate-0.5.3-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} )
inherit distutils-r1
@@ -11,15 +11,19 @@ MY_COMMIT="510ad833106134711868653fb597bf75ea8ac34f"
DESCRIPTION="Pagination support for flask"
HOMEPAGE="https://flask-paginate.readthedocs.io"
+# https://github.com/lixxu/flask-paginate/issues/68
SRC_URI="https://github.com/lixxu/flask-paginate/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
-#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="test"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
S="${WORKDIR}/${PN}-${MY_COMMIT}"