Репозиторий Sisyphus
Последнее обновление: 11 декабря 2018 | Пакетов: 18648 | Посещений: 12688050
en ru br
Репозитории ALT
S:0.1.6-alt1.git20141121.2.1
www.altlinux.org/Changes

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

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

%define oname banyan

%def_with python3
# very slow!
%def_disable check

Name: python-module-%oname
Version: 0.1.6
Release: alt1.git20141121.2
Summary: Backup of Banyan Python module
License: BSD
Group: Development/Python
Url: https://github.com/pyannote/pyannote-banyan

# https://github.com/pyannote/pyannote-banyan.git

Source: %name-%version.tar

Patch1: %oname-%version-alt-build.patch

BuildRequires: gcc-c++ python-module-UnittestRandGenState python-module-pytest
BuildRequires: python-module-matplotlib python-module-six
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-UnittestRandGenState python3-module-pytest
BuildRequires: python3-module-matplotlib python3-module-six
%endif

%py_provides %oname
%py_provides %{oname}_c

%description
Highly-optimized search trees (red-black, splay, and sorted-list) with
optional augmentation (dynamic order statistics, interval trees, etc.)

%package -n python3-module-%oname
Summary: Backup of Banyan Python module
Group: Development/Python3
%py3_provides %oname
%py3_provides %{oname}_c

%description -n python3-module-%oname
Highly-optimized search trees (red-black, splay, and sorted-list) with
optional augmentation (dynamic order statistics, interval trees, etc.)

%package docs
Summary: Documentation for %oname
Group: Development/Documentation
BuildArch: noarch

%description docs
Highly-optimized search trees (red-black, splay, and sorted-list) with
optional augmentation (dynamic order statistics, interval trees, etc.)

This package contains documentation for %oname.

%prep
%setup
%patch1 -p1

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

%build
%add_optflags -fno-strict-aliasing -fpermissive -std=gnu++11
%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

%check
python setup.py test
%if_with python3
pushd ../python3
python3 setup.py test
popd
%endif

%files
%doc *.txt
%python_sitelibdir/*

%files docs
%doc docs/*

%if_with python3
%files -n python3-module-%oname
%doc *.txt
%python3_sitelibdir/*
%endif

%changelog

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

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