Tomáš Chvátal
2019-02-15 09:19:16 +00:00
committed by Git OBS Bridge
parent 9a27cfcb50
commit 60cbbd5554
3 changed files with 25 additions and 6 deletions

View File

@@ -25,16 +25,13 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/quiqua/pytest-dotenv
Source: https://files.pythonhosted.org/packages/source/p/pytest-dotenv/pytest-dotenv-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/quiqua/pytest-dotenv/master/LICENSE
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.6.0
Requires: python-python-dotenv >= 0.9.1
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 2.6.0}
BuildRequires: %{python_module python-dotenv >= 0.9.1}
# /SECTION
%python_subpackages
%description
@@ -42,6 +39,7 @@ A py.test plugin that parses environment files before running tests.
%prep
%setup -q -n pytest-dotenv-%{version}
cp %{SOURCE1} .
%build
%python_build