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

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

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

%define _unpackaged_files_terminate_build 1

%define oname sql

%def_with check

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

Summary: Library to write SQL queries
License: BSD
Group: Development/Python3
Url: https://pypi.org/project/python-sql/
BuildArch: noarch

# https://github.com/Tyba/python-sql.git

Source0: python-%oname-%version.tar.gz

BuildRequires(pre): rpm-build-python3

%if_with check
BuildRequires: python3(tox)
%endif

# PyPI name

%py3_provides python-sql

%description
python-sql is a library to write SQL queries in a pythonic way.

%prep
%setup -n python-%oname-%version

%build
%python3_build_debug

%install
%python3_install

# don't ship tests

rm -r %buildroot%python3_sitelibdir/%oname/tests/

%check
# `test` command of setuptools is deprecated
sed -i 's/{envpython} setup.py test/python -m unittest discover/' tox.ini
export PIP_NO_INDEX=YES
export TOXENV=py3
tox.py3 --sitepackages -vvr -s false

%files
%doc CHANGELOG README
%python3_sitelibdir/%oname/
%python3_sitelibdir/python_sql-%version-py%_python3_version.egg-info/

%changelog

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

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