diff --git a/LICENSE b/LICENSE deleted file mode 100644 index a9979f6..0000000 --- a/LICENSE +++ /dev/null @@ -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. \ No newline at end of file diff --git a/pytest-env-0.6.2.tar.gz b/pytest-env-0.6.2.tar.gz deleted file mode 100644 index 47ff178..0000000 --- a/pytest-env-0.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7e94956aef7f2764f3c147d216ce066bf6c42948bb9e293169b1b1c880a580c2 -size 1693 diff --git a/pytest_env-0.8.1.tar.gz b/pytest_env-0.8.1.tar.gz new file mode 100644 index 0000000..5ae09b0 --- /dev/null +++ b/pytest_env-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7b2f5273ec6d1e221757998bc2f50d2474ed7d0b9331b92556011fadc4e9abf +size 6926 diff --git a/python-pytest-env.changes b/python-pytest-env.changes index 4993347..5961c1c 100644 --- a/python-pytest-env.changes +++ b/python-pytest-env.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu May 4 22:50:00 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-pytest-env.spec b/python-pytest-env.spec index b50a4c4..fca52e6 100644 --- a/python-pytest-env.spec +++ b/python-pytest-env.spec @@ -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