10 Commits

Author SHA256 Message Date
36baaf9ce6 Accepting request 1300759 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nodeenv?expand=0&rev=15
2025-08-22 15:47:05 +00:00
799e0793ea - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nodeenv?expand=0&rev=30
2025-08-21 10:01:19 +00:00
cf489a0a34 Accepting request 1293812 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1293812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nodeenv?expand=0&rev=14
2025-07-17 15:17:11 +00:00
d08647a716 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nodeenv?expand=0&rev=28
2025-07-16 12:59:38 +00:00
90ff077820 Accepting request 1274277 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1274277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nodeenv?expand=0&rev=13
2025-05-06 14:38:28 +00:00
f23d41fe07 - Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nodeenv?expand=0&rev=26
2025-05-05 03:00:34 +00:00
78ef1f09f0 Accepting request 1223960 from devel:languages:python
- Fix package license to BSD-3-Clause

OBS-URL: https://build.opensuse.org/request/show/1223960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nodeenv?expand=0&rev=12
2024-11-13 14:29:51 +00:00
d0a38230a3 - Fix package license to BSD-3-Clause
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nodeenv?expand=0&rev=24
2024-11-13 13:47:35 +00:00
f9539953f7 Accepting request 1218879 from devel:languages:python
- update to 1.9.1:
  * #358
  * #338
  * #347
  * #348
  * #345
  * #342
  * #346

OBS-URL: https://build.opensuse.org/request/show/1218879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nodeenv?expand=0&rev=11
2024-10-29 13:36:31 +00:00
1f316466eb - update to 1.9.1:
* #358
  * #338
  * #347
  * #348
  * #345
  * #342
  * #346

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nodeenv?expand=0&rev=22
2024-10-28 22:04:16 +00:00
4 changed files with 61 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
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.

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Thu Aug 21 10:00:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Wed Jul 16 12:59:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Mon May 5 02:59:57 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-nodeenv
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,34 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15allpythons}
Name: python-nodeenv
Version: 1.8.0
Version: 1.9.1
Release: 0
Summary: Nodejs virtual environment builder
License: BSD-2-Clause
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 pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages
%description
@@ -42,10 +53,10 @@ Node.js virtual environment builder.
%autosetup -p1 -n nodeenv-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/nodeenv
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -59,10 +70,15 @@ Node.js virtual environment builder.
%postun
%python_uninstall_alternative nodeenv
%pre
%python_libalternatives_reset_alternative nodeenv
%files %{python_files}
%doc CHANGES README.rst
%license LICENSE
%python_alternative %{_bindir}/nodeenv
%{python_sitelib}/*
%{python_sitelib}/nodeenv.py
%pycache_only %{python_sitelib}/__pycache__/nodeenv.*.pyc
%{python_sitelib}/nodeenv-%{version}.dist-info
%changelog