Re: %{python3_pkgversion} tag

2016-10-29 Thread Germano Massullo
Il 27/10/2016 02:51, Orion Poplawski ha scritto:
> On 10/26/2016 05:16 PM, Germano Massullo wrote:
>> A proven packager edited one of the python libraries I maintain, to add
>> some useful stuff. Among all the edits he made, there is one in
>> particular that made me write this message.
>> %{?python_provide:%python_provide python3-%{pypi_name}}
>> has been replaced with
>> %{?python_provide:%python_provide
>> python%{python3_pkgversion}-%{pypi_name}}
>>
>> What is the advantage of using %{python3_pkgversion} tag? Have in future
>> a package name like python31-foo ?
>> Till now I have only seen names like
>> python2-foo
>> and
>> python3-foo
>
> %python3_pkgversion will always resolve to 3 on Fedora (at least for
> the foreseeable future).  On EPEL, it currently resolves to 34 as that
> is the current main (and only at the moment) python3 version in EPEL. 
> At some point we will introduce a new python3 version (probably 3.6 at
> this point) and will start to shift to that.
>
> See also - https://fedoraproject.org/wiki/PackagingDrafts:Python3EPEL
>
> We don't currently have %python3_other*.  I'm hopeful that we can come
> up with some better macros for handling the multiple versions before
> rolling that out.
>
> - Orion
>
Hi Orion, thank you for your help, I am actually applying your patch to
all python packages I maintain.
Have a nice day!
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org


python-setuptools explicit build dependency

2016-10-29 Thread Germano Massullo
In spec files of Python based software, python-setuptools is a build
requirement that is mandatory for EPEL7, on Fedora instead it is not
required because it should already be a runtime dependency for python-devel.
By the way I remember I have heard that in next future it should be
added explicitly for various reasons.
Since I am actually doing some edits on the spec files of all Python
packages I mantain, I would like to know if what I have heard is true,
so that I can add it such dependency now.

Thank you



signature.asc
Description: OpenPGP digital signature
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org