From 5e0cd3b2f6e6c3c6255a19c1a3fe98e03d82a0323049571d743b09021509efe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 12 Mar 2019 16:47:02 +0000 Subject: [PATCH] - Update to 1.11: - switched docs and internals to Python 3 - improved docs: better texts and examples here and there - support Python 3.7 officially - added popups over functions everywhere in docs - accept any iterables of errors in flow utils - fixed walk_values() for defaultdicts with empty factory - fixed xmap() signature introspection - documented lzip() OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-funcy?expand=0&rev=7 --- 1.11.tar.gz | 3 +++ funcy-1.10.1.tar.gz | 3 --- python-funcy.changes | 13 +++++++++++++ python-funcy.spec | 17 +++++++---------- 4 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 1.11.tar.gz delete mode 100644 funcy-1.10.1.tar.gz diff --git a/1.11.tar.gz b/1.11.tar.gz new file mode 100644 index 0000000..6b9161d --- /dev/null +++ b/1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24f886d6d91fbd01cda772f17d5f16a2699270e480448e3929606df53016d8a6 +size 75600 diff --git a/funcy-1.10.1.tar.gz b/funcy-1.10.1.tar.gz deleted file mode 100644 index ad489be..0000000 --- a/funcy-1.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c38ef134d34c767b9d631de453e19f710ac0575b9463d55e30f4f93274e089e4 -size 29657 diff --git a/python-funcy.changes b/python-funcy.changes index 9c04417..68cad92 100644 --- a/python-funcy.changes +++ b/python-funcy.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Mar 12 15:44:40 UTC 2019 - Tomáš Chvátal + +- Update to 1.11: + - switched docs and internals to Python 3 + - improved docs: better texts and examples here and there + - support Python 3.7 officially + - added popups over functions everywhere in docs + - accept any iterables of errors in flow utils + - fixed walk_values() for defaultdicts with empty factory + - fixed xmap() signature introspection + - documented lzip() + ------------------------------------------------------------------- Tue Dec 4 12:48:19 UTC 2018 - Matej Cepl diff --git a/python-funcy.spec b/python-funcy.spec index 8007426..780787e 100644 --- a/python-funcy.spec +++ b/python-funcy.spec @@ -1,7 +1,7 @@ # # spec file for package python-funcy # -# 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,20 +17,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-funcy -Version: 1.10.1 +Version: 1.11 Release: 0 Summary: Functional tools for Python License: BSD-3-Clause Group: Development/Languages/Python -Url: http://github.com/Suor/funcy -Source: https://files.pythonhosted.org/packages/source/f/funcy/funcy-%{version}.tar.gz +URL: http://github.com/Suor/funcy +Source: https://github.com/Suor/funcy/archive/%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module whatever} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -48,13 +48,10 @@ Inspired by clojure, underscore and the author's own abstractions. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +%pytest %files %{python_files} -%defattr(-,root,root,-) %doc CHANGELOG README.rst %license LICENSE %{python_sitelib}/*