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
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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> Tue Jan 21 12:23:21 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -25,8 +25,10 @@ Group: Development/Languages/Python
URL: https://github.com/amol-/dukpy URL: https://github.com/amol-/dukpy
Source: https://github.com/amol-/dukpy/archive/%{version}.tar.gz#/dukpy-%{version}.tar.gz Source: https://github.com/amol-/dukpy/archive/%{version}.tar.gz#/dukpy-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives Requires(post): update-alternatives
@@ -60,10 +62,10 @@ sed -i 's:import mock:from unittest import mock:' tests/test_evaljs.py
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/dukpy %python_clone -a %{buildroot}%{_bindir}/dukpy
%python_clone -a %{buildroot}%{_bindir}/dukpy-install %python_clone -a %{buildroot}%{_bindir}/dukpy-install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}