- update to 0.8.1:

* Use hatchling and wheel
  * Add R: prefix implementation and unit tests
  * ADd mention of pyproject.toml in README.md

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-env?expand=0&rev=10
This commit is contained in:
Dirk Mueller 2023-05-04 22:51:06 +00:00 committed by Git OBS Bridge
parent 5e879885c6
commit 9baaae80a9
4 changed files with 21 additions and 12 deletions

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,11 @@
-------------------------------------------------------------------
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
-------------------------------------------------------------------
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