From 014174b9c852a840025eec75cc4ac012b55ef8130c0d0b2cbc104774ce852de7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 21 Dec 2017 22:42:54 +0000 Subject: [PATCH] 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 --- python-queuelib.changes | 7 ++++++ python-queuelib.spec | 49 +++++++++++++++++++---------------------- queuelib-1.1.1.tar.gz | 3 --- queuelib-1.4.2.tar.gz | 3 +++ 4 files changed, 33 insertions(+), 29 deletions(-) delete mode 100644 queuelib-1.1.1.tar.gz create mode 100644 queuelib-1.4.2.tar.gz diff --git a/python-queuelib.changes b/python-queuelib.changes index 8623ea1..5eec528 100644 --- a/python-queuelib.changes +++ b/python-queuelib.changes @@ -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 diff --git a/python-queuelib.spec b/python-queuelib.spec index c14fc7a..d57b525 100644 --- a/python-queuelib.spec +++ b/python-queuelib.spec @@ -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 \ No newline at end of file +%changelog diff --git a/queuelib-1.1.1.tar.gz b/queuelib-1.1.1.tar.gz deleted file mode 100644 index d7917e0..0000000 --- a/queuelib-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4eb5e162b96332a0a4195af0b3e373d211a668045862667c46ba10759a43426f -size 6740 diff --git a/queuelib-1.4.2.tar.gz b/queuelib-1.4.2.tar.gz new file mode 100644 index 0000000..2b8d1bd --- /dev/null +++ b/queuelib-1.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6829918157ed433fafa87b0bb1e93e3e63c885270166db5884a02c34c86f914 +size 8287