14
0

Accepting request 964645 from home:pgajdos:python

- do not require pytest-mock for build
- added patches
  fix https://github.com/ekalinin/nodeenv/issues/302
  + python-nodeenv-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/964645
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nodeenv?expand=0&rev=14
This commit is contained in:
2022-03-24 12:36:27 +00:00
committed by Git OBS Bridge
parent 0e73110f55
commit 075565a01d
3 changed files with 38 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-nodeenv
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,8 @@ Summary: Nodejs virtual environment builder
License: BSD-2-Clause
URL: https://github.com/ekalinin/nodeenv
Source: https://github.com/ekalinin/nodeenv/archive/%{version}.tar.gz#/nodeenv-%{version}.tar.gz
BuildRequires: %{python_module mock}
# https://github.com/ekalinin/nodeenv/issues/302
Patch0: python-nodeenv-no-mock.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -40,6 +41,7 @@ Node.js virtual environment builder.
%prep
%setup -q -n nodeenv-%{version}
%patch0 -p1
%build
%python_build