15
0

Accepting request 1247396 from home:glaubitz:branches:devel:languages:python

- Update to 0.8.0
  * Modernize repo.
  * Officially support Python up to 3.13.
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1247396
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pscript?expand=0&rev=22
This commit is contained in:
2025-02-20 13:22:01 +00:00
committed by Git OBS Bridge
parent 95465b0a4f
commit 133e586665
4 changed files with 15 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pscript
#
# 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
@@ -18,12 +18,13 @@
%define modname pscript
Name: python-pscript
Version: 0.7.7
Version: 0.8.0
Release: 0
Summary: Python to JavaScript compiler
License: BSD-2-Clause
URL: https://github.com/flexxui/pscript
Source: https://github.com/flexxui/%{modname}/archive/v%{version}/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -53,13 +54,12 @@ of Python that this compiler supports.
%check
# https://github.com/flexxui/pscript/issues/69
%pytest -k 'not test_async_and_await' pscript/tests
%pytest -k 'not test_async_and_await' tests
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/pscript
%{python_sitelib}/pscript_legacy
%{python_sitelib}/pscript-%{version}.dist-info
%changelog