Репозиторий Sisyphus
Последнее обновление: 23 марта 2019 | Пакетов: 17647 | Посещений: 13263459
en ru br
Репозитории ALT
S:6.2.6-alt1
4.1: 4.3.0-alt9.1
4.0: 4.3.0-alt9
3.0: 4.3.0-alt9
www.altlinux.org/Changes

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

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

%define modname bsddb3
# sometime 1 test out of 501 fails only in girar
%def_disable check

Name: python-module-%modname
Version: 6.2.5
Release: alt1

Summary: Python bindings for BerkleyDB
Group: Development/Python
License: BSD
Url: https://pypi.python.org/pypi/bsddb3/

Source: https://pypi.io/packages/source/b/%modname/%modname-%version.tar.gz

BuildRequires: libdb4-devel
BuildRequires: python-devel
BuildRequires: python3-devel rpm-build-python3
# for check
BuildRequires: /proc python-test python3-test

%description
This package provides Python wrappers for Berkeley DB                                          .

%package -n python3-module-%modname
Summary: Python3 bindings for BerkleyDB
Group: Development/Python3
License: BSD

%description -n python3-module-%modname
This package provides Python3 wrappers for Berkeley DB.


%prep
%setup -n %modname-%version -a0
mv %modname-%version py3build

%build
%python_build

pushd py3build
%python3_build
popd

%install
%python_install

pushd py3build
%python3_install
popd

%if_enabled check
%check
%__python test.py

pushd py3build
%__python3 test.py
popd
%endif

%files
%python_sitelibdir/%modname/
%python_sitelibdir/%modname-%version-py*.egg-info
%doc ChangeLog *.txt

%exclude %python_sitelibdir/%modname/tests/

%files -n python3-module-%modname
%python3_sitelibdir/%modname/
%python3_sitelibdir/%modname-%version-py*.egg-info

%exclude %python3_sitelibdir/%modname/tests/

%exclude %_includedir/python*/%modname/bsddb.h

%changelog

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

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