- 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
This commit is contained in:
2025-05-07 07:02:40 +00:00
committed by Git OBS Bridge
commit 3d3540530b
5 changed files with 123 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
0.5.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffb5efc0d8c43836c5843935b6c5b803344002a16b9423092bb43d6d1a6211aa
size 3963

View File

@@ -0,0 +1,36 @@
-------------------------------------------------------------------
Wed May 7 06:48:41 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Mon Jun 29 09:48:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 0.5.2
* Set env variables before starting pytest session
-------------------------------------------------------------------
Tue Jun 9 08:03:40 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <tchvatal@suse.com>
- Update to 0.4.0:
* Now distributes license
* Various typo fixes
-------------------------------------------------------------------
Fri Feb 15 09:14:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Fix source url
-------------------------------------------------------------------
Fri Feb 15 07:49:43 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.3.1

60
python-pytest-dotenv.spec Normal file
View File

@@ -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