From 3cfb6b00a95085dd8a54655aa792535eb9185eccde58e914242effff419c1550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 15 Jul 2022 07:08:18 +0000 Subject: [PATCH] Accepting request 989261 from home:bnavigator:branches:devel:languages:python - Remove ancient pathlib requirement for python3. It is part of the stdlib since Python 3.4 OBS-URL: https://build.opensuse.org/request/show/989261 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json_tricks?expand=0&rev=21 --- python-json_tricks.changes | 6 ++++++ python-json_tricks.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/python-json_tricks.changes b/python-json_tricks.changes index 683dbb4..386f602 100644 --- a/python-json_tricks.changes +++ b/python-json_tricks.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 14 17:58:22 UTC 2022 - Ben Greiner + +- Remove ancient pathlib requirement for python3. It is part of the + stdlib since Python 3.4 + ------------------------------------------------------------------- Mon Apr 19 06:34:11 UTC 2021 - Steve Kowalik diff --git a/python-json_tricks.spec b/python-json_tricks.spec index 1a22ecc..09940dc 100644 --- a/python-json_tricks.spec +++ b/python-json_tricks.spec @@ -1,7 +1,7 @@ # # spec file for package python-json_tricks # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -18,7 +18,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 -%define skip_python36 1 Name: python-json_tricks Version: 3.15.5 Release: 0 @@ -31,20 +30,20 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: python-numpy Recommends: python-pandas -Recommends: python-pathlib Recommends: python-pytz BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module numpy} BuildRequires: %{python_module pandas} -BuildRequires: %{python_module pathlib} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} %if %{with python2} BuildRequires: python-enum34 +BuildRequires: python-pathlib %endif # /SECTION %ifpython2 +Requires: python-pathlib Recommends: python-enum34 %endif %python_subpackages @@ -78,6 +77,7 @@ As well as compression and disallowing duplicate keys. %files %{python_files} %doc README.rst %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/json_tricks +%{python_sitelib}/json_tricks-%{version}*-info %changelog