14
0

Accepting request 559192 from home:pluskalm:branches:devel:languages:python

add me as maintainer, dependency of scrapy used for internal search

OBS-URL: https://build.opensuse.org/request/show/559192
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-queuelib?expand=0&rev=2
This commit is contained in:
2017-12-21 22:42:54 +00:00
committed by Git OBS Bridge
parent 5345f0256e
commit 014174b9c8
4 changed files with 33 additions and 29 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 21 22:38:02 UTC 2017 - mpluskal@suse.com
- Update to version 1.4.2:
* No upstream changelog available
- Convert to singlespec
-------------------------------------------------------------------
Sun Feb 9 16:52:07 UTC 2014 - toms@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-queuelib
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@@ -13,50 +13,47 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-queuelib
Version: 1.1.1
Version: 1.4.2
Release: 0
License: BSD-2-Clause
Summary: Collection of Persistent (Disk-Based) Queues
Url: http://github.com/scrapy/queuelib
License: BSD-2-Clause
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/q/queuelib/queuelib-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
Url: http://github.com/scrapy/queuelib
Source: https://files.pythonhosted.org/packages/source/q/queuelib/queuelib-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%endif
%endif
%python_subpackages
%description
Queuelib is a collection of persistent (disk-based) queues for Python.
Queuelib goals are speed and simplicity. It was originally part of the `Scrapy
framework`_ and stripped out on its own library.
Queuelib goals are speed and simplicity. It was originally part of the
`Scrapy framework`_ and stripped out on its own library.
%prep
%setup -q -n queuelib-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%defattr(-,root,root,-)
%check
%python_exec setup.py test
%files %{python_files}
%doc LICENSE README.rst NEWS
%{python_sitelib}/*
%changelog
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4eb5e162b96332a0a4195af0b3e373d211a668045862667c46ba10759a43426f
size 6740

3
queuelib-1.4.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6829918157ed433fafa87b0bb1e93e3e63c885270166db5884a02c34c86f914
size 8287