From 9640502f047d6c8ee93b0eae677e3fc806d405a81ff1be249a2fd482ababe37f Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Tue, 18 Feb 2020 13:02:11 +0000 Subject: [PATCH] Accepting request 775142 from home:glaubitz:branches:devel:languages:python:azure - New Python dependency required for Azure SDK OBS-URL: https://build.opensuse.org/request/show/775142 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=1 --- .gitattributes | 24 ++++++++++++++++++ .gitignore | 4 +++ msal-1.1.0.tar.gz | 3 +++ python-msal.changes | 5 ++++ python-msal.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 97 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 msal-1.1.0.tar.gz create mode 100644 python-msal.changes create mode 100644 python-msal.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/msal-1.1.0.tar.gz b/msal-1.1.0.tar.gz new file mode 100644 index 0000000..db5957d --- /dev/null +++ b/msal-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a8df853f61a56a36332d6575a4ccae951e06145e494ad8259b4dd526b5d829a +size 41098 diff --git a/python-msal.changes b/python-msal.changes new file mode 100644 index 0000000..607824c --- /dev/null +++ b/python-msal.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Feb 18 11:18:31 UTC 2020 - John Paul Adrian Glaubitz + +- Initial build + + Version 1.1.0 diff --git a/python-msal.spec b/python-msal.spec new file mode 100644 index 0000000..3597838 --- /dev/null +++ b/python-msal.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-msal +# +# Copyright (c) 2020 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-msal +Version: 1.1.0 +Release: 0 +Summary: Microsoft Authentication Library (MSAL) for Python +License: MIT +Group: Development/Languages/Python +URL: https://github.com/AzureAD/microsoft-authentication-library-for-python +Source: https://files.pythonhosted.org/packages/source/m/msal/msal-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-PyJWT >= 1.0.0 +Requires: python-requests >= 2.0.0 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module PyJWT >= 1.0.0} +BuildRequires: %{python_module requests >= 2.0.0} +# /SECTION +%python_subpackages + +%description +The Microsoft Authentication Library (MSAL) for Python library enables your app +to access the Microsoft Cloud by supporting authentication of users with Microsoft +Azure Active Directory accounts (AAD) and Microsoft Accounts (MSA) using industry +standard OAuth2 and OpenID Connect. + +%prep +%setup -q -n msal-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.md +%{python_sitelib}/* + +%changelog