SHA256
1
0
forked from pool/python-wheel

Accepting request 611769 from home:apersaud:branches:devel:languages:python

- specfile:
  * update copyright year
  * removed python-devel python-jsonschema
- update to version 0.31.1:
  * Fixed arch as "None" when converting eggs to wheels
- changes from version 0.31.0:
  * Fixed displaying of errors on Python 3
  * Fixed single digit versions in wheel files not being properly
    recognized
  * Fixed wrong character encodings being used (instead of UTF-8) to
    read and write "RECORD" (this sometimes crashed bdist_wheel too)
  * Enabled Zip64 support in wheels by default
  * Metadata-Version is now 2.1
  * Dropped DESCRIPTION.rst and metadata.json from the list of
    generated files
  * Dropped support for the non-standard, undocumented
    "provides-extra" and "requires-dist" keywords in setup.cfg
    metadata
  * Deprecated all wheel signing and signature verification commands
  * Removed the (already defunct) "tool" extras from setup.py

OBS-URL: https://build.opensuse.org/request/show/611769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=26
This commit is contained in:
Tomáš Chvátal 2018-05-24 06:40:53 +00:00 committed by Git OBS Bridge
parent e0c08c8a14
commit 57ad5ed08c
4 changed files with 45 additions and 21 deletions

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue May 22 15:43:04 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
* removed python-devel python-jsonschema
- update to version 0.31.1:
* Fixed arch as "None" when converting eggs to wheels
- changes from version 0.31.0:
* Fixed displaying of errors on Python 3
* Fixed single digit versions in wheel files not being properly
recognized
* Fixed wrong character encodings being used (instead of UTF-8) to
read and write "RECORD" (this sometimes crashed bdist_wheel too)
* Enabled Zip64 support in wheels by default
* Metadata-Version is now 2.1
* Dropped DESCRIPTION.rst and metadata.json from the list of
generated files
* Dropped support for the non-standard, undocumented
"provides-extra" and "requires-dist" keywords in setup.cfg
metadata
* Deprecated all wheel signing and signature verification commands
* Removed the (already defunct) "tool" extras from setup.py
-------------------------------------------------------------------
Mon Nov 27 13:00:03 UTC 2017 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-wheel
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -19,28 +19,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{!?license: %global license %doc}
Name: python-wheel
Version: 0.30.0
Version: 0.31.1
Release: 0
Summary: A built-package format for Python
License: MIT
Group: Development/Languages/Python
Url: https://github.com/pypa/wheel
URL: https://github.com/pypa/wheel
Source: https://github.com/pypa/wheel/archive/%{version}.tar.gz#/wheel-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test
BuildRequires: %{python_module cov-core >= 1.6}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module jsonschema}
# Not compatible currently, see https://github.com/jaraco/keyrings.alt/issues/20
#BuildRequires: %%{python_module keyrings.alt}
BuildRequires: %{python_module keyring}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pyxdg}
# /SECTION
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
@ -50,7 +38,16 @@ Recommends: python-keyring
Recommends: python-keyrings.alt
Recommends: python-pyxdg
BuildArch: noarch
# SECTION test
BuildRequires: %{python_module cov-core >= 1.6}
BuildRequires: %{python_module coverage}
# Not compatible currently, see https://github.com/jaraco/keyrings.alt/issues/20
#BuildRequires: %%{python_module keyrings.alt}
BuildRequires: %{python_module keyring}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pyxdg}
# /SECTION
%python_subpackages
%description
@ -80,14 +77,15 @@ The reference implementation is at http://bitbucket.org/dholth/wheel/
sed -i '1s/^#!.*//' wheel/wininst2wheel.py wheel/egg2wheel.py
%build
%{python_build}
%python_build
%install
%{python_install}
%python_install
%python_clone -a %{buildroot}%{_bindir}/wheel
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LC_ALL=en_US.utf8
# Requires keyrings.alt
rm tests/test_tool.py
%{python_expand rm -rf _build.python2 _build.python3

View File

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

3
wheel-0.31.1.tar.gz Normal file
View File

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