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-...
https://src.fedoraproject.org/rpms/python-elementpath/blob/master/f/pytho...
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok