File python3-logilab-common.spec of Package python3-logilab-common

#
# spec file for package python3-logilab-common
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python3-logilab-common
Version:        1.0.2
Release:        0
Url:            http://www.logilab.org/projects/common/
Summary:        Python lowlevel functionality shared by logilab projects
License:        LGPL-2.1+
Group:          Development/Languages/Python
Source:         https://pypi.python.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  python3-six
BuildArch:      noarch

%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
database driver.

Please send any comment, patch or question to the python-projects
mailing-list. Before asking a question, please first search the
archives in case it would have already been answered. You may want to
use google and add "site:lists.logilab.org" to your keywords to narrow
your search. We will soon provide our own search engine.

This version is built to use python 3

%prep
%setup -q -n logilab-common-%{version}

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root="%{buildroot}"
rm -rf %{buildroot}{%{_bindir}/pytest,%{python3_sitelib}/logilab/common/test} # Don't install tests

%files
%defattr(-,root,root)
%doc ChangeLog COPYING COPYING.LESSER README
%{python3_sitelib}/*

%changelog
openSUSE Build Service is sponsored by