Sync from SUSE:SLFO:Main python-spur revision 21503a58b631910755f03ebcac626003

This commit is contained in:
Adrian Schröter 2024-05-03 23:09:11 +02:00
commit 8cfd64cc58
4 changed files with 99 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

13
python-spur.changes Normal file
View File

@ -0,0 +1,13 @@
-------------------------------------------------------------------
Fri Dec 8 16:22:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.3.23:
* Raise minimum Python version to 3.6.
* Handle FileNotFoundError when using subprocess on Python >=
3.8.
-------------------------------------------------------------------
Fri Jun 24 21:05:41 UTC 2022 - Ben Greiner <code@bnavigator.de>
- initial specfile for 0.3.22
- required by locket test suite

60
python-spur.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package python-spur
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-spur
Version: 0.3.23
Release: 0
Summary: Run commands and manipulate files locally or over SSH
License: BSD-2-Clause
URL: http://github.com/mwilliamson/spur.py
Source: https://github.com/mwilliamson/spur.py/archive/refs/tags/%{version}.tar.gz#/spur-%{version}-gh.tar.gz
BuildRequires: %{python_module paramiko >= 1.13.1}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-paramiko >= 1.13.1
BuildArch: noarch
%python_subpackages
%description
Run commands and manipulate files locally or over SSH using the same interface
%prep
%autosetup -p1 -n spur.py-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# TODO: denose
#
# This will be hard work, test suite heavily depends on nose.
#
# Upside: This package is used for testing python-locket from the same author,
# so the code is tested to be functional at least there.
%files %{python_files}
%doc README.rst
%{python_sitelib}/spur
%{python_sitelib}/spur-%{version}*-info
%changelog

BIN
spur-0.3.23-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.