Accepting request 1084904 from devel:languages:python:pytest

- update to 1.4.1:
  * Replace usage of ``tmpdir`` by ``tmp_path``
  * Fix package so the ``LICENSE`` file is no longer in the root
    of the package.
  * Python 3.9 and 3.10 are now officially supported.
  * Python 2.7, 3.4 and 3.5 are no longer supported.

OBS-URL: https://build.opensuse.org/request/show/1084904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-datadir?expand=0&rev=4
This commit is contained in:
2023-05-09 11:06:28 +00:00
committed by Git OBS Bridge
4 changed files with 18 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3af1e738df87515ee509d6135780f25a15959766d9c2b2dbe02bf4fb979cb18
size 15230

BIN
pytest-datadir-1.4.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu May 4 23:11:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.4.1:
* Replace usage of ``tmpdir`` by ``tmp_path``
* Fix package so the ``LICENSE`` file is no longer in the root
of the package.
* Python 3.9 and 3.10 are now officially supported.
* Python 2.7, 3.4 and 3.5 are no longer supported.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 8 07:39:47 UTC 2021 - pgajdos@suse.com Wed Dec 8 07:39:47 UTC 2021 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-datadir # spec file for package python-pytest-datadir
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
Name: python-pytest-datadir Name: python-pytest-datadir
Version: 1.3.1 Version: 1.4.1
Release: 0 Release: 0
Summary: Plugin for test data directories and files Summary: Plugin for test data directories and files
License: MIT License: MIT
@@ -48,7 +48,6 @@ pytest plugin for test data directories and files.
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
rm %{buildroot}%{_prefix}/LICENSE
%check %check
%pytest %pytest
@@ -56,6 +55,7 @@ rm %{buildroot}%{_prefix}/LICENSE
%files %{python_files} %files %{python_files}
%doc AUTHORS CHANGELOG.rst README.md %doc AUTHORS CHANGELOG.rst README.md
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/pytest_datadir
%{python_sitelib}/pytest_datadir*.egg-info
%changelog %changelog