Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 95f8ba9028938d0995d7b9c0341bb7ed > files > 2

gi-docgen-2023.1-1.mga9.src.rpm

# mypy too old?
%bcond_with check

Name:		gi-docgen
Version:	2023.1
Release:	%mkrel 1
Summary:	Documentation tool for GObject-based libraries
Group:		Development/Python
License:        (ASL 2.0 or GPLv3+) and MIT and CC0
Url:		https://gitlab.gnome.org/GNOME/gi-docgen
Source0:	https://gitlab.gnome.org/GNOME/gi-docgen/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch:	noarch

BuildRequires:	meson
BuildRequires:	python3-setuptools
BuildRequires:	python3-jinja2
BuildRequires:	python3-markdown
BuildRequires:	python3-markupsafe
BuildRequires:	python3-pygments
BuildRequires:	python3-toml
BuildRequires:	python3-typogrify
BuildRequires:	python3-wheel
BuildRequires:	python3dist(pytest)

%description
GI-DocGen is a document generator for GObject-based libraries. GObject is
the base type system of the GNOME project. GI-Docgen reuses the
introspection data generated by GObject-based libraries to generate the API
reference of these libraries, as well as other ancillary documentation.

%prep
%autosetup

%build
%py3_build

%install
%py3_install

%if %{with check}
%check
#export PYTHONPATH=%%{buildroot}%%{python3_sitelib}
#%%meson_test
%pytest
%endif

%files
%doc README.md
%license LICENSES/*.txt .reuse/dep5
%{_bindir}/%{name}
%{_datadir}/pkgconfig/gi-docgen.pc
%{_mandir}/man1/%{name}.1.*
%{python3_sitelib}/gidocgen/
%{python3_sitelib}/gi_docgen-%{version}-py%{python3_version}.egg-info/


%changelog
* Wed Jan 25 2023 daviddavid <daviddavid> 2023.1-1.mga9
+ Revision: 1936152
- new version: 2023.1

* Sun Nov 13 2022 daviddavid <daviddavid> 2022.2-1.mga9
+ Revision: 1906809
- new version: 2022.2

* Sat Mar 19 2022 tv <tv> 2022.1-1.mga9
+ Revision: 1800411
- Update to 2022.1

* Sat Feb 12 2022 tv <tv> 2021.8-2.mga9
+ Revision: 1773513
- Rebuild for python-3.10

* Thu Jan 13 2022 tv <tv> 2021.8-1.mga9
+ Revision: 1768234
- 2021.8
- new URL

* Sat Mar 27 2021 daviddavid <daviddavid> 2021.3-1.mga9
+ Revision: 1711068
- new version: 2021.3 (based on master from git20210324)

* Fri Mar 26 2021 daviddavid <daviddavid> 2021.2-1.mga9
+ Revision: 1710728
- initial package gi-docgen