Re: Provisional pyproject RPM macros: Dynamic BuildRequires for Python packages

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

 



Hi, Miro.

On Friday, 04 October 2019 at 13:50, Miro Hrončok wrote:
> Hello fellow Python packagers. This is an announcement about a new set
> of RPM macros you can use to build PEP 517/518 enabled packages, that
> is Python packages that have the pyproject.toml file.

Thanks for your (and whoever else's) work on this. This is exactly the
kind of automation we need to make packaging easier.

Having said that, I tried to use it in one of my packages (python-gsd)
which started providing the pyproject.toml file in a recent release.

Two observations:

1. It actually generates more BRs than I specify manually (I had 3). It
adds python3-wheel and it brings in python3-pip and python3-pytoml on it
own, so my package ends up with 4 additional BRs for no apparent gain.

2. It would be useful if it generated the file list automatically, too.
I had to drop .egg-info and .dist-info manually.

Perhaps I'll try to use the macros in a package with more BRs again.

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPM Fusion  http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
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