[Freeipa-devel] [freeipa PR#272][opened] Build: makerpms.sh generates Python 2 & 3 packages at the same time

pspacek freeipa-github-notification at redhat.com
Thu Nov 24 16:50:19 UTC 2016


   URL: https://github.com/freeipa/freeipa/pull/272
Author: pspacek
 Title: #272: Build: makerpms.sh generates Python 2 & 3 packages at the same time
Action: opened

PR body:
"""
Petr Viktorin recommended me to copy the whole build directory and run
configure twice, with different values for PYTHON variable.

After thinking a bit about that, it seems as cleanest approach.
Building for two versions of Python at the same time should be
temporary state so I decided not to complicate Autotools build system
with conditional spagetti for two versions of Python.

For proper Python2/3 distiction in the two separate builds, I added
find/grep/sed combo which replaces shebangs with system-wide Python
interpreter as necessary. This is workaround for the fact that FreeIPA
does not use setuptools properly. Honza told me that proper use of
setuptools is not trivial so we decided to go with this for now.

https://fedorahosted.org/freeipa/ticket/157
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/272/head:pr272
git checkout pr272
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-272.patch
Type: text/x-diff
Size: 10710 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20161124/7cd3619f/attachment.bin>


More information about the Freeipa-devel mailing list