commit bb970fbbe8bafeee29f582f431759880d0f0b6d477bf48b1eb95b7fa7804cbad Author: Tomáš Chvátal Date: Mon Apr 30 13:36:56 2018 +0000 osc copypac from project:devel:languages:python:misc package:python-PyBrowserID revision:1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyBrowserID?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/PyBrowserID-0.14.0.tar.gz b/PyBrowserID-0.14.0.tar.gz new file mode 100644 index 0000000..4b1599f --- /dev/null +++ b/PyBrowserID-0.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c227669e87cc25796ae76f6a0ef65025528c8ad82d352679fa9a3e5663a71e3 +size 36566 diff --git a/python-PyBrowserID.changes b/python-PyBrowserID.changes new file mode 100644 index 0000000..c4d99ee --- /dev/null +++ b/python-PyBrowserID.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Fri Jan 12 06:31:48 UTC 2018 - antoine.belvire@opensuse.org + +- Update to version 0.14.0: + * Silence warnings about assertion format changes, since there's + now no risk of this. + +------------------------------------------------------------------- +Wed Dec 20 06:23:43 UTC 2017 - antoine.belvire@opensuse.org + +- Update to version 0.13.0: + * Use LocalVerifier by default, now that the hosted verifier + has shut down. + +------------------------------------------------------------------- +Sat Dec 2 11:08:00 UTC 2017 - antoine.belvire@opensuse.org + +- Initial package: python-PyBrowserID 0.12.0 + diff --git a/python-PyBrowserID.spec b/python-PyBrowserID.spec new file mode 100644 index 0000000..792b477 --- /dev/null +++ b/python-PyBrowserID.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-PyBrowserID +# +# Copyright (c) 2017-2018 The openSUSE Project. +# +# 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 http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test +Name: python-PyBrowserID +Version: 0.14.0 +Release: 0 +Summary: Python library for the BrowserID Protocol +License: MPL-2.0 +Group: Development/Languages/Python +Url: https://github.com/mozilla/PyBrowserID +Source: https://files.pythonhosted.org/packages/source/P/PyBrowserID/PyBrowserID-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-requests +BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module requests} +%endif +%python_subpackages + +%description +This is a python client library for the BrowserID protocol that underlies +Mozilla Persona. + +%prep +%setup -q -n PyBrowserID-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_exec setup.py test +%endif + +%files %{python_files} +%doc CHANGES.txt README.rst +%{python_sitelib}/* + +%changelog