15
0

Accepting request 559195 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/559195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyDispatcher?expand=0&rev=2
This commit is contained in:
2017-12-21 23:25:50 +00:00
committed by Git OBS Bridge
parent becb6f4c32
commit 013424353b
2 changed files with 25 additions and 17 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 21 23:04:44 UTC 2017 - mpluskal@suse.com
- Convert to singlespec
-------------------------------------------------------------------
Thu Jun 2 18:16:32 UTC 2016 - jacobwinski@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyDispatcher
#
# Copyright (c) 2016 SUSE LINUX 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
@@ -16,41 +16,44 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyDispatcher
Version: 2.0.5
Release: 0
Url: http://pydispatcher.sourceforge.net
Summary: Multi-producer-multi-consumer signal dispatching mechanism
License: BSD-3-Clause
Group: Development/Languages/Python
Source: http://pypi.io/packages/source/p/PyDispatcher/PyDispatcher-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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://pydispatcher.sourceforge.net
Source: https://files.pythonhosted.org/packages/source/P/PyDispatcher/PyDispatcher-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%endif
%python_subpackages
%description
Dispatcher mechanism for creating event models
Dispatcher mechanism for creating event models.
PyDispatcher is an enhanced version of Patrick K. OBriens original dispatcher.py module. It provides the Python programmer with a robust mechanism for event routing within various application contexts.
PyDispatcher is an enhanced version of Patrick K. OBriens original
dispatcher.py module. It provides the Python programmer with a robust
mechanism for event routing within various application contexts.
Included in the package are the robustapply and saferef modules, which provide the ability to selectively apply arguments to callable objects and to reference instance methods using weak-references.
Included in the package are the robustapply and saferef modules, which
provide the ability to selectively apply arguments to callable objects and
to reference instance methods using weak-references.
%prep
%setup -q -n PyDispatcher-%{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,-)
%files %{python_files}
%doc license.txt
%{python_sitelib}/*