Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 34772a4f0c | |||
| e20e662679 | |||
| 102b7a44f6 | |||
| a8ebab0162 |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 13 05:35:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 11 13:34:27 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Add sphinx8.patch to support sphinx8
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 25 21:00:19 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Mon Jul 25 21:00:19 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-atomicwrites
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -32,7 +32,11 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/untitaker/python-atomicwrites
|
URL: https://github.com/untitaker/python-atomicwrites
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/atomicwrites/atomicwrites-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/atomicwrites/atomicwrites-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-OPENSUSE sphinx8.patch -- daniel.garcia@suse.com
|
||||||
|
Patch0: sphinx8.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -54,7 +58,7 @@ Features that distinguish it from other similar libraries:
|
|||||||
- High-level API that wraps a very flexible class-based API.
|
- High-level API that wraps a very flexible class-based API.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n atomicwrites-%{version}
|
%autosetup -p1 -n atomicwrites-%{version}
|
||||||
rm -rf atomicwrites.egg-info
|
rm -rf atomicwrites.egg-info
|
||||||
|
|
||||||
%if %{with doc}
|
%if %{with doc}
|
||||||
@@ -77,7 +81,7 @@ of python-atomicwrites
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{without doc}
|
%if %{without doc}
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
%else
|
%else
|
||||||
pushd docs
|
pushd docs
|
||||||
make html
|
make html
|
||||||
@@ -87,7 +91,7 @@ popd
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%if %{without doc}
|
%if %{without doc}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -101,7 +105,8 @@ popd
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/atomicwrites*
|
%{python_sitelib}/atomicwrites
|
||||||
|
%{python_sitelib}/atomicwrites-%{version}.dist-info
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
|
|||||||
10
sphinx8.patch
Normal file
10
sphinx8.patch
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Index: atomicwrites-1.4.1/docs/conf.py
|
||||||
|
===================================================================
|
||||||
|
--- atomicwrites-1.4.1.orig/docs/conf.py
|
||||||
|
+++ atomicwrites-1.4.1/docs/conf.py
|
||||||
|
@@ -105,4 +105,4 @@ epub_copyright = '2015, Markus Unterwadi
|
||||||
|
epub_exclude_files = ['search.html']
|
||||||
|
|
||||||
|
# Example configuration for intersphinx: refer to the Python standard library.
|
||||||
|
-intersphinx_mapping = {'http://docs.python.org/': None}
|
||||||
|
+intersphinx_mapping = {'python': ('http://docs.python.org/', None)}
|
||||||
Reference in New Issue
Block a user