forked from pool/python-pytest-dotenv
Accepting request 1275094 from devel:languages:python:pytest
- Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/request/show/1275094 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-dotenv?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Mon Jun 29 09:48:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-dotenv
|
# spec file for package python-pytest-dotenv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-pytest-dotenv
|
Name: python-pytest-dotenv
|
||||||
Version: 0.5.2
|
Version: 0.5.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,9 +23,11 @@ Summary: A pytest plugin that parses environment files
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/quiqua/pytest-dotenv
|
URL: https://github.com/quiqua/pytest-dotenv
|
||||||
Source: https://github.com/quiqua/pytest-dotenv/archive/%{version}.tar.gz
|
Source: https://github.com/quiqua/pytest-dotenv/archive/%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 5.0}
|
BuildRequires: %{python_module pytest >= 5.0}
|
||||||
BuildRequires: %{python_module python-dotenv >= 0.9.1}
|
BuildRequires: %{python_module python-dotenv >= 0.9.1}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pytest >= 5.0
|
Requires: python-pytest >= 5.0
|
||||||
@@ -42,10 +42,10 @@ A py.test plugin that parses environment files before running tests.
|
|||||||
%setup -q -n pytest-dotenv-%{version}
|
%setup -q -n pytest-dotenv-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -54,6 +54,7 @@ A py.test plugin that parses environment files before running tests.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pytest_dotenv
|
||||||
|
%{python_sitelib}/pytest_dotenv-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user