2014-02-24 03:24:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-logilab-common
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products 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: python-logilab-common
|
2014-07-10 14:53:19 +02:00
|
|
|
Version: 0.62.0
|
2014-02-24 03:24:53 +01:00
|
|
|
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
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: python-devel
|
|
|
|
%if 0%{?suse_version} <= 1110
|
|
|
|
%{!?python_sitearch: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")}
|
|
|
|
%{py_requires}
|
|
|
|
%else
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%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. Command line parsing modules require optik to be
|
|
|
|
installed, if you're using python2.1 or 2.2.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n logilab-common-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
python setup.py install --prefix=%{_prefix} --root="%{buildroot}"
|
|
|
|
rm -rf %{buildroot}{%{_bindir}/pytest,%{python_sitelib}/logilab/common/test} # Don't install tests
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog COPYING COPYING.LESSER README
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|