File python-hdbcli.spec of Package python-hdbcli

#
# spec file for package python-hdbcli
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           python-hdbcli
Version:        2.27.24
Release:        0
Summary:        SAP HANA Python Client
# SAP DEVELOPER LICENSE AGREEMENT
License:        SUSE-NonFree
URL:            https://www.sap.com/
# https://pypi.org/project/hdbcli/
#Source:         https://files.pythonhosted.org/packages/26/h/hdbcli/hdbcli-%{version}-cp38-abi3-manylinux2014_x86_64.whl
Source:         https://files.pythonhosted.org/packages/2a/00/b22b1a54c0fa49154c7bbe050e56c59c69de671936f2fdba9042a87e6c9f/hdbcli-%{version}-cp38-abi3-manylinux2014_x86_64.whl
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module wheel}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
ExclusiveArch:  x86_64
%python_subpackages

%description
SAP HANA Python Client implements PEP 249.

In PEP 249, autocommit is turned off by default. In the SAP HANA Python driver, autocommit is turned on by default.

The HANA Python Client is provided via the `SAP Developer License Agreement <https://tools.hana.ondemand.com/developer-license-3_1.txt>`_.

By using this software, you agree that the following text is incorporated into the terms of the Developer Agreement:

If you are an existing SAP customer for On Premise software, your use of this current software is also covered by the
terms of your software license agreement with SAP, including the Use Rights, the current version of which can be found at:
`https://www.sap.com/about/agreements/product-use-and-support-terms.html?tag=agreements:product-use-support-terms/on-premise-software/software-use-rights <https://www.sap.com/about/agreements/product-use-and-support-terms.html?tag=agreements:product-use-support-terms/on-premise-software/software-use-rights>`_

%prep
cp %{SOURCE0} .

%build

%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}

%files %{python_files}
%{python_sitearch}/hdbcli
%{python_sitearch}/hdbcli-%{version}*-info
%{python_sitearch}/pyhdbcli.abi3.so

%changelog
openSUSE Build Service is sponsored by