Bump to python3-atomicwrites 1.2.1 accepted/tizen_9.0_unified accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x accepted/tizen_unified_x_asan sandbox/backup/python3-atomicwrites_1.2.1_20231222 tizen tizen_9.0 accepted/tizen/9.0/unified/20241030.232653 accepted/tizen/unified/20240627.103525 accepted/tizen/unified/dev/20240701.072552 accepted/tizen/unified/toolchain/20240812.130455 accepted/tizen/unified/x/20240627.090140 accepted/tizen/unified/x/asan/20240813.224814 tizen_9.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Apr 2021 05:46:03 +0000 (14:46 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Apr 2021 05:46:03 +0000 (14:46 +0900)
packaging/python3-atomicwrites.manifest [new file with mode: 0644]
packaging/python3-atomicwrites.spec [new file with mode: 0644]

diff --git a/packaging/python3-atomicwrites.manifest b/packaging/python3-atomicwrites.manifest
new file mode 100644 (file)
index 0000000..86dbb26
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+    <request>
+        <domain name="_" />
+    </request>
+</manifest>
diff --git a/packaging/python3-atomicwrites.spec b/packaging/python3-atomicwrites.spec
new file mode 100644 (file)
index 0000000..3fbaed2
--- /dev/null
@@ -0,0 +1,47 @@
+Name:       python3-atomicwrites 
+Summary:    Atomic file writes for Python
+Version:    1.2.1 
+Release:    0
+License:    MIT
+Group:      Development/Languages/Python
+Source0:    %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+%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
+cp %{SOURCE1001} .
+
+%build
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%clean  
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%license LICENSE 
+%{python3_sitelib}/atomicwrites-%{version}-py%{python3_version}.egg-info/*
+%{python3_sitelib}/atomicwrites/*.py
+%{python3_sitelib}/atomicwrites/__pycache__/*.cpython-*.pyc