- Switch to github archive for tests

- Update to 0.5.1:
  * Fixes for new pytest
  * Drop py2 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-dotenv?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2020-06-09 08:04:08 +00:00
committed by Git OBS Bridge
parent c6de726cc9
commit d81c079710
4 changed files with 21 additions and 8 deletions

3
0.5.1.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jun 9 08:03:40 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Switch to github archive for tests
- Update to 0.5.1:
* Fixes for new pytest
* Drop py2 support
-------------------------------------------------------------------
Thu Feb 21 11:31:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-dotenv
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-dotenv
Version: 0.4.0
Version: 0.5.1
Release: 0
Summary: A pytest plugin that parses environment files
License: MIT
Group: Development/Languages/Python
URL: https://github.com/quiqua/pytest-dotenv
Source: https://files.pythonhosted.org/packages/source/p/pytest-dotenv/pytest-dotenv-%{version}.tar.gz
Source: https://github.com/quiqua/pytest-dotenv/archive/%{version}.tar.gz
BuildRequires: %{python_module pytest >= 5.0}
BuildRequires: %{python_module python-dotenv >= 0.9.1}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.6.0
Requires: python-pytest >= 5.0
Requires: python-python-dotenv >= 0.9.1
BuildArch: noarch
%python_subpackages
@@ -46,6 +48,9 @@ A py.test plugin that parses environment files before running tests.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE