forked from pool/python-plaster
- Update to version 1.1.2 Fix a bug in which plaster would crash harder than expected if a URI is specified to a distribution that does not have the specified entry points. Now a LoaderNotFound exception will be raised instead of a bad unpacking of tuples. - Update to version 1.1.1 * Add support for Python 3.11. * Fix an bug introduced in 1.1 on some systems where plaster.exceptions.MultipleLoadersFound would be raised due to lib and lib64 being symlinked to each other and both added to the sys.path. See https://github.com/Pylons/plaster/pull/27 - Update to version 1.1 * Drop support for Python 2.7, 3.4, 3.5, 3.6. * Add support for Python 3.8, 3.9, 3.10. * Drop runtime dependency on setuptools / pkg_resources by switching to importlib.metadata. OBS-URL: https://build.opensuse.org/request/show/1041220 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-plaster?expand=0&rev=10
61 lines
2.1 KiB
RPMSpec
61 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package python-plaster
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
Name: python-plaster
|
|
Version: 1.1.2
|
|
Release: 0
|
|
Summary: A loader interface around multiple config file formats
|
|
License: MIT
|
|
Group: Development/Languages/Python
|
|
URL: http://docs.pylonsproject.org/projects/plaster/en/latest
|
|
# Wheels lack files with problematic noncommercial license
|
|
Source: https://files.pythonhosted.org/packages/py2.py3/p/plaster/plaster-%{version}-py2.py3-none-any.whl
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
Plaster is a loader interface around multiple config file formats.
|
|
It exists to define a common API for applications to use when they
|
|
wish to load a configuration. The library itself does not aim to
|
|
handle anything except a basic API that applications may use to find
|
|
and load configuration settings. Any specific constraints should be
|
|
implemented in a pluggable loader which can be registered via an
|
|
entrypoint.
|
|
|
|
%prep
|
|
%setup -q -c -T
|
|
|
|
%build
|
|
# Not Needed
|
|
|
|
%install
|
|
cp -a %{SOURCE0} .
|
|
%pyproject_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%files %{python_files}
|
|
%license %{python_sitelib}/plaster-%{version}.dist-info/LICENSE.txt
|
|
%{python_sitelib}/plaster-%{version}.dist-info/
|
|
%{python_sitelib}/plaster/
|
|
|
|
%changelog
|