Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-atomicwrites revision e17321aed0f003283a799c88f497f3f8

This commit is contained in:
Adrian Schröter 2024-07-12 12:15:59 +02:00
commit f0e25641f7
4 changed files with 161 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

BIN
atomicwrites-1.1.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,66 @@
-------------------------------------------------------------------
Mon Apr 4 12:25:43 UTC 2022 - Victor Zhestkov <victor.zhestkov@suse.com>
- Strictly require Python 3.10 with saltbundlepy requrement
-------------------------------------------------------------------
Sun Jun 10 23:51:43 UTC 2018 - jengelh@inai.de
- Drop other-OS mentions from description.
-------------------------------------------------------------------
Thu Jun 7 17:16:00 UTC 2018 - toddrme2178@gmail.com
- Create separate -doc subpackage to build docs.
- Run tests in -doc subpackage to avoid dependency loop with
python-pytest.
- Use license tag
-------------------------------------------------------------------
Fri Jun 30 16:49:02 UTC 2017 - aloisio@gmx.com
- Converted to single-spec
-------------------------------------------------------------------
Wed Sep 21 02:05:33 UTC 2016 - arun@gmx.de
- update to version 1.1.5:
* Fix toxfile (#21)
* Make atomic_write work on paths with no directory separator (#20)
* Fix formatting
* Skip stylecheck under py26
* Add contributing.rst
* Fix tox.ini
-------------------------------------------------------------------
Sun May 8 07:16:22 UTC 2016 - arun@gmx.de
- specfile:
* updated source url to files.pythonhosted.org
-------------------------------------------------------------------
Sat Mar 26 04:20:01 UTC 2016 - arun@gmx.de
- update to version 1.0.0:
* Fix unintentional exception clobbering when rollback fails
* Remove unused variable (fixes an unused variable warning)
* Update copyright notice
* Fix appveyor build
-------------------------------------------------------------------
Mon Feb 15 18:11:26 UTC 2016 - arun@gmx.de
- update to version 0.1.9:
* Fix UnboundLocalError
-------------------------------------------------------------------
Tue Jan 19 11:45:45 UTC 2016 - sleep_walker@opensuse.org
- clean the spec file (not only) with spec-cleaner
- fix %check part
-------------------------------------------------------------------
Mon Jan 18 23:25:46 UTC 2016 - sleep_walker@opensuse.org
- let there be python3-atomicwrites

View File

@ -0,0 +1,69 @@
#
# spec file for package saltbundlepy-atomicwrites
#
# Copyright (c) 2021 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/
#
%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}}
%define pythons saltbundlepy
# Disable python bytecompile for all distros
# It's called explicitly in the spec
%global __brp_python_bytecompile %{nil}
Name: saltbundlepy-atomicwrites
Version: 1.1.5
Release: 0
Summary: Atomic file writes for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/untitaker/python-atomicwrites
Source: https://files.pythonhosted.org/packages/source/a/atomicwrites/atomicwrites-%{version}.tar.gz
BuildRequires: %{saltbundlepy_module devel >= 3.10}
BuildRequires: %{saltbundlepy_module setuptools}
BuildRequires: fdupes
BuildRequires: saltbundlepy-rpm-macros
Requires: saltbundlepy-base
BuildArch: noarch
%python_subpackages
%description
Atomic file writes for python3.
Features that distinguish it from other similar libraries:
- Race-free assertion that the target file doesn't yet exist. This can be
controlled with the 'overwrite' parameter.
- High-level API that wraps a very flexible class-based API.
%prep
%setup -q -n atomicwrites-%{version}
rm -rf atomicwrites.egg-info
%build
%python_build
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog