Accepting request 294336 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/294336 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wheel?expand=0&rev=7
This commit is contained in:
commit
2140d56d63
@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 1 21:04:26 UTC 2015 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- update to version 0.24.0:
|
||||||
|
* The python tag used for pure-python packages is now .pyN (major
|
||||||
|
version only). This change actually occurred in 0.23.0 when the
|
||||||
|
--python-tag option was added, but was not explicitly mentioned
|
||||||
|
in the changelog then.
|
||||||
|
* wininst2wheel and egg2wheel removed. Use "wheel convert
|
||||||
|
[archive]" instead.
|
||||||
|
* Wheel now supports setuptools style conditional requirements via
|
||||||
|
the extras_require={} syntax. Separate 'extra' names from
|
||||||
|
conditions using the : character. Wheel's own setup.py does
|
||||||
|
this. (The empty-string extra is the same as install_requires.)
|
||||||
|
These conditional requirements should work the same whether the
|
||||||
|
package is installed by wheel or by setup.py.
|
||||||
|
- additional changes from 0.23.0:
|
||||||
|
* Compatibiltiy tag flags added to the bdist_wheel command
|
||||||
|
* sdist should include files necessary for tests
|
||||||
|
* 'wheel convert' can now also convert unpacked eggs to wheel
|
||||||
|
* Rename pydist.json to metadata.json to avoid stepping on the PEP
|
||||||
|
* The --skip-scripts option has been removed, and not generating
|
||||||
|
scripts is now the default. The option was a temporary approach
|
||||||
|
until installers could generate scripts themselves. That is now
|
||||||
|
the case with pip 1.5 and later. Note that using pip 1.4 to
|
||||||
|
install a wheel without scripts will leave the installation
|
||||||
|
without entry-point wrappers. The "wheel install-scripts"
|
||||||
|
command can be used to generate the scripts in such cases.
|
||||||
|
* Thank you contributors
|
||||||
|
- removed wininst2wheel and egg2wheel:
|
||||||
|
they are not in 0.24.0 anymore
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 10 14:46:04 UTC 2014 - speilicke@suse.com
|
Mon Feb 10 14:46:04 UTC 2014 - speilicke@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-wheel
|
# spec file for package python-wheel
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-wheel
|
Name: python-wheel
|
||||||
Version: 0.22.0
|
Version: 0.24.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A built-package format for Python
|
Summary: A built-package format for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -77,7 +77,7 @@ python setup.py build
|
|||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
for b in egg2wheel wheel wininst2wheel ; do
|
for b in wheel ; do
|
||||||
mv %{buildroot}%{_bindir}/$b %{buildroot}%{_bindir}/$b-%{py_ver}
|
mv %{buildroot}%{_bindir}/$b %{buildroot}%{_bindir}/$b-%{py_ver}
|
||||||
touch %{buildroot}%{_sysconfdir}/alternatives/$b
|
touch %{buildroot}%{_sysconfdir}/alternatives/$b
|
||||||
ln -sf %{_sysconfdir}/alternatives/$b %{buildroot}/%{_bindir}/$b
|
ln -sf %{_sysconfdir}/alternatives/$b %{buildroot}/%{_bindir}/$b
|
||||||
@ -87,9 +87,7 @@ done
|
|||||||
python setup.py test
|
python setup.py test
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-alternatives --install %{_bindir}/wheel wheel %{_bindir}/wheel-%{py_ver} 20 \
|
update-alternatives --install %{_bindir}/wheel wheel %{_bindir}/wheel-%{py_ver} 20
|
||||||
--slave %{_bindir}/egg2wheel egg2wheel %{_bindir}/egg2wheel-%{py_ver} \
|
|
||||||
--slave %{_bindir}/wininst2wheel wininst2wheel %{_bindir}/wininst2wheel-%{py_ver}
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
@ -99,15 +97,9 @@ fi
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc CHANGES.txt README.txt LICENSE.txt
|
%doc CHANGES.txt README.txt LICENSE.txt
|
||||||
%{_bindir}/egg2wheel
|
|
||||||
%{_bindir}/egg2wheel-%{py_ver}
|
|
||||||
%{_bindir}/wheel
|
%{_bindir}/wheel
|
||||||
%{_bindir}/wheel-%{py_ver}
|
%{_bindir}/wheel-%{py_ver}
|
||||||
%{_bindir}/wininst2wheel
|
|
||||||
%{_bindir}/wininst2wheel-%{py_ver}
|
|
||||||
%ghost %{_sysconfdir}/alternatives/wheel
|
%ghost %{_sysconfdir}/alternatives/wheel
|
||||||
%ghost %{_sysconfdir}/alternatives/egg2wheel
|
|
||||||
%ghost %{_sysconfdir}/alternatives/wininst2wheel
|
|
||||||
%{python_sitelib}/wheel-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/wheel-%{version}-py%{py_ver}.egg-info
|
||||||
%{python_sitelib}/wheel/
|
%{python_sitelib}/wheel/
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dffdf998910de1fd4267a1cb07db46def901bf3bc1e25b80f132addef4ebe46d
|
|
||||||
size 39772
|
|
3
wheel-0.24.0.tar.gz
Normal file
3
wheel-0.24.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ef832abfedea7ed86b6eae7400128f88053a1da81a37c00613b1279544d585aa
|
||||||
|
size 50597
|
Loading…
x
Reference in New Issue
Block a user