commit 8569713278669fcf74eac10fdbc20248b7815800f0196f432aebf6ad66f9d42c Author: Tomáš Chvátal Date: Thu Apr 18 07:47:33 2019 +0000 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 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/oic-0.15.1.tar.gz b/oic-0.15.1.tar.gz new file mode 100644 index 0000000..105944f --- /dev/null +++ b/oic-0.15.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdde9b61c25a403843de2531d83be9fb5f7c5ce81e3aab9e71ed657dfc66de1d +size 1318339 diff --git a/python-oic.changes b/python-oic.changes new file mode 100644 index 0000000..9ac3c1d --- /dev/null +++ b/python-oic.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Thu Apr 11 11:09:31 UTC 2019 - John Vandenberg + +- 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 + +- 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) + diff --git a/python-oic.spec b/python-oic.spec new file mode 100644 index 0000000..6c719d9 --- /dev/null +++ b/python-oic.spec @@ -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