public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-gitlab] epel10: Add autocompletion, graphql and yaml sub packages
@ 2026-07-06 11:14 Steve Traylen
0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-07-06 11:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-gitlab
Branch : epel10
Commit : ea3f19db3206881df16aedcbd45ee7767c3281cf
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-07-06T12:54:02+02:00
Stats : +21/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-gitlab/c/ea3f19db3206881df16aedcbd45ee7767c3281cf?branch=epel10
Log:
Add autocompletion, graphql and yaml sub packages
- Add CHANGLOG.md to package
---
diff --git a/python-gitlab.spec b/python-gitlab.spec
index 889bb69..3b16a09 100644
--- a/python-gitlab.spec
+++ b/python-gitlab.spec
@@ -13,23 +13,34 @@ BuildArch: noarch
BuildRequires: python3-devel
+
%description
Interact with GitLab API
+
%package -n python3-%{pypi_name}
Summary: %{summary}
+
%description -n python3-%{pypi_name}
Interact with GitLab API
+
%package -n python-%{pypi_name}-doc
Summary: Python gitlab documentation
%description -n python-%{pypi_name}-doc
Documentation for gitlab
+
+%pyproject_extras_subpkg -n python3-%{pypi_name} yaml graphql autocompletion
+
+
%prep
%autosetup -p1 -n python_%{pypi_name}-%{version}
+# https://github.com/python-gitlab/python-gitlab/pull/3411
+sed -i 's/argcomplete>=1.10.0,<3/argcomplete>=1.10.0,<4/' pyproject.toml
+
# Relax some dependencies
sed -i 's/requests==2.*/requests>=2.32.0,<3.0/' requirements.txt
sed -i 's/requests-toolbelt==.*/requests-toolbelt/' requirements.txt
@@ -51,26 +62,33 @@ sed -i 's/anyio==.*/anyio/' requirements-test.txt
sed -i 's/anyio==4.*/anyio>=4.0.0,<5.0/' requirements-test.txt
# not available in rawhide 11 Aug 2022
-sed -i 's/pytest-console-scripts.*//' requirements-test.txt
sed -i 's/pytest-github-actions-annotate-failures.*//' requirements-test.txt
+sed -i 's/pytest-cov.*//' requirements-test.txt
+sed -i 's/coverage.*//' requirements-test.txt
+
+
%generate_buildrequires
%pyproject_buildrequires -t
+
%build
%pyproject_wheel
%install
%pyproject_install
-%pyproject_save_files gitlab
+%pyproject_save_files -l gitlab
+
%check
%tox
+
%files -n python3-%{pypi_name} -f %{pyproject_files}
%{_bindir}/gitlab
-%doc README.rst
+%doc README.rst CHANGELOG.md
+
%changelog
%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-06 11:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 11:14 [rpms/python-gitlab] epel10: Add autocompletion, graphql and yaml sub packages Steve Traylen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox