File python-microsoft-kiota-abstractions.spec of Package python-microsoft-kiota-abstractions

%{?vortex_header}%{!?vortex_header:%global vortex_pkg vortex-2025-12}


Name:           %{vortex_pkg}-python-microsoft-kiota-abstractions
Version:        1.9.8
Release:        %autorelease
Summary:        The Microsoft Kiota abstractions library for Python is the python package defining the basic constructs Kiota projects need once an SDK has been generated from an OpenAPI definition.
License:        MIT
URL: 		https://github.com/microsoft/kiota-python

Source:         %{url}/archive/kiota-python-microsoft-kiota-abstractions-v%{version}.tar.gz

BuildArch:      noarch

BuildRequires:  pyproject-rpm-macros
BuildRequires:  %{vortex_pkg}-python3-devel
BuildRequires:  %{vortex_pkg}-python3-pip
BuildRequires:  %{vortex_pkg}-python3-setuptools
BuildRequires:  %{vortex_pkg}-python3-setuptools
BuildRequires:  %{vortex_pkg}-python3-poetry-core
BuildRequires:  %{vortex_pkg}-python3-opentelemetry-api
BuildRequires:  %{vortex_pkg}-python3-opentelemetry-sdk
BuildRequires:  %{vortex_pkg}-python3-std-uritemplate



%description
The Microsoft Kiota abstractions library for Python is the python package defining the basic constructs Kiota projects need once an SDK has been generated from an OpenAPI definition.

%package -n %{vortex_pkg}-python3-microsoft-kiota-abstractions
Summary:        %{summary}

%description -n %{vortex_pkg}-python3-microsoft-kiota-abstractions
The Microsoft Kiota abstractions library for Python is the python package defining the basic constructs Kiota projects need once an SDK has been generated from an OpenAPI definition.


%prep
%autosetup -n kiota-python-microsoft-kiota-abstractions-v%{version}/packages/abstractions

%generate_buildrequires
%pyproject_buildrequires

%build
%pyproject_wheel

%install
%pyproject_install
%pyproject_save_files kiota_abstractions


%files -n %{vortex_pkg}-python3-microsoft-kiota-abstractions -f %{pyproject_files}


openSUSE Build Service is sponsored by