osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python-marshmallow revision:8, using keep-link, using expand

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=45
This commit is contained in:
Dirk Mueller 2023-05-25 15:55:48 +00:00 committed by Git OBS Bridge
parent 6a1c6432c4
commit c9c24c94e0
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 23 23:12:16 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Switch documentation to be within the main package.
-------------------------------------------------------------------
Fri Apr 21 12:28:05 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -57,18 +57,20 @@ BuildRequires: %{python_module simplejson}
# /SECTION
%python_subpackages
%description
marshmallow is an ORM/ODM/framework-agnostic library for converting complex
datatypes, such as objects, to and from native Python datatypes.
%if 0%{?suse_version} > 1500
%package -n %{name}-doc
Summary: Documentation files for %{name}
Group: Documentation/Other
Provides: %{name}-docs = %{version}
Obsoletes: %{name}-docs < %{version}
%description
marshmallow is an ORM/ODM/framework-agnostic library for converting complex
datatypes, such as objects, to and from native Python datatypes.
%description -n %{name}-doc
HTML Documentation and examples for %{name}.
%endif
%prep
%setup -q -n marshmallow-%{version}
@ -91,7 +93,9 @@ rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees
%license LICENSE NOTICE
%{python_sitelib}/*
%if 0%{?suse_version} > 1500
%files -n %{name}-doc
%endif
%doc examples docs/_build/html/
%changelog