14
0

Accepting request 704093 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/704093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plaster?expand=0&rev=2
This commit is contained in:
2019-05-20 11:18:23 +00:00
committed by Git OBS Bridge
4 changed files with 29 additions and 17 deletions

View File

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

View File

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun May 19 23:39:33 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Switch to wheel, which doesn't have the problematic
CC-noncomercial licensed documentation.
-------------------------------------------------------------------
Wed Apr 24 11:59:27 UTC 2019 - pgajdos@suse.com
- version update to 1.0
* improve the exception message for ``InvalidURI`` to show the ``config_uri``.
See https://github.com/Pylons/plaster/pull/17
-------------------------------------------------------------------
Fri Jul 14 18:11:11 UTC 2017 - aloisio@gmx.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-plaster
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,23 +12,23 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-plaster
Version: 0.5
Version: 1.0
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
Source0: https://files.pythonhosted.org/packages/source/p/plaster/plaster-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
# 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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -42,19 +42,18 @@ implemented in a pluggable loader which can be registered via an
entrypoint.
%prep
%setup -q -n plaster-%{version}
rm -rf src/plaster.egg-info
%setup -q -c -T
%build
%python_build
# Not Needed
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc
%{python_sitelib}/*
%license %{python_sitelib}/plaster-%{version}.dist-info/LICENSE.txt
%{python_sitelib}/plaster-%{version}.dist-info/
%{python_sitelib}/plaster/
%changelog