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

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

wants to merge 5 commits into from

Conversation

florianjr
Copy link
Contributor

Signed-off-by: Florian Förster foerster.florianjr@gmail.com
Closes: https://bugs.gentoo.org/717526
Package-Manager: Portage-3.0.1, Repoman-2.3.23

I copied the existing ebuild and changed the $MY_COMMIT variable. @stkw0 i removed you from the maintainers list and added myself, as we said earlier in the previous PR.

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @florianjr
Areas affected: ebuilds
Packages affected: dev-python/flask-paginate

dev-python/flask-paginate: @gentoo/proxy-maint, @stkw0, @gentoo/python

Linked bugs

Bugs linked: 717526


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Jul 31, 2020
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-07-31 08:09 UTC
Newest commit scanned: 4bc7281
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/934d3b93f2/output.html

Signed-off-by: Florian Förster <foerster.florianjr@gmail.com>
Closes: https://bugs.gentoo.org/717526
Package-Manager: Portage-3.0.1, Repoman-2.3.23
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-07-31 12:55 UTC
Newest commit scanned: 51252fe
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/2095579341/output.html

Signed-off-by: Florian Förster <foerster.florianjr@gmail.com>
Package-Manager: Portage-3.0.1, Repoman-2.3.23
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-07-31 15:39 UTC
Newest commit scanned: b27152c
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/5e80151920/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-07-31 15:54 UTC
Newest commit scanned: d839676
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/51514da99b/output.html

…$PV)

Signed-off-by: Florian Förster <foerster.florianjr@gmail.com>
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Florian Förster <foerster.florianjr@gmail.com>
Package-Manager: Portage-3.0.1, Repoman-2.3.23

DESCRIPTION="Pagination support for flask"
HOMEPAGE="https://flask-paginate.readthedocs.io"
SRC_URI="https://github.com/lixxu/flask-paginate/archive/${PV}.tar.gz -> ${P}-${PV}.tar.gz"
Copy link
Contributor

Choose a reason for hiding this comment

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

${P} variable in this case is the same as ${PN}-${PV}. Please leave it as ${P}.tar.gz

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know and understand this, but could you please explain to me, why i'm then getting: "The source directory ${S} doesn't exist" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we define a $S ?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not getting those errors. Check which source directory is defined and the directory name on PORTAGE_TMPDIR

Copy link
Member

Choose a reason for hiding this comment

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

Tarball name has nothing to do with S structure. You can inspect the tarball by simply opening/extracting it, and/or browse to PORTAGE_TMPDIR as suggested when emerge fails.

Signed-off-by: Florian Förster <foerster.florianjr@gmail.com>
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Comment on lines +21 to +28
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"

python_test() {
pytest -vv tests/tests.py || die "tests failed with ${EPYTHON}"
}
Copy link
Member

Choose a reason for hiding this comment

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

You can replace all of these lines with a single distutils_enable_tests pytest

Comment on lines +17 to +18
IUSE="test"
RESTRICT="!test? ( test )"
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.


DESCRIPTION="Pagination support for flask"
HOMEPAGE="https://flask-paginate.readthedocs.io"
SRC_URI="https://github.com/lixxu/flask-paginate/archive/${PV}.tar.gz -> ${P}-${PV}.tar.gz"
Copy link
Member

Choose a reason for hiding this comment

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

Tarball name has nothing to do with S structure. You can inspect the tarball by simply opening/extracting it, and/or browse to PORTAGE_TMPDIR as suggested when emerge fails.


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.

@florianjr florianjr closed this Sep 6, 2020
@florianjr florianjr deleted the dev-python/flask-paginate branch September 6, 2020 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
5 participants