[packages/python3-ezgb] - new

qboosh qboosh at pld-linux.org
Sun Nov 1 10:38:03 CET 2026


commit b3786630d9edc3e6d6140f1fe67842556e75bde0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 1 10:38:47 2026 +0100

    - new

 python3-ezgb.spec | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)
---
diff --git a/python3-ezgb.spec b/python3-ezgb.spec
new file mode 100644
index 0000000..1040f3d
--- /dev/null
+++ b/python3-ezgb.spec
@@ -0,0 +1,94 @@
+#
+# Conditional build:
+%bcond_without	doc	# Sphinx documentation
+%bcond_without	tests	# unit tests
+
+Summary:	Easy git-bug for Python
+Summary(pl.UTF-8):	Prosta biblioteka git-bug dla Pythona
+Name:		python3-ezgb
+Version:	0.2.1
+Release:	1
+License:	GPL v2+
+Group:		Libraries/Python
+Source0:	https://www.kernel.org/pub/software/devel/ezgb/ezgb-%{version}.tar.xz
+# Source0-md5:	50dc65c8ed2e3933e9405fe1afb3f311
+URL:		https://pypi.org/project/ezgb/
+BuildRequires:	python3-build
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.10
+BuildRequires:	python3-setuptools
+BuildRequires:	python3-wheel
+%if %{with tests}
+BuildRequires:	python3-pygit2
+BuildRequires:	python3-pytest
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+%if %{with doc}
+BuildRequires:	python3-sphinx_rtd_theme >= 2.0
+BuildRequires:	sphinx-pdg-3 >= 7.0
+%endif
+Requires:	python3-modules >= 1:3.10
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A standalone Python library for working with git-bug
+<https://github.com/git-bug/git-bug> repositories. It lets you list,
+create, query, and update bugs that are stored as native git objects -
+no external database required.
+
+%description -l pl.UTF-8
+Samodzielna biblioteka Pythona do pracy z repozytoriami git-bug
+<https://github.com/git-bug/git-bug>. Pozwala wypisywać, tworzyć,
+wyszukiwać i uaktualniać zgłoszenia błędów zapisane jako natywne
+obiekty gita - bez wymagania zewnętrznej bazy danych.
+
+%package apidocs
+Summary:	API documentation for Python ezgb module
+Summary(pl.UTF-8):	Dokumentacja API modułu Pythona ezgb
+Group:		Documentation
+
+%description apidocs
+API documentation for Python ezgb module.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API modułu Pythona ezgb.
+
+%prep
+%setup -q -n ezgb-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m pytest tests
+%endif
+
+%if %{with doc}
+sphinx-build-3 -b html docs docs/_build/html
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.rst README.md
+%{py3_sitescriptdir}/ezgb
+%{py3_sitescriptdir}/ezgb-%{version}.dist-info
+
+%if %{with doc}
+%files apidocs
+%defattr(644,root,root,755)
+%doc docs/_build/html/{_modules,_static,*.html,*.js}
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-ezgb.git/commitdiff/b3786630d9edc3e6d6140f1fe67842556e75bde0



More information about the pld-cvs-commit mailing list