forked from pool/python-pymacaroons
Accepting request 672441 from home:ecsos:messenger:matrix
- initial version 0.13.0 OBS-URL: https://build.opensuse.org/request/show/672441 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymacaroons?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
python-pymacaroons-0.13.0.tar.gz
Normal file
3
python-pymacaroons-0.13.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:780c67643126afe56f57fdc0f82b952d08e01a4df7eefaa929766dfb6edf6580
|
||||||
|
size 25607
|
4
python-pymacaroons.changes
Normal file
4
python-pymacaroons.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 6 16:52:14 UTC 2019 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
- initial version 0.13.0
|
85
python-pymacaroons.spec
Normal file
85
python-pymacaroons.spec
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pymacaroons
|
||||||
|
#
|
||||||
|
# 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 http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
|
Name: python-pymacaroons
|
||||||
|
Version: 0.13.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Macaroon library for Python
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/ecordell/pymacaroons
|
||||||
|
Source: https://github.com/ecordell/pymacaroons/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module PyNaCl >= 1.1.2}
|
||||||
|
BuildRequires: %{python_module PyNaCl < 2.0}
|
||||||
|
#BuildRequires: %%{python_module bumpversion}
|
||||||
|
BuildRequires: %{python_module python-coveralls >= 2.4.2}
|
||||||
|
BuildRequires: %{python_module cffi}
|
||||||
|
BuildRequires: %{python_module coverage}
|
||||||
|
BuildRequires: %{python_module hypothesis}
|
||||||
|
BuildRequires: %{python_module mock}
|
||||||
|
BuildRequires: %{python_module nose}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module Sphinx >= 1.2.3}
|
||||||
|
BuildRequires: %{python_module six >= 1.8.0}
|
||||||
|
BuildRequires: python-tox
|
||||||
|
##BuildRequires: %%{python_module yanc}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-PyNaCl >= 1.1.2
|
||||||
|
Requires: python-PyNaCl < 2.0
|
||||||
|
Requires: python-cffi
|
||||||
|
Requires: python-six >= 1.8.0
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Macaroons, like cookies, are a form of bearer credential.
|
||||||
|
Unlike opaque tokens, macaroons embed caveats that define
|
||||||
|
specific authorization requirements for the target service,
|
||||||
|
the service that issued the root macaroon and which is
|
||||||
|
capable of verifying the integrity of macaroons it recieves.
|
||||||
|
|
||||||
|
Macaroons allow for delegation and attenuation of authorization.
|
||||||
|
They are simple and fast to verify, and decouple authorization policy
|
||||||
|
from the enforcement of that policy.
|
||||||
|
|
||||||
|
This is a Python implementation of Macaroons.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pymacaroons-%{version}
|
||||||
|
# requires too old hypothesis
|
||||||
|
rm -f tests/property_tests/macaroon_property_tests.py
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_expand %{_bindir}/nosetests-%{$python_bin_suffix} -e test_inspect
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user