Репозиторий Sisyphus
Последнее обновление: 17 октября 2019 | Пакетов: 17500 | Посещений: 15286688
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-pymacaroons-pynacl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_without check
%def_with python3

%define modulename pymacaroons-pynacl
Name: python-module-pymacaroons-pynacl
Version: 0.9.3
Release: alt1

Summary: Library providing non-opaque cookies for authorization

Url: https://github.com/matrix-org/pymacaroons
License: MIT
Group: Development/Python


Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/matrix-org/pymacaroons/archive/v%version.tar.gz

Source: %name-%version.tar

BuildRequires: python-dev python-module-setuptools

BuildArch: noarch

%if_with python3
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-module-setuptools
%endif

#setup_python_module %modulename


%description
This is a Python re-implementation of the libmacaroons C library.
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 receives.

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.


%package -n python3-module-pymacaroons-pynacl
Summary: Library providing non-opaque cookies for authorization
Group: Development/Python3

%description -n python3-module-pymacaroons-pynacl
This is a Python re-implementation of the libmacaroons C library.
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 receives.


%prep
%setup

%if_with python3
cp -fR . ../python3
%endif

%build
%python_build_debug

%if_with python3
pushd ../python3
%python3_build_debug
popd
%endif

%install
%python_install

%if_with python3
pushd ../python3
%python3_install
popd
%endif

%files
%doc README.md
%python_sitelibdir/*

%if_with python3
%files -n python3-module-pymacaroons-pynacl
%doc README.md
%python3_sitelibdir/*
%endif


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin