!3 Upgrade package to latest release [python-pytest-env: 0.6.2 -> 0.8.2]

From: @mengzhaoa 
Reviewed-by: @xiyuanwang 
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2023-07-06 08:54:50 +00:00 committed by Gitee
commit b9f8306a17
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 12 additions and 9 deletions

Binary file not shown.

BIN
pytest-env-0.8.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-pytest-env
Version: 0.6.2
Version: 0.8.2
Release: 1
Summary: py.test plugin that allows you to add environment variables.
License: MIT
URL: https://github.com/MobileDynasty/pytest-env
Source0: https://files.pythonhosted.org/packages/f9/6e/31efb8dc1d17052c12f39262223e94038bfcc4cc7a124235630a6d50f166/pytest-env-0.6.2.tar.gz
URL: https://github.com/pytest-dev/pytest-env
Source0: https://github.com/pytest-dev/pytest-env/archive/refs/tags/0.8.2.tar.gz#/pytest-env-%{version}.tar.gz
BuildArch: noarch
%description
py.test plugin that allows you to add environment variables.
@ -13,6 +13,7 @@ py.test plugin that allows you to add environment variables.
%package -n python3-pytest-env
Summary: py.test plugin that allows you to add environment variables.
Provides: python-pytest-env
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@ -20,6 +21,9 @@ BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-pytest
BuildRequires: python3-hatchling
BuildRequires: python3-hatch-vcs
%description -n python3-pytest-env
py.test plugin that allows you to add environment variables.
@ -33,10 +37,10 @@ py.test plugin that allows you to add environment variables.
%autosetup -n pytest-env-%{version}
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
@ -64,16 +68,15 @@ popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check
%{__python3} setup.py test
%files -n python3-pytest-env -f filelist.lst
%dir %{python3_sitelib}/*
%{python3_sitelib}/pytest_env/__pycache__/
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Wed Jul 5 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 0.8.2-1
- Upgrade package python3-pytest-env of version 0.8.2
* Thu Jun 23 2022 OpenStack_SIG <openstack@openeuler.org> - 0.6.2-1
- Init package python3-pytest-env of version 0.6.2