[opensuse-packaging] Pushing python 3.2 to Factory?
Hi Jan, Is it planned to push python 3.2 to Factory soon? To be honest, I don't care much about 3.2 itself, but the package in the devel project has the nice rpm macros, and it's harder to package anything for python3 without those... Cheers, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/17/2011 07:20 AM, Vincent Untz wrote:
Hi Jan,
Is it planned to push python 3.2 to Factory soon? To be honest, I don't care much about 3.2 itself, but the package in the devel project has the nice rpm macros, and it's harder to package anything for python3 without those...
There was an SR# somewhere but I can't find it anymore. Regards. -- Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote:
Hi Jan,
Is it planned to push python 3.2 to Factory soon? To be honest, I don't care much about 3.2 itself, but the package in the devel project has the nice rpm macros, and it's harder to package anything for python3 without those...
There was an SR# somewhere but I can't find it anymore. Seems like currently there is none, at least not for Factory. -- Mit freundlichen Grüßen, Sascha Peilicke http://saschpe.wordpress.com
Am Freitag, 17. Juni 2011 schrieb Sascha Peilicke:
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote:
Hi Jan,
Is it planned to push python 3.2 to Factory soon? To be honest, I don't care much about 3.2 itself, but the package in the devel project has the nice rpm macros, and it's harder to package anything for python3 without those...
There was an SR# somewhere but I can't find it anymore.
Seems like currently there is none, at least not for Factory.
Darix declined the last: https://build.opensuse.org/request/show/71333 Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/17/2011 09:34 AM, Stephan Kulow wrote:
Am Freitag, 17. Juni 2011 schrieb Sascha Peilicke:
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote:
Hi Jan,
Is it planned to push python 3.2 to Factory soon? To be honest, I don't care much about 3.2 itself, but the package in the devel project has the nice rpm macros, and it's harder to package anything for python3 without those...
There was an SR# somewhere but I can't find it anymore.
Seems like currently there is none, at least not for Factory.
Darix declined the last: https://build.opensuse.org/request/show/71333
OK, gotta fix that and resubmit then :) -- Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/17/2011 09:35 AM, Ismail Doenmez wrote:
On 06/17/2011 09:34 AM, Stephan Kulow wrote:
Am Freitag, 17. Juni 2011 schrieb Sascha Peilicke:
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote:
Hi Jan,
Is it planned to push python 3.2 to Factory soon? To be honest, I don't care much about 3.2 itself, but the package in the devel project has the nice rpm macros, and it's harder to package anything for python3 without those...
There was an SR# somewhere but I can't find it anymore.
Seems like currently there is none, at least not for Factory.
Darix declined the last: https://build.opensuse.org/request/show/71333
OK, gotta fix that and resubmit then :)
The python3 macros I made for blender, from the ones that used to be on the wiki, have passed to factory before and have survived python updates and Fedora. I haven't tried the latest python 3.2 ones yet. # Python3 macros %global __python3 /usr/bin/python3 %global python3_ver %(python3 -c "import sys; v=sys.version_info[:2]; print('%%d.%%d'%%v)" 2>/dev/null || echo PYTHON-NOT-FOUND) %global nodot3_ver %(python3 -c "import sys; v=sys.version_info[:2]; print('%%d%%d'%%v)" 2>/dev/null || echo PYTHON-NOT-FOUND) %global python3_prefix %(python3 -c "import sys; print(sys.prefix)" 2>/dev/null || echo PYTHON-NOT-FOUND) %global python3_libdir %{python3_prefix}/%{_lib}/python%{python3_ver}%{py3_abi_kind} %global python3_incdir %{python3_prefix}/include/python%{python3_ver}%{py3_abi_kind} %global python3_sitedir %{python3_libdir}/site-packages %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())" 2>/dev/null || echo PYTHON-NOT-FOUND) # end python3 macros If this helps, why reinvent the wheel. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Dne 17.6.2011 10:16, Dave Plater napsal(a):
The python3 macros I made for blender, from the ones that used to be on the wiki, have passed to factory before and have survived python updates and Fedora. I haven't tried the latest python 3.2 ones yet.
macros work fine, except that autobuild team decided on a brand new policy "no shell execution in macros". that's why i have to generate those at build-time. it is all very enjoyable and exciting. Last part of the "pushing 3.2 to factory" saga was when i found out that it's impossible to generate "libpython" package name by macro expansion. The reasoning behind it seems sane, but the whole resulting mess is not. (and yes, in python's case specifically, it is easy to fix by defining "3_2" as a separate macro (instead of generating it by a single "tr" from python_version) but it's a matter of principle: apparently everyone who is packaging something according to library naming policy has to do hacks like this) long story short, SR #74043 is the new push attempt and i hope to dear $deity that this one is finally OK with tired regards m. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le vendredi 17 juin 2011, à 15:27 +0200, Jan Matejek a écrit :
long story short, SR #74043 is the new push attempt and i hope to dear $deity that this one is finally OK
Thanks a lot for the fast action! Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/17/2011 09:35 AM, Ismail Doenmez wrote:
On 06/17/2011 09:34 AM, Stephan Kulow wrote:
Am Freitag, 17. Juni 2011 schrieb Sascha Peilicke:
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote:
Hi Jan,
Is it planned to push python 3.2 to Factory soon? To be honest, I don't care much about 3.2 itself, but the package in the devel project has the nice rpm macros, and it's harder to package anything for python3 without those...
There was an SR# somewhere but I can't find it anymore.
Seems like currently there is none, at least not for Factory.
Darix declined the last: https://build.opensuse.org/request/show/71333
OK, gotta fix that and resubmit then :)
The macros from devel:languages:python:factory have a problem, the "python" used in the macros should be "python3" otherwise they look like my working ones and should work. I'll test them this evening when I have time and if nobody else has fixed them by then I'll sort them out and submit to python. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/17/2011 10:46 AM, Dave Plater wrote:
On 06/17/2011 09:35 AM, Ismail Doenmez wrote:
On 06/17/2011 09:34 AM, Stephan Kulow wrote:
Am Freitag, 17. Juni 2011 schrieb Sascha Peilicke:
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote:
Hi Jan,
Is it planned to push python 3.2 to Factory soon? To be honest, I don't care much about 3.2 itself, but the package in the devel project has the nice rpm macros, and it's harder to package anything for python3 without those...
There was an SR# somewhere but I can't find it anymore.
Seems like currently there is none, at least not for Factory.
Darix declined the last: https://build.opensuse.org/request/show/71333
OK, gotta fix that and resubmit then :)
The macros from devel:languages:python:factory have a problem, the "python" used in the macros should be "python3" otherwise they look like my working ones and should work. I'll test them this evening when I have time and if nobody else has fixed them by then I'll sort them out and submit to python.
spec file also includes a piece of changelog, it would be nice to remove that also. Regards. -- Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/17/2011 10:48 AM, Ismail Doenmez wrote:
On 06/17/2011 10:46 AM, Dave Plater wrote:
On 06/17/2011 09:35 AM, Ismail Doenmez wrote:
On 06/17/2011 09:34 AM, Stephan Kulow wrote:
Am Freitag, 17. Juni 2011 schrieb Sascha Peilicke:
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote: > Hi Jan, > > Is it planned to push python 3.2 to Factory soon? To be honest, I > don't > care much about 3.2 itself, but the package in the devel project has > the nice rpm macros, and it's harder to package anything for python3 > without those...
There was an SR# somewhere but I can't find it anymore.
Seems like currently there is none, at least not for Factory.
Darix declined the last: https://build.opensuse.org/request/show/71333
OK, gotta fix that and resubmit then :)
The macros from devel:languages:python:factory have a problem, the "python" used in the macros should be "python3" otherwise they look like my working ones and should work. I'll test them this evening when I have time and if nobody else has fixed them by then I'll sort them out and submit to python.
spec file also includes a piece of changelog, it would be nice to remove that also.
Regards.
I forgot this macro which sits in %build with blender, due to 3.1 not having an abi suffix and my attempts to get it to build with 3.1 : %global py3_abi_kind %%(python3-config --abiflags) I see that Jan has defined it manually in the python3-base spec file. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/17/2011 10:48 AM, Ismail Doenmez wrote:
On 06/17/2011 10:46 AM, Dave Plater wrote:
On 06/17/2011 09:35 AM, Ismail Doenmez wrote:
On 06/17/2011 09:34 AM, Stephan Kulow wrote:
Am Freitag, 17. Juni 2011 schrieb Sascha Peilicke:
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote: > Hi Jan, > > Is it planned to push python 3.2 to Factory soon? To be honest, I > don't > care much about 3.2 itself, but the package in the devel project has > the nice rpm macros, and it's harder to package anything for python3 > without those...
There was an SR# somewhere but I can't find it anymore.
Seems like currently there is none, at least not for Factory.
Darix declined the last: https://build.opensuse.org/request/show/71333
OK, gotta fix that and resubmit then :)
The macros from devel:languages:python:factory have a problem, the "python" used in the macros should be "python3" otherwise they look like my working ones and should work. I'll test them this evening when I have time and if nobody else has fixed them by then I'll sort them out and submit to python.
spec file also includes a piece of changelog, it would be nice to remove that also.
Regards.
Just tested the latest macros and they expand to, with my abi_kind macro for the abi suffix I commented out the other duplicate definitions: + echo 'python3 nodotver = 32' python3 nodotver = 32 + echo 'py3_version = 3.2' py3_version = 3.2 + echo 'python3_prefix = /usr' python3_prefix = /usr + echo 'python3_libdir = /usr/lib64/python3.2mu' python3_libdir = /usr/lib64/python3.2mu + echo 'py3_incdir = /usr/include/python3.2' py3_incdir = /usr/include/python3.2 + echo 'python3_sitearch = /usr/lib64/python3.2/site-packages' python3_sitearch = /usr/lib64/python3.2/site-packages + echo 'python3_sitelib = /usr/lib/python3.2/site-packages' python3_sitelib = /usr/lib/python3.2/site-packages Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/17/2011 10:48 AM, Ismail Doenmez wrote:
On 06/17/2011 10:46 AM, Dave Plater wrote:
On 06/17/2011 09:35 AM, Ismail Doenmez wrote:
On 06/17/2011 09:34 AM, Stephan Kulow wrote:
Am Freitag, 17. Juni 2011 schrieb Sascha Peilicke:
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote: > Hi Jan, > > Is it planned to push python 3.2 to Factory soon? To be honest, I > don't > care much about 3.2 itself, but the package in the devel project has > the nice rpm macros, and it's harder to package anything for python3 > without those...
There was an SR# somewhere but I can't find it anymore.
Seems like currently there is none, at least not for Factory.
Darix declined the last: https://build.opensuse.org/request/show/71333
OK, gotta fix that and resubmit then :)
The macros from devel:languages:python:factory have a problem, the "python" used in the macros should be "python3" otherwise they look like my working ones and should work. I'll test them this evening when I have time and if nobody else has fixed them by then I'll sort them out and submit to python.
spec file also includes a piece of changelog, it would be nice to remove that also.
Regards.
The python3 include directory macro doesn't work, it needs the abi flag (abi_kind) appended to "python3.2", blender can't find python.h. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 06/17/2011 10:48 AM, Ismail Doenmez wrote:
On 06/17/2011 10:46 AM, Dave Plater wrote:
On 06/17/2011 09:35 AM, Ismail Doenmez wrote:
On 06/17/2011 09:34 AM, Stephan Kulow wrote:
Am Freitag, 17. Juni 2011 schrieb Sascha Peilicke:
On Friday 17 June 2011 09:11:51 Ismail Doenmez wrote:
On 06/17/2011 07:20 AM, Vincent Untz wrote: > Hi Jan, > > Is it planned to push python 3.2 to Factory soon? To be honest, I > don't > care much about 3.2 itself, but the package in the devel project has > the nice rpm macros, and it's harder to package anything for python3 > without those...
There was an SR# somewhere but I can't find it anymore.
Seems like currently there is none, at least not for Factory.
Darix declined the last: https://build.opensuse.org/request/show/71333
OK, gotta fix that and resubmit then :)
The macros from devel:languages:python:factory have a problem, the "python" used in the macros should be "python3" otherwise they look like my working ones and should work. I'll test them this evening when I have time and if nobody else has fixed them by then I'll sort them out and submit to python.
spec file also includes a piece of changelog, it would be nice to remove that also.
Regards.
After adding the abi flag suffix to the python3 lib, blender builds, I think the macros need a %py3_lib macro as well as the libdir one. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (7)
-
Dave Plater
-
Dave Plater
-
Ismail Doenmez
-
Jan Matejek
-
Sascha Peilicke
-
Stephan Kulow
-
Vincent Untz