diff --git a/pytest-env-0.6.2.tar.gz b/pytest-env-0.6.2.tar.gz deleted file mode 100644 index af74977959e312c1e2ee811cc7eb546d2afc821d..0000000000000000000000000000000000000000 Binary files a/pytest-env-0.6.2.tar.gz and /dev/null differ diff --git a/pytest-env-0.8.2.tar.gz b/pytest-env-0.8.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d139072d902c3ecbcaa27538b9cd72b87de00fcc Binary files /dev/null and b/pytest-env-0.8.2.tar.gz differ diff --git a/python-pytest-env.spec b/python-pytest-env.spec index b22b783d629fc04a0fcea9a7e37e61efa27fdd42..a0c281269e7c767e16fd18fb3032d244cbde1b22 100644 --- a/python-pytest-env.spec +++ b/python-pytest-env.spec @@ -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 - 0.8.2-1 +- Upgrade package python3-pytest-env of version 0.8.2 * Thu Jun 23 2022 OpenStack_SIG - 0.6.2-1 - Init package python3-pytest-env of version 0.6.2