Accepting request 1086640 from devel:languages:python:pytest

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1086640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-env?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-05-13 15:17:00 +00:00 committed by Git OBS Bridge
commit fd39910e89
5 changed files with 22 additions and 31 deletions

19
LICENSE
View File

@ -1,19 +0,0 @@
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

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

BIN
pytest_env-0.8.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu May 4 22:50:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.8.1:
* Use hatchling and wheel
* Add R: prefix implementation and unit tests
* ADd mention of pyproject.toml in README.md
- use packaged LICENSE
-------------------------------------------------------------------
Fri Apr 21 12:31:34 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -18,15 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-pytest-env
Version: 0.6.2
Version: 0.8.1
Release: 0
Summary: Pytest plugin to add environment variables
License: MIT
Group: Development/Languages/Python
URL: https://github.com/MobileDynasty/pytest-env
Source: https://files.pythonhosted.org/packages/source/p/pytest-env/pytest-env-%{version}.tar.gz
Source10: https://raw.githubusercontent.com/MobileDynasty/pytest-env/master/LICENSE
BuildRequires: %{python_module setuptools}
Source: https://files.pythonhosted.org/packages/source/p/pytest-env/pytest_env-%{version}.tar.gz
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.6.0
@ -37,18 +38,18 @@ BuildArch: noarch
A py.test plugin that allows you to add environment variables.
%prep
%setup -q -n pytest-env-%{version}
cp %{SOURCE10} .
%setup -q -n pytest_env-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_env
%{python_sitelib}/pytest_env-%{version}.dist-info
%changelog