Репозиторий Sisyphus
Последнее обновление: 22 мая 2019 | Пакетов: 17693 | Посещений: 13576039
en ru br
Репозитории ALT

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

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

%def_with python3
%define oname raven

Name: python-module-raven
Version: 5.32.0
Release: alt1
Summary: Python client for Sentry

License: BSD
Group: Development/Python
Url: https://pypi.python.org/pypi/%oname
Packager: Python Development Team <python at packages.altlinux.org>

Source: https://pypi.python.org/packages/5a/22/9e6485b46bf840166e8e79da40f74553dfeb044f4909ba9bbdedc9b24dff/%oname-%version.tar.gz
BuildArch: noarch

%if_with python3
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-module-setuptools-tests
%endif
BuildPreReq: python-devel python-module-setuptools-tests
%py_provides %oname
%add_findreq_skiplist %python_sitelibdir/%oname/contrib/zope/*

%description
Raven is a Python client for Sentry <http://getsentry.com>. It provides full
out-of-the-box support for many of the popular frameworks, including Django, and
Flask. Raven also includes drop-in support for any WSGI-compatible web
application.

%if_with python3
%package -n python3-module-%oname
Summary: Python 3 client for Sentry
Group: Development/Python3
%py3_provides %oname
%add_findreq_skiplist %python3_sitelibdir/%oname/contrib/zope/*

%description -n python3-module-%oname
Raven is a Python client for Sentry <http://getsentry.com>. It provides full
out-of-the-box support for many of the popular frameworks, including Django, and
Flask. Raven also includes drop-in support for any WSGI-compatible web
application.
Python 3 version.
%endif

%package -n %oname
Summary: Python client for Sentry
Group: Development/Python3
%if_with python3
Requires: python3-module-%oname = %version-%release
%else
Requires: python-module-%oname = %version-%release
%endif

%description -n %oname
Raven is a Python 3 client for Sentry <http://getsentry.com>. It provides full
out-of-the-box support for many of the popular frameworks, including Django, and
Flask. Raven also includes drop-in support for any WSGI-compatible web
application.

%prep
%setup -n %oname-%version

%if_with python3
rm -fR ../python3-module-%oname
cp -fR . ../python3-module-%oname
%endif

%build
%python_build

%if_with python3
pushd ../python3-module-%oname
%python3_build
popd
%endif

%install
%python_install

%if_with python3
pushd ../python3-module-%oname
%python3_install
popd
%endif

%files
%doc LICENSE *.rst
%python_sitelibdir/%oname
%python_sitelibdir/*.egg-info

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

%files -n %oname
%_bindir/%oname

%changelog

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

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