forked from pool/python-logilab-common
Accepting request 520559 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/520559 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-logilab-common?expand=0&rev=5
This commit is contained in:
commit
132b51f921
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3f847b36f6c03ffc8521ed61e691501c9713f8654964b90201f2056742d38300
|
|
||||||
size 190912
|
|
3
logilab-common-1.4.1.tar.gz
Normal file
3
logilab-common-1.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ed1c60f32c3fa03dc2efaa730e606db1209d14b4769561ff0365aa584a29360a
|
||||||
|
size 185150
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 2 08:48:45 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Trim non-description and outdated parts about python2.2
|
||||||
|
from description.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 31 07:16:52 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to 1.4.1
|
||||||
|
* pytest: executable deprecated and renamed as logilab-pytest to prevent
|
||||||
|
conflict with pytest provided by http://pytest.org/
|
||||||
|
- singlespec autoconversion
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 2 14:23:28 UTC 2015 - mcihar@suse.cz
|
Wed Sep 2 14:23:28 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-logilab-common
|
# spec file for package python-logilab-common
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,23 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-logilab-common
|
Name: python-logilab-common
|
||||||
Version: 1.0.2
|
Version: 1.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.logilab.org/projects/common/
|
|
||||||
Summary: Python lowlevel functionality shared by logilab projects
|
Summary: Python lowlevel functionality shared by logilab projects
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://pypi.python.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz
|
Url: http://www.logilab.org/projects/common/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Source: https://files.pythonhosted.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
%if 0%{?suse_version} <= 1110
|
BuildRequires: python-rpm-macros
|
||||||
%{!?python_sitearch: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")}
|
|
||||||
%{py_requires}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The package logilab.common contains several modules providing low level
|
The package logilab.common contains several modules providing low level
|
||||||
@ -43,26 +40,19 @@ checker.
|
|||||||
|
|
||||||
Please note that some of the modules have some extra dependencies. For
|
Please note that some of the modules have some extra dependencies. For
|
||||||
instance, logilab.common.db will require a db-api 2.0 compliant
|
instance, logilab.common.db will require a db-api 2.0 compliant
|
||||||
database driver. Command line parsing modules require optik to be
|
database driver.
|
||||||
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
|
%prep
|
||||||
%setup -n logilab-common-%{version}
|
%setup -q -n logilab-common-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root="%{buildroot}"
|
%python_install
|
||||||
rm -rf %{buildroot}{%{_bindir}/pytest,%{python_sitelib}/logilab/common/test} # Don't install tests
|
rm -f %{buildroot}%{_bindir}/logilab-pytest
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ChangeLog COPYING COPYING.LESSER README
|
%doc ChangeLog COPYING COPYING.LESSER README
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user