Репозиторий Sisyphus
Последнее обновление: 18 декабря 2018 | Пакетов: 18647 | Посещений: 12728155
en ru br
Репозитории ALT

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

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

%define oname billiard

%def_with python3

Name: python-module-%oname
Version: 3.5.0.3
Release: alt2

Summary: billiard is a fork of the Python 2.7 multiprocessing package
License: GPL
Group: Development/Python
Requires: python
Url: https://github.com/celery/billiard/

# https://github.com/celery/billiard.git

Source: %name-%version.tar

BuildRequires: python-devel python-module-setuptools gcc-c++ python-module-sphinx
BuildRequires: python2.7(case)
BuildRequires: python2.7(unittest2) python2.7(mock) python2.7(pytest)
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildRequires: python3(case)
BuildRequires: python3(unittest2) python3(mock) python3(pytest)
%endif

%add_findreq_skiplist %python_sitelibdir/%oname/popen_spawn_win32.py
%add_findreq_skiplist %python3_sitelibdir/%oname/popen_spawn_win32.py

%description
billiard is a fork of the Python 2.7 multiprocessing package.
The multiprocessing package itself is a renamed and updated version of
R Oudkerk's pyprocessing package. This standalone variant is intended
to be compatible with Python 2.4 and 2.5, and will draw it's
fixes/improvements from python-trunk.

%if_with python3
%package -n python3-module-%oname
Summary: billiard is a fork of the Python 2.7 multiprocessing package
Group: Development/Python3

%description -n python3-module-%oname
billiard is a fork of the Python 2.7 multiprocessing package.
The multiprocessing package itself is a renamed and updated version of
R Oudkerk's pyprocessing package. This standalone variant is intended
to be compatible with Python 2.4 and 2.5, and will draw it's
fixes/improvements from python-trunk.
%endif

%prep
%setup

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

%build
%python_build_debug

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

python setup.py build_sphinx --builder="html" --source-dir=Doc

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

%if "%_libexecdir" != "%_libdir"
install -d %buildroot%_libdir
mv %buildroot%_libexecdir/* %buildroot%_libdir/
%endif
%endif

%python_install

%check
python setup.py test

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

%files
%doc build/sphinx/html LICENSE.txt CHANGES.txt README.rst
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc LICENSE.txt CHANGES.txt README.rst
%python3_sitelibdir/*
%endif

%changelog

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

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