Sisyphus repositório
Última atualização: 23 maio 2019 | SRPMs: 17692 | Visitas: 13591194
en ru br
ALT Linux repositórios
S:1.2.0-alt1.1

Group :: Desenvolvimento/Python
RPM: python-module-motor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname motor

%def_with python3
%def_disable check

Name: python-module-%oname
Version: 1.2.0
Release: alt1.1
Summary: Non-blocking MongoDB driver for Tornado
License: ASLv2.0
Group: Development/Python
BuildArch: noarch
Url: https://pypi.python.org/pypi/motor/

# https://github.com/mongodb/motor.git

Source: %name-%version.tar

BuildRequires: python-devel python-module-setuptools
BuildRequires: python-module-tornado
BuildRequires: python-module-pymongo python-module-pymongo-gridfs
BuildRequires: python-module-futures
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildRequires: python3-module-tornado
BuildRequires: python3-module-pymongo python3-module-gridfs
BuildRequires: python3-module-sphinx-devel
BuildRequires: python3(aiohttp)
%endif

%py_provides %oname
%py_requires tornado pymongo gridfs

%description
Motor is a full-featured, non-blocking MongoDB driver for Python Tornado
applications.

%if_with python3
%package -n python3-module-%oname
Summary: Non-blocking MongoDB driver for Tornado
Group: Development/Python3
%py3_provides %oname
%py3_requires tornado pymongo gridfs

%description -n python3-module-%oname
Motor is a full-featured, non-blocking MongoDB driver for Python Tornado
applications.
%endif

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

%description docs
Motor is a full-featured, non-blocking MongoDB driver for Python Tornado
applications.

This package contains documentation for %oname.

%prep
%setup

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

%prepare_sphinx3 .
ln -s ../objects.inv doc/

%build
%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

%make -C doc html SPHINXBUILD=py3_sphinx-build

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

%files
%doc *.rst
%python_sitelibdir/*

%files docs
%doc doc/_build/html/*

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009