14
0

- update to 0.3.6:

- scripts
      - Fixed #175: Updated launcher executables to better handle the relationship
        between launcher and child process in the Job API.
  - database
      - Fixed #170: Corrected implementation of ``get_required_dists()``.
  - index
      - Updated coverage pragmas for tests relating to obsolete PyPI APIs.
  - locators
      - Changed the default locator configuration.
  - metadata
      - Updates in support of PEP 643 / Metadata 2.2.
  - scripts
      - Updated launcher executables. Thanks to Michael Bikovitsky for his help with
        the launcher changes.
      - Fixed #164: Improved support for reproducible builds by allowing a fixed
        date/time to be inserted into created .exe files. Thanks to Somber Night for the
        patch.
  - util
      - Fixed #161: Updated test case.
  - wheel
      - Updated to write archive path of RECORD to RECORD instead of staging path.
        Thanks to Pieter Pas for the patch.
      - Fixed #169: Removed usage of deprecated imp module in favour of importlib.
      - Fixed #172: Compute ABI correctly for Python < 3.8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=22
This commit is contained in:
2022-10-01 12:57:42 +00:00
committed by Git OBS Bridge
parent 09a9c6d456
commit c1a7e14bdf
4 changed files with 39 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-distlib
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,17 +18,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-distlib
Version: 0.3.4
Version: 0.3.6
Release: 0
Summary: Distribution utilities
License: Python-2.0
URL: https://github.com/pypa/distlib
Source: https://files.pythonhosted.org/packages/source/d/distlib/distlib-%{version}.zip
Source: https://files.pythonhosted.org/packages/source/d/distlib/distlib-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildArch: noarch
%python_subpackages
@@ -46,10 +46,10 @@ sed -i '/from test_locators import LocatorTestCase/d' tests/distlib_tests.py
rm distlib/*.exe
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check