forked from pool/python-pyforgejo
Accepting request 1269231 from home:rrahl0
- update to 2.0.1: * update pyproject.toml * regenerate client * format tests * add test for repoGetContents endpoint * switch from conda to uv * switch to OpenAPI 3 in dev * add API specs * update api resources * update dev steps * use different production and testing tokens * add POST tests * update pyproject format * format with ruff * update ruff settings * add tests * update install guidance * mention 1.0 branch * update client to Forgejo 10 * update development guidance * update formatting of .env block * update formatting of api token in .env file * add lock file * add dev dependencies * update readme for 2.0 OBS-URL: https://build.opensuse.org/request/show/1269231 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyforgejo?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
da3c8c6ce5
commit
5488cf17fc
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyforgejo
|
||||
Version: 2.0.0
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Summary: A client library for accessing the Forgejo API
|
||||
License: MIT
|
||||
@@ -26,10 +26,12 @@ URL: https://codeberg.org/harabat/pyforgejo
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/pyforgejo/pyforgejo-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module httpx >= 0.20}
|
||||
BuildRequires: %{python_module isort}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core >= 1.0.0}
|
||||
BuildRequires: %{python_module pydantic >= 2.9.2}
|
||||
BuildRequires: %{python_module python-dotenv}
|
||||
BuildRequires: %{python_module poetry-core >= 2.0.0}
|
||||
BuildRequires: %{python_module pydantic >= 2.11.2}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-dotenv >= 1.1.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -72,7 +74,7 @@ try to be compatible with gitea.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# no tests at this point
|
||||
#tests need internet
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user