forked from pool/python-oic
		
	Accepting request 695398 from home:jayvdb:django
- Activate test suite, using GitHub archive for the tests - Add missing runtime dependencies - Use fdupes and fix hashbangs - Add %license - Remove build dependency on devel OBS-URL: https://build.opensuse.org/request/show/695398 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oic?expand=0&rev=1
This commit is contained in:
		
							
								
								
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal 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
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | .osc | ||||||
							
								
								
									
										3
									
								
								oic-0.15.1.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								oic-0.15.1.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:cdde9b61c25a403843de2531d83be9fb5f7c5ce81e3aab9e71ed657dfc66de1d | ||||||
|  | size 1318339 | ||||||
							
								
								
									
										21
									
								
								python-oic.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								python-oic.changes
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Thu Apr 11 11:09:31 UTC 2019 - John Vandenberg <jayvdb@gmail.com> | ||||||
|  |  | ||||||
|  | - Activate test suite, using GitHub archive for the tests | ||||||
|  | - Add missing runtime dependencies | ||||||
|  | - Use fdupes and fix hashbangs | ||||||
|  | - Add %license | ||||||
|  | - Remove build dependency on devel | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Fri Apr  5 15:53:48 UTC 2019 - Michael Ströder <michael@stroeder.com> | ||||||
|  |  | ||||||
|  | - updated project URL | ||||||
|  | - update to 0.15.1 | ||||||
|  |   (way too many changes to be listed here) | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Fri Jul 21 19:38:37 UTC 2017 - michael@stroeder.com | ||||||
|  |  | ||||||
|  | - initial package of upstream release 0.12.0 (Python Singlespec) | ||||||
|  |  | ||||||
							
								
								
									
										82
									
								
								python-oic.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										82
									
								
								python-oic.spec
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,82 @@ | |||||||
|  | # | ||||||
|  | # spec file for package python-oic | ||||||
|  | # | ||||||
|  | # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. | ||||||
|  | # | ||||||
|  | # 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-%{**}} | ||||||
|  | %global modname oic | ||||||
|  | Name:           python-oic | ||||||
|  | Version:        0.15.1 | ||||||
|  | Release:        0 | ||||||
|  | Summary:        A complete OpenID Connect implementation in Python | ||||||
|  | License:        Apache-2.0 | ||||||
|  | Group:          Development/Languages/Python | ||||||
|  | URL:            https://github.com/OpenIDC/pyoidc | ||||||
|  | Source:         https://github.com/OpenIDC/pyoidc/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz | ||||||
|  | BuildRequires:  %{python_module Mako} | ||||||
|  | BuildRequires:  %{python_module cryptography} | ||||||
|  | BuildRequires:  %{python_module freezegun} | ||||||
|  | BuildRequires:  %{python_module future} | ||||||
|  | BuildRequires:  %{python_module ldap} | ||||||
|  | BuildRequires:  %{python_module mock} | ||||||
|  | BuildRequires:  %{python_module pyjwkest >= 1.3.6} | ||||||
|  | BuildRequires:  %{python_module pytest} | ||||||
|  | BuildRequires:  %{python_module requests} | ||||||
|  | BuildRequires:  %{python_module responses} | ||||||
|  | BuildRequires:  %{python_module setuptools} | ||||||
|  | BuildRequires:  %{python_module testfixtures} | ||||||
|  | BuildRequires:  python3-dbm | ||||||
|  | BuildRequires:  fdupes | ||||||
|  | BuildRequires:  python-rpm-macros | ||||||
|  | Requires:       python-cryptography | ||||||
|  | Requires:       python-future | ||||||
|  | Requires:       python-pycryptodomex | ||||||
|  | Requires:       python-pyjwkest >= 1.3.6 | ||||||
|  | Requires:       python-requests | ||||||
|  | Suggests:       python-Mako | ||||||
|  | Suggests:       python-ldap | ||||||
|  | BuildArch:      noarch | ||||||
|  | %ifpython3 | ||||||
|  | Requires:       python3-dbm | ||||||
|  | %endif | ||||||
|  | %python_subpackages | ||||||
|  |  | ||||||
|  | %description | ||||||
|  | This is a complete Python implementation of OpenID Connect as specified in | ||||||
|  | the OpenID Connect Core specification. And as a side effect, a complete | ||||||
|  | implementation of OAuth2.0 too. | ||||||
|  |  | ||||||
|  | %prep | ||||||
|  | %setup -q -n pyoidc-%{version} | ||||||
|  | find src -type f -exec sed -i '1 {/#!/d}' {} + | ||||||
|  |  | ||||||
|  | %build | ||||||
|  | %python_build | ||||||
|  |  | ||||||
|  | %install | ||||||
|  | %python_install | ||||||
|  | %python_expand %fdupes %{buildroot}%{$python_sitelib} | ||||||
|  |  | ||||||
|  | %check | ||||||
|  | export PYTHONPATH=src | ||||||
|  | %pytest -k 'not network' | ||||||
|  |  | ||||||
|  | %files %{python_files} | ||||||
|  | %doc README.rst | ||||||
|  | %license LICENSE.txt | ||||||
|  | %{python_sitelib}/* | ||||||
|  |  | ||||||
|  | %changelog | ||||||
		Reference in New Issue
	
	Block a user