2014-02-24 03:24:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-logilab-common
|
|
|
|
#
|
2022-02-14 22:47:17 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2014-02-24 03:24:53 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-04 14:39:02 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-02-24 03:24:53 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-08-31 09:18:34 +02:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2014-02-24 03:24:53 +01:00
|
|
|
Name: python-logilab-common
|
2022-09-29 21:02:07 +02:00
|
|
|
Version: 1.9.7
|
2014-02-24 03:24:53 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Python lowlevel functionality shared by logilab projects
|
2018-12-04 14:39:02 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2014-02-24 03:24:53 +01:00
|
|
|
Group: Development/Languages/Python
|
2022-02-14 22:47:17 +01:00
|
|
|
URL: https://www.logilab.org/project/logilab-common
|
2017-08-31 09:18:34 +02:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: python-rpm-macros
|
2014-02-24 03:24:53 +01:00
|
|
|
BuildArch: noarch
|
2017-08-31 09:18:34 +02:00
|
|
|
%python_subpackages
|
2014-02-24 03:24:53 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The package logilab.common contains several modules providing low level
|
|
|
|
functionalities shared among some python projects developed by logilab.
|
|
|
|
|
|
|
|
The package is used by pylint, an advanced Python style and syntax
|
|
|
|
checker.
|
|
|
|
|
|
|
|
Please note that some of the modules have some extra dependencies. For
|
|
|
|
instance, logilab.common.db will require a db-api 2.0 compliant
|
2017-09-04 07:31:32 +02:00
|
|
|
database driver.
|
2014-02-24 03:24:53 +01:00
|
|
|
|
|
|
|
%prep
|
2017-08-31 09:18:34 +02:00
|
|
|
%setup -q -n logilab-common-%{version}
|
2014-02-24 03:24:53 +01:00
|
|
|
|
|
|
|
%build
|
2017-08-31 09:18:34 +02:00
|
|
|
%python_build
|
2014-02-24 03:24:53 +01:00
|
|
|
|
|
|
|
%install
|
2017-08-31 09:18:34 +02:00
|
|
|
%python_install
|
|
|
|
rm -f %{buildroot}%{_bindir}/logilab-pytest
|
2014-02-24 03:24:53 +01:00
|
|
|
|
2017-08-31 09:18:34 +02:00
|
|
|
%files %{python_files}
|
2018-12-04 18:16:25 +01:00
|
|
|
%license COPYING COPYING.LESSER
|
2020-12-19 14:21:55 +01:00
|
|
|
%doc ChangeLog README.rst
|
2014-02-24 03:24:53 +01:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|