forked from pool/python-addict
Accepting request 682107 from devel:languages:python
- Update to 2.2.0: * In this release it's easier / better to inherit from a Dict instance - Switch to github tarball to get license and tests OBS-URL: https://build.opensuse.org/request/show/682107 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-addict?expand=0&rev=3
This commit is contained in:
22
LICENSE
22
LICENSE
@@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Mats Julian Olsen
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:88f31fb3d07d331bdf152217bb0ba7b7fdc07c597f863f8e9bc5380db576cdb9
|
||||
size 4970
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 11:18:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 2.2.0:
|
||||
* In this release it's easier / better to inherit from a Dict instance
|
||||
- Switch to github tarball to get license and tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:45:28 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-addict
|
||||
#
|
||||
# Copyright (c) 2018 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
|
||||
@@ -17,22 +17,18 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Test scripts missing
|
||||
%bcond_with test
|
||||
Name: python-addict
|
||||
Version: 2.1.2
|
||||
Version: 2.2.0
|
||||
Release: 0
|
||||
Summary: A dictionary using both attribute and item syntax
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/mewwts/addict
|
||||
Source: https://files.pythonhosted.org/packages/source/a/addict/addict-%{version}.tar.gz
|
||||
Source10: https://raw.githubusercontent.com/mewwts/addict/v%{version}/LICENSE
|
||||
URL: https://github.com/mewwts/addict
|
||||
Source: https://github.com/mewwts/addict/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -42,7 +38,6 @@ using both attribute and item syntax.
|
||||
|
||||
%prep
|
||||
%setup -q -n addict-%{version}
|
||||
cp %{SOURCE10} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -51,13 +46,10 @@ cp %{SOURCE10} .
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
3
v2.2.0.tar.gz
Normal file
3
v2.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3026d77cd3f88d305bb65fb6fb55c64cde3f631f3c34c46b798169e273d86d76
|
||||
size 8214
|
||||
Reference in New Issue
Block a user