From 3d3540530b79f4199df14015d75ea5f6ed54ac5c6f09a8f895531e6bd1d52502 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 7 May 2025 07:02:40 +0000 Subject: [PATCH] - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-dotenv?expand=0&rev=10 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + 0.5.2.tar.gz | 3 ++ python-pytest-dotenv.changes | 36 ++++++++++++++++++++++ python-pytest-dotenv.spec | 60 ++++++++++++++++++++++++++++++++++++ 5 files changed, 123 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 0.5.2.tar.gz create mode 100644 python-pytest-dotenv.changes create mode 100644 python-pytest-dotenv.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/0.5.2.tar.gz b/0.5.2.tar.gz new file mode 100644 index 0000000..45f349f --- /dev/null +++ b/0.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffb5efc0d8c43836c5843935b6c5b803344002a16b9423092bb43d6d1a6211aa +size 3963 diff --git a/python-pytest-dotenv.changes b/python-pytest-dotenv.changes new file mode 100644 index 0000000..ead5f40 --- /dev/null +++ b/python-pytest-dotenv.changes @@ -0,0 +1,36 @@ +------------------------------------------------------------------- +Wed May 7 06:48:41 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- +Mon Jun 29 09:48:03 UTC 2020 - Marketa Calabkova + +- Update to 0.5.2 + * Set env variables before starting pytest session + +------------------------------------------------------------------- +Tue Jun 9 08:03:40 UTC 2020 - Tomáš Chvátal + +- Switch to github archive for tests +- Update to 0.5.1: + * Fixes for new pytest + * Drop py2 support + +------------------------------------------------------------------- +Thu Feb 21 11:31:44 UTC 2019 - Tomáš Chvátal + +- Update to 0.4.0: + * Now distributes license + * Various typo fixes + +------------------------------------------------------------------- +Fri Feb 15 09:14:30 UTC 2019 - Tomáš Chvátal + +- Fix source url + +------------------------------------------------------------------- +Fri Feb 15 07:49:43 UTC 2019 - John Vandenberg + +- Initial spec for v0.3.1 diff --git a/python-pytest-dotenv.spec b/python-pytest-dotenv.spec new file mode 100644 index 0000000..c5b3401 --- /dev/null +++ b/python-pytest-dotenv.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-pytest-dotenv +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-pytest-dotenv +Version: 0.5.2 +Release: 0 +Summary: A pytest plugin that parses environment files +License: MIT +URL: https://github.com/quiqua/pytest-dotenv +Source: https://github.com/quiqua/pytest-dotenv/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest >= 5.0} +BuildRequires: %{python_module python-dotenv >= 0.9.1} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-pytest >= 5.0 +Requires: python-python-dotenv >= 0.9.1 +BuildArch: noarch +%python_subpackages + +%description +A py.test plugin that parses environment files before running tests. + +%prep +%setup -q -n pytest-dotenv-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/pytest_dotenv +%{python_sitelib}/pytest_dotenv-%{version}.dist-info + +%changelog