15
0

- Fix package license to BSD-3-Clause

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nodeenv?expand=0&rev=24
This commit is contained in:
2024-11-13 13:47:35 +00:00
committed by Git OBS Bridge
commit 5ade26e682
6 changed files with 194 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
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

BIN
nodeenv-1.9.1.tar.gz LFS Normal file

Binary file not shown.

97
python-nodeenv.changes Normal file
View File

@@ -0,0 +1,97 @@
-------------------------------------------------------------------
Wed Nov 13 13:47:10 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Fix package license to BSD-3-Clause
-------------------------------------------------------------------
Mon Oct 28 22:04:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.9.1:
* #358
* #338
* #347
* #348
* #345
* #342
* #346
-------------------------------------------------------------------
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>
- Also build for modern Python on Leap.
- Drop explicit definition of %python_module in the spec file.
This is nowadays defined on all distributions we build for.
-------------------------------------------------------------------
Tue Jul 19 11:46:53 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.7.0:
* improved m1 support
* drop python 3.4-3.6
-------------------------------------------------------------------
Thu Mar 24 11:47:05 UTC 2022 - pgajdos@suse.com
- do not require pytest-mock for build
- added patches
fix https://github.com/ekalinin/nodeenv/issues/302
+ python-nodeenv-no-mock.patch
-------------------------------------------------------------------
Thu Jun 17 21:09:12 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.6.0:
* M1 support
-------------------------------------------------------------------
Wed Sep 16 11:25:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.5.0:
* ignore ssl option, MSYS2 support
-------------------------------------------------------------------
Sun Jun 14 09:34:58 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.4.0:
* a new way of the mirroring; some fixes
-------------------------------------------------------------------
Thu May 21 10:56:37 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
-------------------------------------------------------------------
Mon Mar 16 10:52:58 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.3.5
-------------------------------------------------------------------
Tue Oct 22 05:40:06 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite
-------------------------------------------------------------------
Tue Apr 04 13:15:06 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add Python 3 with single spec
- Update to v1.3.3
-------------------------------------------------------------------
Fri Jan 13 19:27:35 UTC 2017 - mardnh@gmx.de
- initial package, version 1.0.0

67
python-nodeenv.spec Normal file
View File

@@ -0,0 +1,67 @@
#
# spec file for package python-nodeenv
#
# Copyright (c) 2024 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/
#
%{?sle15allpythons}
Name: python-nodeenv
Version: 1.9.1
Release: 0
Summary: Nodejs virtual environment builder
License: BSD-3-Clause
URL: https://github.com/ekalinin/nodeenv
Source: https://github.com/ekalinin/nodeenv/archive/%{version}.tar.gz#/nodeenv-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
Node.js virtual environment builder.
%prep
%autosetup -p1 -n nodeenv-%{version}
%build
%python_build
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/nodeenv
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# test_smoke is an integration test requiring network access.
%pytest -k 'not test_smoke'
%post
%python_install_alternative nodeenv
%postun
%python_uninstall_alternative nodeenv
%files %{python_files}
%doc CHANGES README.rst
%license LICENSE
%python_alternative %{_bindir}/nodeenv
%{python_sitelib}/*
%changelog