Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-python/flask-paginate: bumped to 0.7.0 #16915

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions dev-python/flask-paginate/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST flask-paginate-0.5.3.tar.gz 118570 BLAKE2B 0c6d1163dcd8144afa80b217ab3a714a39f4015aa732b4c32cf0feee0d7ee06968bd8549651f2941be9c60d3fd36a18e132dd4c174eb4148e63f83e461cbf519 SHA512 fe3cdc808459528c449611b2411c377d46bdef4995cd2851730e90dc0091da15479022f401e31113c4d39f766841d9701f285c81e0ec6293eddd4c8f0821567e
DIST flask-paginate-0.7.0.tar.gz 119340 BLAKE2B 831bb5438c2efefb8b2997bf507165a00d220f90ab39eeb08f8e0592ce3e2a1631d0eacf0670e1eacf095b4ff02d9f3a02b3e7baff0304f23177d270e7fe5b1c SHA512 75431ba949b42edfb86bf7830024d359634dce933fb25b3b2a429bea913bdec885c2578bd8c08b6d45d8e341f1d80a51647dfb8e0f0aa5b15ee7fe943b32181c
33 changes: 33 additions & 0 deletions dev-python/flask-paginate/flask-paginate-0.7.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( pypy3 python3_{6,7} )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add 3.8 and 3.9 support here? Seems like they should work.


inherit distutils-r1

MY_COMMIT="6445a67395912a5432014ec824ce4bf8fd13e22d"

DESCRIPTION="Pagination support for flask"
HOMEPAGE="https://flask-paginate.readthedocs.io"
# https://github.com/lixxu/flask-paginate/issues/68
florianjr marked this conversation as resolved.
Show resolved Hide resolved
SRC_URI="https://github.com/lixxu/flask-paginate/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
florianjr marked this conversation as resolved.
Show resolved Hide resolved

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
Comment on lines +17 to +18
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will be handled by distutils_enable_tests pytest as well, but put it under RDEPEND.


RDEPEND="dev-python/flask[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"

S="${WORKDIR}/${PN}-${MY_COMMIT}"

python_test() {
pytest -vv tests/tests.py || die "tests failed with ${EPYTHON}"
}
8 changes: 4 additions & 4 deletions dev-python/flask-paginate/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>foerster.florianjr@gmail.com</email>
<name>Florian Förster</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="person">
<email>davidroman96@gmail.com</email>
<name>David Roman</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
Expand Down