14
0

- update to 1.8.0:

* Changes:
  * #312
  * #313
  * #317
  * #320
  * #327
  * #329
  * #330
- drop python-nodeenv-no-mock.patch (obsolete)
  * M1 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nodeenv?expand=0&rev=20
This commit is contained in:
2023-12-20 07:12:32 +00:00
committed by Git OBS Bridge
parent d2bf202889
commit 22535c7bb1
5 changed files with 22 additions and 36 deletions

View File

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

3
nodeenv-1.8.0.tar.gz Normal file
View File

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

View File

@@ -1,26 +0,0 @@
Index: nodeenv-1.6.0/tests/nodeenv_test.py
===================================================================
--- nodeenv-1.6.0.orig/tests/nodeenv_test.py 2021-04-09 10:10:31.000000000 +0200
+++ nodeenv-1.6.0/tests/nodeenv_test.py 2022-03-24 12:24:46.558624770 +0100
@@ -7,7 +7,7 @@ import subprocess
import sys
import sysconfig
-import mock
+import unittest.mock as mock
import pytest
import nodeenv
Index: nodeenv-1.6.0/tests/test_install_activate.py
===================================================================
--- nodeenv-1.6.0.orig/tests/test_install_activate.py 2021-04-09 10:10:31.000000000 +0200
+++ nodeenv-1.6.0/tests/test_install_activate.py 2022-03-24 12:26:03.387083907 +0100
@@ -1,7 +1,7 @@
import sys
import os
-import mock
+import unittest.mock as mock
import pytest
import nodeenv

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Dec 20 07:11:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.8.0:
* Changes:
* #312
* #313
* #317
* #320
* #327
* #329
* #330
- drop python-nodeenv-no-mock.patch (obsolete)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 23 09:54:32 UTC 2023 - Matthias Bach <marix@marix.org> Thu Nov 23 09:54:32 UTC 2023 - Matthias Bach <marix@marix.org>

View File

@@ -15,24 +15,23 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?sle15allpythons} %{?sle15allpythons}
Name: python-nodeenv Name: python-nodeenv
Version: 1.7.0 Version: 1.8.0
Release: 0 Release: 0
Summary: Nodejs virtual environment builder Summary: Nodejs virtual environment builder
License: BSD-2-Clause License: BSD-2-Clause
URL: https://github.com/ekalinin/nodeenv URL: https://github.com/ekalinin/nodeenv
Source: https://github.com/ekalinin/nodeenv/archive/%{version}.tar.gz#/nodeenv-%{version}.tar.gz Source: https://github.com/ekalinin/nodeenv/archive/%{version}.tar.gz#/nodeenv-%{version}.tar.gz
# https://github.com/ekalinin/nodeenv/issues/302
Patch0: python-nodeenv-no-mock.patch
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools Requires: python-setuptools
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -40,8 +39,7 @@ BuildArch: noarch
Node.js virtual environment builder. Node.js virtual environment builder.
%prep %prep
%setup -q -n nodeenv-%{version} %autosetup -p1 -n nodeenv-%{version}
%patch0 -p1
%build %build
%python_build %python_build