commit 8cfd64cc582b411a04ea0699629d9e72083264095871b51d6aa080ceab5a90ff Author: Adrian Schröter Date: Fri May 3 23:09:11 2024 +0200 Sync from SUSE:SLFO:Main python-spur revision 21503a58b631910755f03ebcac626003 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/python-spur.changes b/python-spur.changes new file mode 100644 index 0000000..71b030b --- /dev/null +++ b/python-spur.changes @@ -0,0 +1,13 @@ +------------------------------------------------------------------- +Fri Dec 8 16:22:45 UTC 2023 - Dirk Müller + +- 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 + +- initial specfile for 0.3.22 +- required by locket test suite diff --git a/python-spur.spec b/python-spur.spec new file mode 100644 index 0000000..e01953b --- /dev/null +++ b/python-spur.spec @@ -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 diff --git a/spur-0.3.23-gh.tar.gz b/spur-0.3.23-gh.tar.gz new file mode 100644 index 0000000..e8b3c96 --- /dev/null +++ b/spur-0.3.23-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:613fcc44f731a041841485a52780c94490e59c353952c2c8491ec045a2e5d805 +size 17853