Accepting request 294250 from home:benoit_monin:branches:devel:languages:python

- update to version 0.24.0
- removed wininst2wheel and egg2wheel: they are not in 0.24.0 anymore

OBS-URL: https://build.opensuse.org/request/show/294250
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=12
This commit is contained in:
Denisart Benjamin 2015-04-03 17:26:19 +00:00 committed by Git OBS Bridge
parent c98f335bbf
commit 161d3a753e
4 changed files with 39 additions and 15 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: python-wheel
Version: 0.22.0
Version: 0.24.0
Release: 0
Summary: A built-package format for Python
License: MIT
@ -77,7 +77,7 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
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}
touch %{buildroot}%{_sysconfdir}/alternatives/$b
ln -sf %{_sysconfdir}/alternatives/$b %{buildroot}/%{_bindir}/$b
@ -87,9 +87,7 @@ done
python setup.py test
%post
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}
update-alternatives --install %{_bindir}/wheel wheel %{_bindir}/wheel-%{py_ver} 20
%postun
if [ $1 -eq 0 ] ; then
@ -99,15 +97,9 @@ fi
%files
%defattr(-,root,root,-)
%doc CHANGES.txt README.txt LICENSE.txt
%{_bindir}/egg2wheel
%{_bindir}/egg2wheel-%{py_ver}
%{_bindir}/wheel
%{_bindir}/wheel-%{py_ver}
%{_bindir}/wininst2wheel
%{_bindir}/wininst2wheel-%{py_ver}
%ghost %{_sysconfdir}/alternatives/wheel
%ghost %{_sysconfdir}/alternatives/egg2wheel
%ghost %{_sysconfdir}/alternatives/wininst2wheel
%{python_sitelib}/wheel-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/wheel/

View File

@ -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
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef832abfedea7ed86b6eae7400128f88053a1da81a37c00613b1279544d585aa
size 50597