6 Commits

Author SHA256 Message Date
778d413588 Accepting request 1295267 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1295267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=17
2025-07-24 16:41:47 +00:00
565d3a8c35 Accepting request 1295249 from home:glaubitz:branches:devel:languages:python
- Update to 0.4.0
  * Add the ``interpret_parsed`` function.
  * Fix #238: Add build tag to wheel metadata if specified.
  * Fix #243: Update to support free-threading version of Python (3.13t).
  * Fix #246: Support subdirectories in the dist-info directory.
    Thanks to Pieter P for the patch.
  * Fix #248: Fix path normalisation issue caused by the fix for #246.
  * Move import in script wrapper to "if __name__ == 'main'" clause.
  * Fix #245: Skip test_package_data if a SKIP_EXT_PACKAGE_DATA
    environment variable is present.

OBS-URL: https://build.opensuse.org/request/show/1295249
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=34
2025-07-23 10:33:08 +00:00
14c06b7384 Accepting request 1228385 from devel:languages:python
Forwarded request #1228311 from glaubitz

- Update to 0.3.9
    * Merge #215: preload script wrappers on Windows to assist with a pip issue (thanks,
      Paul Moore).
    * Fix #220: Remove duplicated newline in shebang of windows launcher (thanks. A2uria).
    * Fix #230: Add handling for cross-compilation environments (thanks, Russell Keith-Magee).
    * Fix #224: Do not use the absolute path to cache wheel extensions (thanks, Stewart Miles).
    * Fix #222: Support mounting wheels that use extensions without an EXTENSIONS file (thanks,
      Stewart Miles).
    * Fix #225: Add support for wheel compatibility with the limited API (thanks, Stewart Miles).
  - Drop py313-interpreter-repr.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1228385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=16
2024-12-06 13:24:59 +00:00
3316a38759 Accepting request 1228311 from home:glaubitz:branches:devel:languages:python
- Update to 0.3.9
  * Merge #215: preload script wrappers on Windows to assist with a pip issue (thanks,
    Paul Moore).
  * Fix #220: Remove duplicated newline in shebang of windows launcher (thanks. A2uria).
  * Fix #230: Add handling for cross-compilation environments (thanks, Russell Keith-Magee).
  * Fix #224: Do not use the absolute path to cache wheel extensions (thanks, Stewart Miles).
  * Fix #222: Support mounting wheels that use extensions without an EXTENSIONS file (thanks,
    Stewart Miles).
  * Fix #225: Add support for wheel compatibility with the limited API (thanks, Stewart Miles).
- Drop py313-interpreter-repr.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1228311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=32
2024-12-04 22:11:19 +00:00
eef17d6116 Accepting request 1184219 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1184219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=15
2024-07-02 16:14:42 +00:00
62285a913c Accepting request 1184218 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
- add py313-interpreter-repr.patch to fix testsuite with python
  3.13

- depend on testsuite

OBS-URL: https://build.opensuse.org/request/show/1184218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=30
2024-07-01 08:04:41 +00:00
4 changed files with 46 additions and 7 deletions

Binary file not shown.

3
distlib-0.4.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Wed Jul 23 09:15:41 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.4.0
* Add the ``interpret_parsed`` function.
* Fix #238: Add build tag to wheel metadata if specified.
* Fix #243: Update to support free-threading version of Python (3.13t).
* Fix #246: Support subdirectories in the dist-info directory.
Thanks to Pieter P for the patch.
* Fix #248: Fix path normalisation issue caused by the fix for #246.
* Move import in script wrapper to "if __name__ == 'main'" clause.
* Fix #245: Skip test_package_data if a SKIP_EXT_PACKAGE_DATA
environment variable is present.
-------------------------------------------------------------------
Wed Dec 4 13:16:38 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.3.9
* Merge #215: preload script wrappers on Windows to assist with a pip issue (thanks,
Paul Moore).
* Fix #220: Remove duplicated newline in shebang of windows launcher (thanks. A2uria).
* Fix #230: Add handling for cross-compilation environments (thanks, Russell Keith-Magee).
* Fix #224: Do not use the absolute path to cache wheel extensions (thanks, Stewart Miles).
* Fix #222: Support mounting wheels that use extensions without an EXTENSIONS file (thanks,
Stewart Miles).
* Fix #225: Add support for wheel compatibility with the limited API (thanks, Stewart Miles).
- Drop py313-interpreter-repr.patch, merged upstream
-------------------------------------------------------------------
Mon Jul 1 08:04:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add py313-interpreter-repr.patch to fix testsuite with python
3.13
-------------------------------------------------------------------
Mon Jul 1 06:03:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
- depend on testsuite
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 19 09:57:22 UTC 2023 - Dirk Müller <dmueller@suse.com> Tue Dec 19 09:57:22 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-distlib # spec file for package python-distlib
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# 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
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-distlib Name: python-distlib
Version: 0.3.8 Version: 0.4.0
Release: 0 Release: 0
Summary: Distribution utilities Summary: Distribution utilities
License: Python-2.0 License: Python-2.0
@@ -26,6 +26,7 @@ URL: https://github.com/pypa/distlib
Source: https://files.pythonhosted.org/packages/source/d/distlib/distlib-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/d/distlib/distlib-%{version}.tar.gz
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -36,8 +37,7 @@ BuildArch: noarch
Python distribution utilities. Python distribution utilities.
%prep %prep
%setup -q -n distlib-%{version} %autosetup -p1 -n distlib-%{version}
%autopatch -p1
# This test module requires internet access and are unnecessary # This test module requires internet access and are unnecessary
sed -i '/from test_locators import LocatorTestCase/d' tests/distlib_tests.py sed -i '/from test_locators import LocatorTestCase/d' tests/distlib_tests.py