Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos:python
python-pycognito
python-pycognito.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pycognito.spec of Package python-pycognito
# # spec file for package python-pycognito # # Copyright (c) 2024 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/ # %{?sle15_python_module_pythons} Name: python-pycognito Version: 2024.5.1 Release: 0 Summary: Python class to integrate Boto3's Cognito client License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/pvizeli/pycognito Source: https://files.pythonhosted.org/packages/source/p/pycognito/pycognito-%{version}.tar.gz Source1: https://raw.githubusercontent.com/NabuCasa/pycognito/refs/heads/master/tests.py BuildRequires: python-rpm-macros BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} # SECTION test requirements BuildRequires: %{python_module boto3 >= 1.10.49} BuildRequires: %{python_module envs >= 1.3} BuildRequires: %{python_module PyJWT >= 2.8.0} BuildRequires: %{python_module requests >= 2.22.0} BuildRequires: %{python_module pytest >= 8.2.1} BuildRequires: %{python_module freezegun >= 1.5.1} BuildRequires: %{python_module moto} BuildRequires: %{python_module joserfc} BuildRequires: %{python_module requests-mock >= 1.12.1} # /SECTION BuildRequires: fdupes Requires: python-boto3 >= 1.10.49 Requires: python-envs >= 1.3 Requires: python-PyJWT >= 2.8.0 Requires: python-requests >= 2.22.0 BuildArch: noarch %python_subpackages %description Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support. %prep %autosetup -p1 -n pycognito-%{version} install %{SOURCE1} . %build %pyproject_wheel %install %pyproject_install # Fix python-bytecode-inconsistent-mtime pushd %{buildroot}%{python_sitelib} find . -name '*.pyc' -exec rm -f '{}' ';' python%python_bin_suffix -m compileall *.py ';' popd %python_expand %fdupes %{buildroot}%{$python_sitelib} %check donttest="test_srp_requests_http_auth" %pytest -k "not ($donttest)" tests.py %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/pycognito %{python_sitelib}/pycognito-%{version}.dist-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor