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

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

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

%define _unpackaged_files_terminate_build 1
%define oname logilab-common

%def_with check

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

Summary: Collection of low-level Python packages and modules used by Logilab projects
License: LGPLv2.1+
Group: Development/Python3
Url: https://pypi.org/project/logilab-common

BuildArch: noarch

Source: %oname-%version.tar
Patch0: logilab-%version-alt-urllib2.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-mypy_extensions
BuildRequires: python3-module-importlib-metadata
BuildRequires: python3-module-typing_extensions
BuildRequires: python3-module-pytz
%endif

%py3_provides logilab

%description
logilab-common is a collection of low-level Python packages and modules,
designed to ease:
 * handling command line options and configuration files
 * writing interactive command line tools
 * manipulation files and character strings
 * interfacing to OmniORB (removed by packager)
 * generating of SQL queries
 * running unit tests
 * manipulating tree structures
 * accessing RDBMS (currently postgreSQL, mysql and sqlite)
 * generating text and HTML reports
 * logging

%prep
%setup -q -n %oname-%version
%patch0 -p1

%build
%pyproject_build

%install
%pyproject_install

%check
%tox_check_pyproject -- -k 'not test_deprecation'

%files
%doc ChangeLog README.rst COPYING
%_bindir/*
%python3_sitelibdir/logilab
%python3_sitelibdir/%{pyproject_distinfo %oname}
%exclude %python3_sitelibdir/*-nspkg.pth

%changelog

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

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