From ee49161a2b1a79c73369fa39e034212272f6c70a8ba6a5da7d5f50e36fdcb472 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 3 May 2022 06:31:49 +0000 Subject: [PATCH] Accepting request 974488 from home:susnux:branches:devel:languages:python - Update to version 2.45 OBS-URL: https://build.opensuse.org/request/show/974488 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distutils-extra?expand=0&rev=42 --- python-distutils-extra-2.39.tar.gz | 3 --- python-distutils-extra-2.45.tar.bz2 | 3 +++ python-distutils-extra.changes | 24 ++++++++++++++++++++++++ python-distutils-extra.spec | 12 ++++++------ 4 files changed, 33 insertions(+), 9 deletions(-) delete mode 100644 python-distutils-extra-2.39.tar.gz create mode 100644 python-distutils-extra-2.45.tar.bz2 diff --git a/python-distutils-extra-2.39.tar.gz b/python-distutils-extra-2.39.tar.gz deleted file mode 100644 index 0b54b6a..0000000 --- a/python-distutils-extra-2.39.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af -size 27389 diff --git a/python-distutils-extra-2.45.tar.bz2 b/python-distutils-extra-2.45.tar.bz2 new file mode 100644 index 0000000..809a040 --- /dev/null +++ b/python-distutils-extra-2.45.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e88f495d2eee98cf6d9de82d2484632162265f37f128dbf8b46d4f4bda8f2eaa +size 38094 diff --git a/python-distutils-extra.changes b/python-distutils-extra.changes index 3636dc2..0e8faea 100644 --- a/python-distutils-extra.changes +++ b/python-distutils-extra.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Mon May 2 22:34:44 UTC 2022 - Ferdinand Thiessen + +- Update to version 2.45 + * Run unittest.main() only when running script directly. + * Fix install_auto command with --skip-build + python-distutils-extra seems to rely on a very bad practice of modifying + internal state (file lists) in middle of `build` commands. As a result, + if the package is installed via `build` command followed by `install + --skip-build` (since everything was built already!), most of the files + are not installed. +- Update to version 2.44 + * Drop python2 support +- Update to version 2.43 + * Fix minor typo. +- Update to version 2.42 + * Adjust dependency calculation for Python 3.7. + For builtin modules, their __file__ attribute is now None instead of + absent. + Make the `test/auto.py T.test_apport_hook` stricter and fail more + usefully. + * Fix pyflakes3 errors and check it during build +- Move to new debian maintained upstream + ------------------------------------------------------------------- Fri Sep 18 07:39:36 UTC 2020 - John Vandenberg diff --git a/python-distutils-extra.spec b/python-distutils-extra.spec index 2e66222..bc3dd80 100644 --- a/python-distutils-extra.spec +++ b/python-distutils-extra.spec @@ -1,7 +1,7 @@ # # spec file for package python-distutils-extra # -# Copyright (c) 2020 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,16 +18,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-distutils-extra -Version: 2.39 +Version: 2.45 Release: 0 Summary: Distutils/Setuptools Adapter License: GPL-2.0-only Group: Development/Libraries/Python -Url: https://launchpad.net/python-distutils-extra -Source: http://launchpad.net/python-distutils-extra/trunk/%{version}/+download/python-distutils-extra-%{version}.tar.gz +URL: https://salsa.debian.org/python-team/packages/python-distutils-extra +Source: %{url}/-/archive/%{version}/python-distutils-extra-%{version}.tar.bz2 BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -50,7 +50,7 @@ This includes the following: %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%doc doc/* +%doc debian/changelog doc/* %license LICENSE %{python_sitelib}/*