From 9baaae80a94697d803632ae6400e6fbb819172a694007df72930d2b55035a437 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 May 2023 22:51:06 +0000 Subject: [PATCH 1/3] - 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 --- pytest-env-0.6.2.tar.gz | 3 --- pytest_env-0.8.1.tar.gz | 3 +++ python-pytest-env.changes | 8 ++++++++ python-pytest-env.spec | 19 ++++++++++--------- 4 files changed, 21 insertions(+), 12 deletions(-) delete mode 100644 pytest-env-0.6.2.tar.gz create mode 100644 pytest_env-0.8.1.tar.gz 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..0cc1185 100644 --- a/python-pytest-env.changes +++ b/python-pytest-env.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +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 + ------------------------------------------------------------------- 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 From e02ea5644b0fb5eb26ab5739e94de90dfb0a0ad1b6f4a7773abc1cd3f0ae6aaf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 May 2023 22:51:11 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-env?expand=0&rev=11 --- LICENSE | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 LICENSE 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 From 8cfeb34c7866ac388ed5e8b2dd84e58c2c0a760fca2f29d13f8f61188b382d0f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 May 2023 22:51:28 +0000 Subject: [PATCH 3/3] * ADd mention of pyproject.toml in README.md - use packaged LICENSE OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-env?expand=0&rev=12 --- python-pytest-env.changes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-pytest-env.changes b/python-pytest-env.changes index 0cc1185..5961c1c 100644 --- a/python-pytest-env.changes +++ b/python-pytest-env.changes @@ -4,7 +4,8 @@ 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 + * ADd mention of pyproject.toml in README.md +- use packaged LICENSE ------------------------------------------------------------------- Fri Apr 21 12:31:34 UTC 2023 - Dirk Müller