On 9/7/20 7:40 AM, Stuart Henderson wrote:
> On 2020/09/07 06:36, Aisha Tammy wrote:
>>> It's only ~50 ports.
>> To my inexperienced self, *only* 50 is a lot :P
>
> :)
>
> It's easier when you write a file containing a list of pkgpaths, e.g.
>
> www/py-flask
> www/py-flask,python3
> www/py-flask-wtf
> www/py-flask-wtf,python3
> www/py-frozen-flask
> www/py-frozen-flask,python3
> ...
>
> (I normally grep ports-INDEX to create such a file).
>
> Then use "SUBDIRLIST=/path/to/file make prepare FETCH_PACKAGES="
> (avoid building dependencies from ports if possible to save time)
> and "SUBDIRLIST=/path/to/file make plist" or whatever.
> With that it's not _all_ that much more work to do a bunch of
> ports than a single port.
>
Thanks a lot for the pointers.
One thing that I am struggling with is to find documentation on doing
testing of ports using pytest and python unittests.
I know of MODPY_PYTEST and then the *-test blocks but MODPY_PYTEST is not always
enough/ doesn't set the right environment.
I want to be able to get the tests running for the modules I'm importing and
updating to latest.
Thanks,
Aisha
No comments:
Post a Comment