Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37557904
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-curve25519

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

%define _unpackaged_files_terminate_build 1
%define oname curve25519

Name: python3-module-%oname
Version: 1.3
Release: alt3
Summary: Implementations of a fast Elliptic-curve Diffie-Hellman primitive
License: BSD
Group: Development/Python3
Url: https://code.google.com/p/curve25519-donna/

# https://github.com/agl/curve25519-donna.git

Source: %{oname}-donna-%{version}.tar

BuildRequires(pre): rpm-build-python3
BuildRequires:python3-module-pytest

%py3_provides %oname

%description
curve25519 is an elliptic curve, developed by Dan Bernstein, for fast
Diffie-Hellman key agreement. DJB's original implementation was written
in a language of his own devising called qhasm. The original qhasm
source isn't available, only the x86 32-bit assembly output.

%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR

%description tests
curve25519 is an elliptic curve, developed by Dan Bernstein, for fast
Diffie-Hellman key agreement. DJB's original implementation was written
in a language of his own devising called qhasm. The original qhasm
source isn't available, only the x86 32-bit assembly output.

This package contains tests for %oname.

%prep
%setup -q -n %{oname}-donna-%{version}

sed -i 's| at VERSION at |%version|' setup.py
%ifarch x86_64
sed -i 's|m32|m64|g' Makefile
%endif

%build
%python3_build_debug

%install
%python3_install

%check
rm build -fR
python3 setup.py build_ext -i
py.test3 -vv

%files
%doc README
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/test

%files tests
%python3_sitelibdir/*/test

%changelog

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

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