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

2019-12-01 Thread Dominik 'Rathann' Mierzejewski
On Sunday, 01 December 2019 at 00:07, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Nov 30, 2019 at 05:26:14PM +0100, Dominik 'Rathann' Mierzejewski > wrote: [...] > > Two observations: > > > > 1. It actually generates more BRs than I specify manually (I had 3). It > > adds python3-wheel and it br

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

2019-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Nov 30, 2019 at 05:26:14PM +0100, Dominik 'Rathann' Mierzejewski wrote: > 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, t

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

2019-11-30 Thread Nicolas Mailhot via devel
Le samedi 30 novembre 2019 à 12:54 -0500, Neal Gompa a écrit : > On Sat, Nov 30, 2019 at 12:49 PM Miro Hrončok > wrote: > > On 30. 11. 19 17:26, Dominik 'Rathann' Mierzejewski wrote: > > > > > > 2. It would be useful if it generated the file list > > > automatically, too. > > > I had to drop .egg

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

2019-11-30 Thread Miro Hrončok
On 30. 11. 19 18:54, Neal Gompa wrote: On Sat, Nov 30, 2019 at 12:49 PM Miro Hrončok wrote: On 30. 11. 19 17:26, Dominik 'Rathann' Mierzejewski wrote: 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

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

2019-11-30 Thread Neal Gompa
On Sat, Nov 30, 2019 at 12:49 PM Miro Hrončok wrote: > > On 30. 11. 19 17:26, Dominik 'Rathann' Mierzejewski wrote: > > 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 u

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

2019-11-30 Thread Miro Hrončok
On 30. 11. 19 17:26, Dominik 'Rathann' Mierzejewski wrote: 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. python3-pytoml or py

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

2019-11-30 Thread Dominik 'Rathann' Mierzejewski
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

Provisional pyproject RPM macros: Dynamic BuildRequires for Python packages

2019-10-04 Thread Miro Hrončok
://snarky.ca/clarifying-pep-518/ The set of macros is designed for modern packaging with dynamic buildrequires in mind. The macros are in the pyproject-rpm-macros package and you can use them like this: BuildRequires: pyproject-rpm-macros %prep ... %generate_buildrequires

Dynamic BuildRequires on Fedora 29/30: Possible!

2019-06-20 Thread Igor Gnatenko
Hello, All applications written in Rust are shipped to stable releases via modules which includes building all crates (libraries), applications themselves and throwing away all crates (since those are linked statically). However, since we are using dynamic BuildRequires[0] as of yesterday it is

Dynamic BuildRequires

2018-09-15 Thread Nicolas Mailhot
Hi, Following some long discussions on rpm's and mock issue tracker¹, I wrote the following to permit using BuildRequires, computed from the content of the packaged archive: https://github.com/nim-nim/mock-install https://copr.fedorainfracloud.org/coprs/nim/mock-install/ https://bugzilla.redhat.c