Wednesday, August 10, 2022

Re: [NEW] security/py-securesystemslib

On 2022/08/02 17:54, George Rosamond wrote:
> This is the unported RUN_DEPEND for previously submitted
> security/py-in-toto.
>
> from pkg/DESCR:
>
> A library that provides cryptographic and general-purpose functions
> for Secure Systems Lab projects at New York University. The routines
> are general enough to be usable by other projects.
>
> Thanks.
>
> g

$ make test
===> Regression tests for py3-securesystemslib-0.23.0
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
...

-> use some MODPY_PYTEST variant, in this case tests are in tests/
and some files from lib are autocollected, so restrict it by setting
MODPY_PYTEST_ARGS = tests

Some tests fail due to "python" not existing; needs

pre-test:
ln -fs ${MODPY_BIN} ${WRKDIR}/bin/python

the attached tweaked one is ok sthen@

No comments:

Post a Comment