Accepting request 955104 from devel:languages:python
- remove shebang from distro.py - update to version 1.7.0: - BACKWARD COMPATIBILITY: - Dropped support for EOL Pythons 2.7, 3.4 and 3.5 [[#281](https://github.com/python-distro/distro/pull/281)] - Dropped support for LSB and `uname` back-ends when `--root-dir` is specified [[#311](https://github.com/python-distro/distro/pull/311)] - Moved `distro.py` to `src/distro/distro.py` [[#315](https://github.com/python-distro/distro/pull/315)] - ENHANCEMENTS: - Documented that `distro.version()` can return an empty string on rolling releases [[#312](https://github.com/python-distro/distro/pull/312)] - Documented support for Python 3.10 [[#316](https://github.com/python-distro/distro/pull/316)] - Added official support for Rocky Linux distribution [[#318](https://github.com/python-distro/distro/pull/318)] - Added a shebang to `distro.py` to allow standalone execution [[#313](https://github.com/python-distro/distro/pull/313)] - Added support for AIX platforms [[#311](https://github.com/python-distro/distro/pull/311)] - Added compliance for PEP-561 [[#315](https://github.com/python-distro/distro/pull/315)] - BUG FIXES: - Fixed `include_uname` parameter oversight [[#305](https://github.com/python-distro/distro/pull/305)] - Fixed crash when `uname -rs` output is empty [[#304](https://github.com/python-distro/distro/pull/304)] - Fixed Amazon Linux identifier in `distro.id()` documentation [[#318](https://github.com/python-distro/distro/pull/318)] - Fixed OpenSuse >= 15 support [[#319](https://github.com/python-distro/distro/pull/319)] - Fixed encoding issues when opening distro release files [[#324](https://github.com/python-distro/distro/pull/324)] - Fixed `linux_distribution` regression introduced in [[#230](https://github.com/python-distro/distro/pull/230)] [[#325](https://github.com/python-distro/distro/pull/325)] OBS-URL: https://build.opensuse.org/request/show/955104 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=16
This commit is contained in:
commit
480dd55110
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:83f5e5a09f9c5f68f60173de572930effbcc0287bb84fdc4426cb4168c088424
|
||||
size 53518
|
3
distro-1.7.0.tar.gz
Normal file
3
distro-1.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:151aeccf60c216402932b52e40ee477a939f8d58898927378a02abbe852c1c39
|
||||
size 58164
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 15 19:13:51 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- remove shebang from distro.py
|
||||
- update to version 1.7.0:
|
||||
- BACKWARD COMPATIBILITY:
|
||||
- Dropped support for EOL Pythons 2.7, 3.4 and 3.5 [[#281](https://github.com/python-distro/distro/pull/281)]
|
||||
- Dropped support for LSB and `uname` back-ends when `--root-dir` is specified [[#311](https://github.com/python-distro/distro/pull/311)]
|
||||
- Moved `distro.py` to `src/distro/distro.py` [[#315](https://github.com/python-distro/distro/pull/315)]
|
||||
- ENHANCEMENTS:
|
||||
- Documented that `distro.version()` can return an empty string on rolling releases [[#312](https://github.com/python-distro/distro/pull/312)]
|
||||
- Documented support for Python 3.10 [[#316](https://github.com/python-distro/distro/pull/316)]
|
||||
- Added official support for Rocky Linux distribution [[#318](https://github.com/python-distro/distro/pull/318)]
|
||||
- Added a shebang to `distro.py` to allow standalone execution [[#313](https://github.com/python-distro/distro/pull/313)]
|
||||
- Added support for AIX platforms [[#311](https://github.com/python-distro/distro/pull/311)]
|
||||
- Added compliance for PEP-561 [[#315](https://github.com/python-distro/distro/pull/315)]
|
||||
- BUG FIXES:
|
||||
- Fixed `include_uname` parameter oversight [[#305](https://github.com/python-distro/distro/pull/305)]
|
||||
- Fixed crash when `uname -rs` output is empty [[#304](https://github.com/python-distro/distro/pull/304)]
|
||||
- Fixed Amazon Linux identifier in `distro.id()` documentation [[#318](https://github.com/python-distro/distro/pull/318)]
|
||||
- Fixed OpenSuse >= 15 support [[#319](https://github.com/python-distro/distro/pull/319)]
|
||||
- Fixed encoding issues when opening distro release files [[#324](https://github.com/python-distro/distro/pull/324)]
|
||||
- Fixed `linux_distribution` regression introduced in [[#230](https://github.com/python-distro/distro/pull/230)] [[#325](https://github.com/python-distro/distro/pull/325)]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 19 05:31:21 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-distro
|
||||
#
|
||||
# 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
|
||||
@ -20,7 +20,7 @@
|
||||
%{!?license: %global license %doc}
|
||||
%bcond_without test
|
||||
Name: python-distro
|
||||
Version: 1.6.0
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: Linux Distribution - a Linux OS platform information API
|
||||
License: Apache-2.0
|
||||
@ -47,6 +47,8 @@ It is a renewed alternative implementation for Python's original platform.linux_
|
||||
|
||||
%prep
|
||||
%setup -q -n distro-%{version}
|
||||
# remove shebang. Has been added by upstream intentionally: https://github.com/python-distro/distro/commit/8032f16a1082ff72471c13ff665f3ad9c929f3b0
|
||||
sed -i '1{/\/usr\/bin\/env python/d;}' src/distro/distro.py
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
|
Loading…
x
Reference in New Issue
Block a user