15
0

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
This commit is contained in:
2021-08-17 12:18:36 +00:00
committed by Git OBS Bridge
commit 3c0d83fb5b
6 changed files with 89 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ab7d9af12fda038179904aa9c12e74eda95ebe7c537c53abe2661a51ffbd186
size 5791

3
_service Normal file
View File

@@ -0,0 +1,3 @@
<services>
<service mode="disabled" name="download_files" />
</services>

View File

@@ -0,0 +1,7 @@
-------------------------------------------------------------------
Mon Aug 9 17:50:25 UTC 2021 - Elisei Roca <eroca@suse.com> - 0.2.2
- initial commit of OktaLoginWrapper 0.2.2
* Python 3 only
* Upstream repo is a fork (original repo is archived)

View File

@@ -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