forked from pool/python-Yapsy
- updated to version 1.11.223 - code: Make _extractCorePluginInfo accept Unicode filenames (bug https://sourceforge.net/p/yapsy/bugs/30/) - code: fix default change trigger for ConfigurablePluginManager (see https://sourceforge.net/p/yapsy/support-requests/9/) - code: merge python3 and default branch (contrib delijati) - code: fix exception catching to support flask use case (contrib delijati: https://github.com/tibonihoo/yapsy/pull/4) - code: fix error reporting (contrib frmdstryr: https://github.com/tibonihoo/yapsy/pull/5) - code: allow plugins to run in separate processes (contrib pylanglois: https://github.com/tibonihoo/yapsy/pull/6) - code: fix dangerous usage of mutable objects as default arguments - doc: added an example of fetching yapsy's development version with pip - code: Speed optimisation for the regexp compiled in __init__.py (see https://sourceforge.net/p/yapsy/patches/4/) - code: fix bug "Plugin detection doesn't follow symlinks" (see https://sourceforge.net/p/yapsy/bugs/19/) - doc: add links to coveralls.io for code coverage - code: fix PluginInfo properties (see https://sourceforge.net/p/yapsy/bugs/13/) - code: fix ConfigurablePluginManager.loadplugin ignore callback bug reported at https://sourceforge.net/p/yapsy/bugs/17/ - code: small improvement to the parse error handling (related to https://sourceforge.net/p/yapsy/bugs/12/) - packaging: version name change to comply with PEP440 and resolve pip install problems. - code: fix compatibility with python2.5 - code: fix compatibility with python2.5 - doc: add links to travis-ci and readthedocs.org - code: fix AutoInstall test failures [contrib. Agustin Henze] OBS-URL: https://build.opensuse.org/request/show/449023 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Yapsy?expand=0&rev=3
60 lines
2.0 KiB
RPMSpec
60 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package python-Yapsy
|
|
#
|
|
# 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
|
|
# 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-Yapsy
|
|
Version: 1.11.223
|
|
Release: 0
|
|
Summary: Yet another plugin system
|
|
License: BSD-2-Clause
|
|
Group: Development/Languages/Python
|
|
Url: http://yapsy.sourceforge.net
|
|
Source: https://pypi.python.org/packages/8f/02/0f635f65c6ecbc75bd18f07fa9bb29c7823f4098b37623000bfc6e5861f4/Yapsy-1.11.223.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
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
%description
|
|
Yapsy is a small library implementing the core mechanisms needed to
|
|
build a plugin system into a wider application.
|
|
|
|
The main purpose is to depend only on Python's standard libraries (at
|
|
least version 2.3) and to implement only the basic functionalities
|
|
needed to detect, load and keep track of several plugins.
|
|
|
|
|
|
%prep
|
|
%setup -q -n Yapsy-%{version}
|
|
|
|
%build
|
|
python setup.py build
|
|
find yapsy/ -name "*.py" -exec sed -i -e '/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
|
|
|
|
%install
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|