Overview
Request 843212 superseded
- Update to version 20201021.adb6953:
* Prepare for multiple python3 flavors
- Remove multiple_flavors.patch as it is included in the upstream
tarball.
- Update to version 20201016.5d22545:
* fix whitespace after escape in compileall macro
- Update to version 20201016.db09189:
* Delete pycache files before compilealll
* Update macros/010-common-defs
* Reword compileall
* mention pyproject.toml and link to PEP517 and PEP518
* add description for pyunittest macro
* add description for python_compileall macro
* add description for pyproject macros
* add python_compileall macro and use it in pyproject_install
* disable pip version check: no connection to pypi.org
- Update multiple_flavors.patch to generate correct names of the
python binary.
- %__#FLAVOR# should be defined as
/usr/bin/python%{#FLAVOR#_version} not just /usr/bin/#FLAVOR#
- Add patch multiple_flavors.patch which makes compile_macros.sh
generate alternative flavours as well.
- Created by mcepl
- In state superseded
- Supersedes 842974 843211
- Superseded by 843481
- Open review for openSUSE:Factory:Staging:N
Looks awesome, thank you! Did you test it? If yes, we should just put it into the GitHub repo proper (I was using a patch just while testing it).
Yes, I tested it locally in a checked out Staging:N with Cython.
Oh, besides building Cython, I also entered the chroot and executed rpm --eval ..
to check the macros.
Request History
mcepl created request
- Update to version 20201021.adb6953:
* Prepare for multiple python3 flavors
- Remove multiple_flavors.patch as it is included in the upstream
tarball.
- Update to version 20201016.5d22545:
* fix whitespace after escape in compileall macro
- Update to version 20201016.db09189:
* Delete pycache files before compilealll
* Update macros/010-common-defs
* Reword compileall
* mention pyproject.toml and link to PEP517 and PEP518
* add description for pyunittest macro
* add description for python_compileall macro
* add description for pyproject macros
* add python_compileall macro and use it in pyproject_install
* disable pip version check: no connection to pypi.org
- Update multiple_flavors.patch to generate correct names of the
python binary.
- %__#FLAVOR# should be defined as
/usr/bin/python%{#FLAVOR#_version} not just /usr/bin/#FLAVOR#
- Add patch multiple_flavors.patch which makes compile_macros.sh
generate alternative flavours as well.
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
dimstar_suse set openSUSE:Factory:Staging:N as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:N"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:N"
licensedigger accepted review
ok
dimstar accepted review
Note that in contrast to sr#842974 you do not activate the python36 and python38 flavors anymore. Probably better to do so in a later step.
Meh:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:N/python-Cython/standard/x86_64
It's because the prjconf enables python36 but python-rpm-macros does not.
expanding
%python_expand
fails, because there is no %__python36https://github.com/openSUSE/python-rpm-macros/pull/65