From 4930085d738a0f7333a481f2956f7718e0d15f9923165f60909f7cd53950a4ec Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Tue, 27 May 2025 13:20:38 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distutils-extra?expand=0&rev=54 --- .gitattributes | 23 +++ .gitignore | 1 + python-distutils-extra-3.0.tar.bz2 | 3 + python-distutils-extra.changes | 254 +++++++++++++++++++++++++++++ python-distutils-extra.spec | 60 +++++++ 5 files changed, 341 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-distutils-extra-3.0.tar.bz2 create mode 100644 python-distutils-extra.changes create mode 100644 python-distutils-extra.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-distutils-extra-3.0.tar.bz2 b/python-distutils-extra-3.0.tar.bz2 new file mode 100644 index 0000000..bcf82ca --- /dev/null +++ b/python-distutils-extra-3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee1a6a3f97fd87db6d94007324239da58d9b4860f11f05dd66614565de2e6123 +size 40400 diff --git a/python-distutils-extra.changes b/python-distutils-extra.changes new file mode 100644 index 0000000..f1ece0e --- /dev/null +++ b/python-distutils-extra.changes @@ -0,0 +1,254 @@ +------------------------------------------------------------------- +Mon May 26 12:17:29 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Thu Nov 23 14:03:17 UTC 2023 - Dominique Leuenberger + +- Add python-setuptools Requires: Version 3.0 has been ported to + use setuptools. + +------------------------------------------------------------------- +Tue Nov 14 12:44:52 UTC 2023 - Dirk Müller + +- update to 3.0: + * Port code to setuptools. It will not work with distutils any + more. + * Format code with black and imports with isort. + * Address pycodestyle and pylint complaints. + * Use python3 in shebangs. + * Fix TypeError when calling pylint command. + * Drop obsolete python3-distutils dependency. + +------------------------------------------------------------------- +Sun Apr 16 16:52:43 UTC 2023 - Dirk Müller + +- update to 2.50: + * Fix KeyError on .egg-info files in debian directory + (regression in 2.48) + * setup.py: Check that Debian version starts with + DistUtilsExtra version + +------------------------------------------------------------------- +Fri Feb 10 10:00:42 UTC 2023 - Dirk Müller + +- update to 2.49: + * Add missing python3-setuptools Depends + * Adapt tests to setuptools 54+ + +------------------------------------------------------------------- +Sat Dec 3 22:38:27 UTC 2022 - Dirk Müller + +- update to 2.47: + * Sort files in POTFILES.in (for stable .pot files) + * Set Rules-Requires-Root: no + +------------------------------------------------------------------- +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 + +- Add fdupes +- Update to v2.39 + * Ignore comment in second line when parsing *.ui files + * test/auto.py: Show exactly which modules are missing + +------------------------------------------------------------------- +Wed Mar 13 09:00:35 UTC 2019 - qzheng + +- Make use of %license macro and get ready for submitting this + package (the dependency of onboard) to SLE-15 + (fate#326794, bsc#1082318). + +------------------------------------------------------------------- +Tue Dec 4 12:47:19 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Thu Aug 24 13:36:16 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- +Sun Sep 8 20:45:19 UTC 2013 - os-dev@jacraig.com + +- Update to 2.38: + * Use yelp-tools style help installation. + +------------------------------------------------------------------- +Sat Sep 29 19:48:14 UTC 2012 - os-dev@jacraig.com + +- Update to 2.37: + * Handle Glade .ui files correctly when generating the copyright file. Also + ignore backup files. + * auto.py: Recognize manpages which have comments before the initial .TH + comment. + +------------------------------------------------------------------- +Wed Sep 12 03:20:46 UTC 2012 - os-dev@jacraig.com + +- Update to version 2.36: + * Use python 2.6 friendly sys.version_info test. + * Do not call decode() with an "errors" keyword, as this does not + yet work with Python 2.6. +- No changelog provided for 2.35. +- Changes from 2.34: + * Fix *.ui detection to be robust for non-ASCII files. + * Fix a regression with python2 if files have some utf-8 directives. +- Changes from 2.33: + * Fix crash when encountering binary files with Python 3. + * Fix crash when encountering an UTF-8 Python source code file. + +------------------------------------------------------------------- +Wed Mar 14 11:02:40 UTC 2012 - vuntz@opensuse.org + +- Update to version 2.32. Summary of changes since 2.23: + + Port code to be fully Python 3 compatible. + + Rename "check" command to "pylint". + + Add support for installing GSettings schema files. + + Properly support GI repository module detection. + + Remove pykdeuic4 integration. + + Drop support for the long-obsolete PolicyKit (pre polkit 1.0 + API). + + Several bug fixes. + +------------------------------------------------------------------- +Thu Jan 12 11:31:12 UTC 2012 - saschpe@suse.de + +- Specfile cleanup: + * SPDX-style license (GPL-2.0) + * Remove %clean section (sane default) + * Simpler macro usage + * No authors in description + +------------------------------------------------------------------- +Sat Dec 11 16:51:38 UTC 2010 - rwobben@hotmail.com + +- Update to 2.23 + According to this page https://launchpad.net/python-distutils-extra/trunk/2.23) this release has no changelog + +------------------------------------------------------------------- +Sat Oct 30 08:22:11 UTC 2010 - rwobben@hotmail.com + +- Update to version 2.22 ( 2.6 is not the latest one) + + +Changelog to 2.22 + +* setup.py: Drop import of "commands"; unused, and does not exist in + python3. + * DistUtilsExtra/command/build_extra.py: Use "in" operator instead of + has_key(). It's more elegant and Python 3 compatible. + * test/auto.py: Use Python3 compatible octal constant. + * test/auto.py: Decode stdout/stderr result from subprocess from bytes to + str, to work with Python3. + * test/auto.py: Use whichever Python interpreter we got invoked with (using + /proc/self/exe) instead of hardcoding "python". With that we can run the + tests through python3 as well. + * DistUtilsExtra/auto.py: Port from deprecated "compiler" module to current + "ast" module. + * test/auto.py: Only set PYTHONPATH if it isn't set already, so that we can + override it from outside. + * test/auto.py: Do not require that "setup.py clean -a" doesn't print + anything to stderr; with Python 3.1 it now sends out warnings about + nonexisting directories. + * test/auto.py: Changed print statements to work with both Python 2 and 3. + * DistUtilsExtra/command/build_extra.py: Drop unnecessary hashbang line. + * test/auto.py: Filter out bogus errors about missing files which current + Python 3 distutils spews out. + * test/auto.py, Use python{,3}-{pkg-resources,httplib2} as + external test modules instead of -xdg and -dateutil, since the latter are + not available for Python 3 yet. + +Changelog to 2.20 + + [Didier Roche ] + * build_i18n.py: add support for LINGUAS (Siegfried Gevatter) (LP: #510957) + +[ Martin Pitt ] +* debian/local/python-mkdebian: Make langpack.mk include optional, as it + only exists in Ubuntu, not Debian. (Closes: #589802) +* debian/local/python-mkdebian: If we are on Debian, set upload target to + "unstable". (Closes: #589794) + +changelog to 2.19 + + * auto.py: Also recognize Qt .ui files if they start with an "