https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240476
--- Comment #13 from Michael Gmelin <gre...@freebsd.org> --- (In reply to Kubilay Kocak from comment #1) Thanks for your response and the clear instructions Kubilay. > - Confirm the changes pass QA (portlint, poudriere) Confirmed, please find attached the output of `poudriere testport security/py-fido2' runs for various combinations of releases and architectures. portlint -a is happy (output also attached). > - If there's a test suite for fido2, confirm it passes with this patch (and > adding TEST_DEPENDS / test: target support to port) The test suite didn't work, as it would unconditionally import all test sources, including the linux tests, which require pyfakefs, which isn't available in ports (I tried a quick port, but it's quite linux specific and would've required even more work, just to support a unit test that won't run anyway). To fix this, setup.py now uses pytest, which allows exclusion of files in conftest.py (also gets rid of "you're not on darwin" warnings). Test target support is now in the port skeleton, so `make test' does the Right Thing(tm). I also added unit tests for the FreeBSD specific bits and ran `make test' in all the poudriere combinations mentioned above manually (using a shell after invoking `poudriere testport -i'). > - Submit the patches in an upstream PR and add the PR title/URL as a comment > in the patch header To to so, some more work was necessary (like adding FreeBSD unit tests, changing readme, etc.). You can find the pull request here https://github.com/Yubico/python-fido2/pull/64 > Also, could you register/publish uhid-freebsd (under that name) in PyPI, so > that upstream can depend on it in setup.py:install_requires using an > environment marker ; sys_platform == 'freebsd' PyPI account created and package published (https://pypi.org/project/uhid-freebsd/). devel/py-freebsd-uhid now pulls from there instead of github. Anything else? -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"