https://bugzilla.redhat.com/show_bug.cgi?id=1605156
Bug ID: 1605156
Summary: Review Request: python-bundled-wheels - Wheels to be
bundled with Python tools for virtual environments
Product: Fedora
Version: rawhide
Component: Package Review
Severity: medium
Priority: medium
Assignee: nobody(a)fedoraproject.org
Reporter: mhroncok(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: package-review(a)lists.fedoraproject.org
Spec URL:
https://churchyard.fedorapeople.org/SRPMS/python-bundled-wheels.spec
SRPM URL:
https://churchyard.fedorapeople.org/SRPMS/python-bundled-wheels-0-1.fc28....
Description:
The purpose of this package is to build various Python wheels to be bundled
with Python tools for virtual environments, instead of taking prebuilt bundled
wheels from upstreams. This also allows to deduplicate the wheels and specify
the licenses better (no need to specify them in the projects that need those).
Fedora Account System Username: churchyard
Rationale: We bundle a lot of wheels in Fedora and we don't even rebuild them.
This is an attempt to fix it. Maybe even to replace the python3 rewheel patch
in the future. Consider it proof of concept. Feedback is welcomed.
In the package that has wheel, one would do:
Requires: wheel(setuptools-39.1.0-py2.py3-none-any.whl)
...
pushd %{buildroot}%{python3_sitelib}/virtualenv_support
rm setuptools-39.1.0-py2.py3-none-any.whl
ln -s
%{_datatdir}/python-bundled-wheels/setuptools-39.1.0-py2.py3-none-any.whl .
...
popd
If desired, we could provide a macro for %{_datatdir}/python-bundled-wheels and
possible for the linking, so the maintainer would only need to: require the
wheel and run:
for WHL in %{buildroot}%{python3_sitelib}/virtualenv_support/*; do
%link_bundled_wheel $WHL
done
(This is just an idea and it is not done yet.)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component