From 3c0d83fb5b3d3b4973ae4b32f17e91c28987fb9e7f8eee50097be34841dad081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 17 Aug 2021 12:18:36 +0000 Subject: [PATCH] Accepting request 911089 from home:eroca May I introduce you python-oktaloginwrapper! OBS-URL: https://build.opensuse.org/request/show/911089 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oktaloginwrapper?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + OktaLoginWrapper-0.2.2.tar.gz | 3 ++ _service | 3 ++ python-oktaloginwrapper.changes | 7 +++++ python-oktaloginwrapper.spec | 52 +++++++++++++++++++++++++++++++++ 6 files changed, 89 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 OktaLoginWrapper-0.2.2.tar.gz create mode 100644 _service create mode 100644 python-oktaloginwrapper.changes create mode 100644 python-oktaloginwrapper.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.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 +*.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..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/OktaLoginWrapper-0.2.2.tar.gz b/OktaLoginWrapper-0.2.2.tar.gz new file mode 100644 index 0000000..5153ae1 --- /dev/null +++ b/OktaLoginWrapper-0.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ab7d9af12fda038179904aa9c12e74eda95ebe7c537c53abe2661a51ffbd186 +size 5791 diff --git a/_service b/_service new file mode 100644 index 0000000..5c85103 --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/python-oktaloginwrapper.changes b/python-oktaloginwrapper.changes new file mode 100644 index 0000000..9221bb8 --- /dev/null +++ b/python-oktaloginwrapper.changes @@ -0,0 +1,7 @@ +------------------------------------------------------------------- +Mon Aug 9 17:50:25 UTC 2021 - Elisei Roca - 0.2.2 + +- initial commit of OktaLoginWrapper 0.2.2 + * Python 3 only + * Upstream repo is a fork (original repo is archived) + diff --git a/python-oktaloginwrapper.spec b/python-oktaloginwrapper.spec new file mode 100644 index 0000000..850a4d4 --- /dev/null +++ b/python-oktaloginwrapper.spec @@ -0,0 +1,52 @@ +# +# spec file for package python-oktaloginwrapper +# +# 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/ +# + + +%define skip_python2 1 +Name: python-oktaloginwrapper +Version: 0.2.2 +Release: 0 +Summary: Okta login made easy without API token +License: MIT +Group: Development/Languages/Python +URL: https://github.com/eliroca/OktaLoginWrapper +Source: https://github.com/eliroca/OktaLoginWrapper/archive/%{version}.tar.gz#/OktaLoginWrapper-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +Requires: python-lxml +Requires: python-requests +BuildArch: noarch +%python_subpackages + +%description +Provide an easy way for your scripts to access resources behind an Okta SSO solution, without the need for an API token. + +%prep +%setup -q -n OktaLoginWrapper-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%{python_sitelib}/* + +%changelog