Re: [Rpm-maint] [rpm-software-management/rpm] Discussion: How to handle Python extras (#1061)

2020-06-23 Thread Miro Hrončok
We have proposed this in Fedora: https://fedoraproject.org/wiki/Changes/PythonExtras -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Discussion: How to handle Python extras (#1061)

2020-05-19 Thread Miro Hrončok
Here's my idea: ```lua %python_extras_subpkg(n:i:f:) %{expand:%{lua: local value_n = rpm.expand('%{-n*}') local value_i = rpm.expand('%{-i*}') local value_f = rpm.expand('%{-f*}') local args = rpm.expand('%{*}') if value_n == '' then rpm.expand('%{error:%%%0: missing

Re: [Rpm-maint] [rpm-software-management/rpm] Discussion: How to handle Python extras (#1061)

2020-03-01 Thread Elliott Sales de Andrade
Indeed, I modelled the subpackages after the Rust ones. Also, maybe you can't do dynamic subpackages yet, but you could maybe do it with a macro, like Go does for its `-devel` packages. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

Re: [Rpm-maint] [rpm-software-management/rpm] Discussion: How to handle Python extras (#1061)

2020-02-20 Thread Fabio Valentini
@hroncok BTW, looks like there's already at least one python package in fedora that handles extras like rust handles optional features: [python-dask](https://src.fedoraproject.org/rpms/python-dask/blob/master/f/python-dask.spec) -- You are receiving this because you are subscribed to this

Re: [Rpm-maint] [rpm-software-management/rpm] Discussion: How to handle Python extras (#1061)

2020-02-13 Thread Igor Gnatenko
You still need to be able to BR them because you'd want to run tests and whatnot. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: