Репозиторий Sisyphus
Последнее обновление: 20 мая 2019 | Пакетов: 17692 | Посещений: 13568817
en ru br
Репозитории ALT
S:1.0.3-alt2.hg20120223.1.2
5.1: 0.5-alt0.svn2016.1
4.1: 0.5-alt0.svn2016.1
4.0: 0.5-alt0.svn2016
www.altlinux.org/Changes

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

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

%define oname flup
%define version 1.0.3
%define release alt2
%define subrel hg20120223
%setup_python_module %oname

%def_with python3

Summary: Random assortment of WSGI servers, middleware
Name: python-module-%oname
Version: %version
Release: %release.%subrel
# http://hg.saddi.com/flup-server
Source0: %modulename.tar.bz2
License: BSD
Group: Development/Python
URL: http://www.saddi.com/software/flup/
Packager: Python Development Team <python at packages.altlinux.org>

BuildArch: noarch
BuildPreReq: python-module-setuptools python-module-sphinx-devel
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-distribute
BuildPreReq: python-tools-2to3
%endif

%description
Random assortment of WSGI servers, middleware

%if_with python3
%package -n python3-module-%oname
Summary: Random assortment of WSGI servers, middleware (Python 3)
Group: Development/Python3

%description -n python3-module-%oname
Random assortment of WSGI servers, middleware
%endif

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

%description docs
Random assortment of WSGI servers, middleware

This package contains documentation for flup.

%package pickles
Summary: Pickles for flup
Group: Development/Documentation
BuildArch: noarch

%description pickles
Random assortment of WSGI servers, middleware

This package contains pickles for flup.

%prep
%setup
%if_with python3
rm -rf ../python3
cp -a . ../python3
%endif

%prepare_sphinx docs/source

%build
%python_build
%if_with python3
pushd ../python3
find -type f -name '*.py' -exec 2to3 -w '{}' +
%python3_build
popd
%endif

#docs


%make -C docs pickle
%make -C docs html

%install
%python_install --optimize=2 --record=INSTALLED_FILES
%if_with python3
pushd ../python3
%python3_install
popd
%endif

#docs


cp -fR docs/build/pickle %buildroot%python_sitelibdir_noarch/%oname/

%files -f INSTALLED_FILES
%exclude %python_sitelibdir_noarch/%oname/pickle

%files docs
%doc docs/build/html

%files pickles
%python_sitelibdir_noarch/%oname/pickle

%if_with python3
%files -n python3-module-%oname
%python3_sitelibdir_noarch/*
%endif

%changelog

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

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