Group :: Development/Python3
RPM: python3-module-logilab-common
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
%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
…
Todas as alterações você pod ver aqui