Re: Tox automation in packaging macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 7, 2020 at 2:18 PM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
>
> On 07. 01. 20 14:06, Fabio Valentini wrote:
> > - python / pypi works great for %build and %install, but until testing
> > with tox is automated in packaging macros, %check has to be specified
> > manually since upstream projects do different things there.
> > generate_buildrequires also works nicely here.
>
> See the %tox macro from https://src.fedoraproject.org/rpms/pyproject-rpm-macros
>
> Examples:
>
> https://src.fedoraproject.org/rpms/python-xmlschema/blob/master/f/python-xmlschema.spec
>
> https://src.fedoraproject.org/rpms/python-elementpath/blob/master/f/python-elementpath.spec

Ooh, shiny. I knew that somebody was working on this because it was
presented at flock, but I didn't know that it was in a usable state
now.
I'll try using it in the next python package I touch :) Thanks for the
pointers, Miro!

Fabio

> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok
>
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux