14
0
forked from pool/python-invoke

6 Commits

Author SHA256 Message Date
737c2bb5ed Accepting request 1317156 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1317156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-invoke?expand=0&rev=22
2025-11-12 20:41:43 +00:00
3e8a2ac7b4 - Update to 2.2.1
* [Bug] #1038: (fixed in #1040) Python 3.14 tweaked the behavior
    of fcntl to raise SystemError on buffer overflows, which our
    interpretation of termios.TIOCGWINSZ technically was (we care
    only about the first two fields in what is technically a four-
    field struct with half the fields unused). This has been fixed
    by unpacking all 4 fields and then discarding the unused fields
    during processing.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=53
2025-11-11 16:26:02 +00:00
c499b1dfba Accepting request 1300724 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-invoke?expand=0&rev=21
2025-08-22 15:46:54 +00:00
f66b0076e0 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=51
2025-08-21 08:49:23 +00:00
cd6b0d2eb3 Accepting request 1294187 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1294187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-invoke?expand=0&rev=20
2025-07-18 13:57:42 +00:00
d950798cdf - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=49
2025-07-10 13:23:07 +00:00
4 changed files with 45 additions and 10 deletions

BIN
invoke-2.2.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
invoke-2.2.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue Nov 11 14:04:44 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.2.1
* [Bug] #1038: (fixed in #1040) Python 3.14 tweaked the behavior
of fcntl to raise SystemError on buffer overflows, which our
interpretation of termios.TIOCGWINSZ technically was (we care
only about the first two fields in what is technically a four-
field struct with half the fields unused). This has been fixed
by unpacking all 4 fields and then discarding the unused fields
during processing.
-------------------------------------------------------------------
Thu Aug 21 08:47:08 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Thu Jul 10 13:21:17 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Thu Oct 19 09:31:17 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-invoke
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,10 +24,14 @@
%define psuffix %{nil}
%bcond_with test
%endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-invoke%{psuffix}
Version: 2.2.0
Version: 2.2.1
Release: 0
Summary: Pythonic Task Execution
License: BSD-2-Clause
@@ -44,9 +48,14 @@ BuildRequires: python-rpm-macros
Requires: python-PyYAML
Requires: python-fluidity-sm
Requires: python-lexicon
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%if %{with test}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module fluidity-sm}
@@ -78,6 +87,7 @@ rm -fr invoke/vendor/*
%python_clone -a %{buildroot}%{_bindir}/inv
%python_clone -a %{buildroot}%{_bindir}/invoke
%python_group_libalternatives inv invoke
%endif
%if %{with test}
@@ -96,11 +106,14 @@ skiptests+=" or may_be_overridden_when_pty_True or uses_execve_for_pty_True or s
%endif
%post
%{python_install_alternative inv invoke}
%python_install_alternative inv invoke
%postun
%python_uninstall_alternative inv
%pre
%python_libalternatives_reset_alternative inv
%if !%{with test}
%files %{python_files}
%license LICENSE