Summary: | [NEW PORT] devel/py-pytest-flask: Set of pytest fixtures for Flask extensions and applications | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Goran Mekić <meka> | ||||||
Component: | Individual Port(s) | Assignee: | Kubilay Kocak <koobs> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | koobs | ||||||
Priority: | --- | Keywords: | easy, feature | ||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Bug Depends on: | 242756 | ||||||||
Bug Blocks: | 242817 | ||||||||
Attachments: |
|
I can work on this at the end of the weekend if someone hasn't committed it first @Goran: If you can, try to remove pylint, cov and pep8 from the tests so they don't run, as those things dont need to be tested downstream (only for development). If you can't skip pylint (though id be surprised if it isn't possible), use pylint-${PYTHON_VER} instead of pylint${PYTHON_PKGNAMESUFFIX} and confirm that the tests that use pylint actually call pylint-X.Y (not just "pylint") Created attachment 211219 [details]
py-pytest-flask.diff
Removed pylint, pep8 and cov, the QA remains the same.
Update to 0.15.1 is out (dont worry about updating patch Supports 2.7,3.4+ (current patch specifies 3.5+) Specify version-specs for dependencies: ${PYTHON_PKGNAMEPREFIX}werkzeug>=0.7:www/py-werkzeug@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=3.6:devel/py-pytest@${PY_FLAVOR} setup.py: setup_requires=["setuptools-scm"], Needs to be added as a BUILD_DEPENDS (identified during poudriere) A commit references this bug: Author: koobs Date: Mon Feb 17 09:05:29 UTC 2020 New revision: 526354 URL: https://svnweb.freebsd.org/changeset/ports/526354 Log: [NEW] devel/py-pytest-flask: Set of py.test fixtures to test Flask applications An extension of pytest test runner which provides a set of useful tools to simplify testing and development of the Flask extensions and applications. WWW: https://github.com/pytest-dev/pytest-flask PR: 242786 Submitted by: Goran Meki? <meka tilda center> Changes: head/devel/Makefile head/devel/py-pytest-flask/ head/devel/py-pytest-flask/Makefile head/devel/py-pytest-flask/distinfo head/devel/py-pytest-flask/pkg-descr Committed, with changes (See comments) Thanks Goran! |
Created attachment 210124 [details] py-pytest-flask.diff QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 12.0, amd64 tested) * maketest: OK (30 passed tests)