Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37568353
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-paginate_sqlalchemy

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

%define oname paginate_sqlalchemy

%def_with check

Name: python3-module-%oname
Version: 0.3.1
Release: alt1

Summary: Extension to paginate.Page that supports SQLAlchemy queries
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/paginate_sqlalchemy/
Vcs: https://github.com/Pylons/paginate_sqlalchemy.git

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-sqlalchemy
BuildRequires: python3-module-paginate
%endif

%py3_provides %oname

%description
This module helps divide up large result sets into pages or chunks. The
user gets displayed one page at a time and can navigate to other pages.
It is especially useful when developing web interfaces and showing the
users only a selection of information at a time.

This module uses and extends the functionality of the paginate module to
support SQLAlchemy queries.

%prep
%setup

sed -i "s/version='0.3.0',/version='0.3.1',/" setup.py

%build
%python3_build

%install
%python3_install

%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -k 'not test_select'

%files
%doc CHANGELOG README TODO
%python3_sitelibdir/*


%changelog

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

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