From 939eaf276501f2702e3a1fa91585cb1231058544be8f303e82bd0f2019749c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Mar 2019 11:19:23 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-addict?expand=0&rev=9 --- LICENSE | 22 ---------------------- addict-2.1.2.tar.gz | 3 --- python-addict.changes | 7 +++++++ python-addict.spec | 16 ++++------------ v2.2.0.tar.gz | 3 +++ 5 files changed, 14 insertions(+), 37 deletions(-) delete mode 100644 LICENSE delete mode 100644 addict-2.1.2.tar.gz create mode 100644 v2.2.0.tar.gz diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 217e485..0000000 --- a/LICENSE +++ /dev/null @@ -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. - diff --git a/addict-2.1.2.tar.gz b/addict-2.1.2.tar.gz deleted file mode 100644 index 1df058b..0000000 --- a/addict-2.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:88f31fb3d07d331bdf152217bb0ba7b7fdc07c597f863f8e9bc5380db576cdb9 -size 4970 diff --git a/python-addict.changes b/python-addict.changes index 340fb9e..f32e73c 100644 --- a/python-addict.changes +++ b/python-addict.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 6 11:18:43 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-addict.spec b/python-addict.spec index 44b2057..c859afd 100644 --- a/python-addict.spec +++ b/python-addict.spec @@ -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}/* diff --git a/v2.2.0.tar.gz b/v2.2.0.tar.gz new file mode 100644 index 0000000..dad7aef --- /dev/null +++ b/v2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3026d77cd3f88d305bb65fb6fb55c64cde3f631f3c34c46b798169e273d86d76 +size 8214