From c7ccd73918b35c1b3e67110a17d472c4bcf1cdc5cf636d3f55bced3d450106de Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 27 Feb 2022 05:34:07 +0000 Subject: [PATCH] Accepting request 957833 from home:apersaud:branches:devel:languages:python:jupyter update to latest version OBS-URL: https://build.opensuse.org/request/show/957833 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-testpath?expand=0&rev=11 --- python-testpath.changes | 11 +++++++++++ python-testpath.spec | 11 ++++++----- testpath-0.5.0.tar.gz | 3 --- testpath-0.6.0.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 8 deletions(-) delete mode 100644 testpath-0.5.0.tar.gz create mode 100644 testpath-0.6.0.tar.gz diff --git a/python-testpath.changes b/python-testpath.changes index e99bab5..29daf31 100644 --- a/python-testpath.changes +++ b/python-testpath.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Feb 26 21:25:52 UTC 2022 - Arun Persaud + +- specfile: + * update copyright year + * switch to pyproject toml build + +- update to version 0.6.0: + * Removed some code that’s unused since dropping Python 2 support. + * Relax the version constraint for the flit_core build requirement. + ------------------------------------------------------------------- Wed Oct 20 16:23:05 UTC 2021 - Ben Greiner diff --git a/python-testpath.spec b/python-testpath.spec index e56812f..b4b44e4 100644 --- a/python-testpath.spec +++ b/python-testpath.spec @@ -1,7 +1,7 @@ # # spec file for package python-testpath # -# 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 @@ -19,15 +19,16 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-testpath -Version: 0.5.0 +Version: 0.6.0 Release: 0 Summary: Test utilities for code working with files and commands License: BSD-3-Clause OR LGPL-2.1-or-later Group: Development/Languages/Python URL: https://github.com/jupyter/testpath Source0: https://files.pythonhosted.org/packages/source/t/testpath/testpath-%{version}.tar.gz +BuildRequires: %{python_module flit} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -46,10 +47,10 @@ for mocking system commands and recording calls to those. rm testpath/*.exe %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check diff --git a/testpath-0.5.0.tar.gz b/testpath-0.5.0.tar.gz deleted file mode 100644 index 46eb470..0000000 --- a/testpath-0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1acf7a0bcd3004ae8357409fc33751e16d37ccc650921da1094a86581ad1e417 -size 94021 diff --git a/testpath-0.6.0.tar.gz b/testpath-0.6.0.tar.gz new file mode 100644 index 0000000..ed4f4e2 --- /dev/null +++ b/testpath-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f1b97e6442c02681ebe01bd84f531028a7caea1af3825000f52345c30285e0f +size 93348