Sisyphus repositório
Última atualização: 16 outubro 2019 | SRPMs: 17499 | Visitas: 15277212
en ru br
ALT Linux repositórios
S:0.3.6-alt2.git20150127.1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname sqltap

%def_with python3

Name: python-module-%oname
Version: 0.3.6
Release: alt2.git20150127
Summary: Profiling and introspection for applications using sqlalchemy
License: ASLv2.0
Group: Development/Python
BuildArch: noarch
Url: https://pypi.python.org/pypi/sqltap/

# https://github.com/inconshreveable/sqltap.git

Source: %name-%version.tar

BuildRequires: python-devel python-module-setuptools-tests
BuildRequires: python-module-SQLAlchemy python-module-mako
BuildRequires: python-module-nose python-modules-sqlite3
BuildRequires: python-module-werkzeug
BuildRequires: python-module-docutils python-module-html5lib
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools-tests
BuildRequires: python3-module-SQLAlchemy python3-module-mako
BuildRequires: python3-module-nose python3-modules-sqlite3
BuildRequires: python3-module-werkzeug
BuildRequires: python3-module-html5lib python3-module-sphinx
%endif

%py_provides %oname
%py_requires sqlalchemy mako werkzeug

%description
sqltap is a library that allows you to profile and introspect the
queries that your application makes using SQLAlchemy.

sqltap helps you quickly understand:

* how many times a sql query is executed
* how much time your sql queries take
* where your application is issuing sql queries from

%if_with python3
%package -n python3-module-%oname
Summary: Profiling and introspection for applications using sqlalchemy
Group: Development/Python3
%py3_provides %oname
%py3_requires sqlalchemy mako werkzeug

%description -n python3-module-%oname
sqltap is a library that allows you to profile and introspect the
queries that your application makes using SQLAlchemy.

sqltap helps you quickly understand:

* how many times a sql query is executed
* how much time your sql queries take
* where your application is issuing sql queries from
%endif

%prep
%setup

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

%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

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

%files
%doc *.md doc/source/*.rst
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc *.md doc/source/*.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