8 Commits

Author SHA256 Message Date
1f383db9c8 Accepting request 1282976 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dukpy?expand=0&rev=12
2025-06-05 18:34:42 +00:00
b9e875cdc0 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dukpy?expand=0&rev=25
2025-06-05 06:08:30 +00:00
265fcd5389 Accepting request 1239277 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dukpy?expand=0&rev=11
2025-01-21 20:11:05 +00:00
602b8732f2 Accepting request 1239275 from home:mcalabkova:branches:devel:languages:python
- Avoid the webassets dependency on Leap 16

OBS-URL: https://build.opensuse.org/request/show/1239275
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dukpy?expand=0&rev=23
2025-01-21 12:39:16 +00:00
82735150f5 Accepting request 1223758 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1223758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dukpy?expand=0&rev=10
2024-11-13 14:28:27 +00:00
b2eb8fc3a4 Accepting request 1223645 from home:glaubitz:branches:devel:languages:python
- Update to version 0.5.0
  * Upgrade duktape to 50af773
  * Testing and binary distribution for Python 3.13
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1223645
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dukpy?expand=0&rev=21
2024-11-12 17:07:58 +00:00
8feb9ac821 Accepting request 1183303 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1183303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dukpy?expand=0&rev=9
2024-06-27 14:01:03 +00:00
00e14fd6ee Accepting request 1183281 from home:alois:branches:devel:languages:python
- Update to version 0.4.0
  * fix: prevent crash with unicode emoji
  * Switched to CESU-8 for encoding
- Update test/runtime requirements

OBS-URL: https://build.opensuse.org/request/show/1183281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dukpy?expand=0&rev=19
2024-06-26 07:02:15 +00:00
4 changed files with 39 additions and 9 deletions

View File

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

3
dukpy-0.5.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Thu Jun 5 06:01:38 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Jan 21 12:23:21 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Avoid the webassets dependency on Leap 16
-------------------------------------------------------------------
Tue Nov 12 11:15:49 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.5.0
* Upgrade duktape to 50af773
* Testing and binary distribution for Python 3.13
- Update BuildRequires and Requires from setup.py
-------------------------------------------------------------------
Wed Jun 26 05:12:11 UTC 2024 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 0.4.0
* fix: prevent crash with unicode emoji
* Switched to CESU-8 for encoding
- Update test/runtime requirements
-------------------------------------------------------------------
Sat Apr 6 19:12:37 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dukpy
#
# Copyright (c) 2024 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
@@ -17,22 +17,26 @@
Name: python-dukpy
Version: 0.3.1
Version: 0.5.0
Release: 0
Summary: JavaScript interpreter for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/amol-/dukpy
Source: https://github.com/amol-/dukpy/archive/%{version}.tar.gz
Source: https://github.com/amol-/dukpy/archive/%{version}.tar.gz#/dukpy-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module webassets}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
%if 0%{?suse_version} >= 1699
BuildRequires: %{python_module webassets}
Recommends: python-webassets
%endif
%python_subpackages
%description
@@ -58,10 +62,10 @@ sed -i 's:import mock:from unittest import mock:' tests/test_evaljs.py
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/dukpy
%python_clone -a %{buildroot}%{_bindir}/dukpy-install
%python_expand %fdupes %{buildroot}%{$python_sitearch}