17
0

Compare commits

6 Commits

Author SHA256 Message Date
5534167e52 Accepting request 1285949 from devel:languages:python
- Switch to pyroject macros.

OBS-URL: https://build.opensuse.org/request/show/1285949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-calmjs.parse?expand=0&rev=10
2025-06-16 09:12:59 +00:00
ac731b1b70 - Switch to pyroject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calmjs.parse?expand=0&rev=23
2025-06-16 06:18:43 +00:00
a2fdfd3a8d Accepting request 1243035 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1243035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-calmjs.parse?expand=0&rev=9
2025-02-04 17:13:42 +00:00
10c766900f Accepting request 1242866 from home:glaubitz:branches:devel:languages:python
- Update to 1.3.3
  * Revert the usage of ``lru_cache`` as that isn't being hit as expected,
    and that the benefits it brings is too negligible to bring back given
    the extremely limited cache hits.

OBS-URL: https://build.opensuse.org/request/show/1242866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calmjs.parse?expand=0&rev=21
2025-02-04 10:19:46 +00:00
1314c12e76 Accepting request 1217048 from devel:languages:python
- update to 1.3.2:
  * Ensure building from source tree under Python 3.13 works.
  * Dropped support for building under Python 2 in source tree. [
    #44 ]

OBS-URL: https://build.opensuse.org/request/show/1217048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-calmjs.parse?expand=0&rev=8
2024-10-23 19:09:49 +00:00
8990fde0d6 - update to 1.3.2:
* Ensure building from source tree under Python 3.13 works.
  * Dropped support for building under Python 2 in source tree. [
    #44 ]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calmjs.parse?expand=0&rev=19
2024-10-22 13:59:01 +00:00
4 changed files with 32 additions and 9 deletions

View File

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

3
1.3.3.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Mon Jun 16 06:12:16 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
-------------------------------------------------------------------
Mon Feb 3 14:57:11 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.3.3
* Revert the usage of ``lru_cache`` as that isn't being hit as expected,
and that the benefits it brings is too negligible to bring back given
the extremely limited cache hits.
-------------------------------------------------------------------
Tue Oct 22 13:58:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.3.2:
* Ensure building from source tree under Python 3.13 works.
* Dropped support for building under Python 2 in source tree. [
#44 ]
-------------------------------------------------------------------
Fri Nov 10 11:43:35 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-calmjs.parse
#
# 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
@@ -18,14 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-calmjs.parse
Version: 1.3.1
Version: 1.3.3
Release: 0
Summary: Various parsers for ECMA standards
License: MIT
URL: https://github.com/calmjs/calmjs.parse
Source: https://github.com/calmjs/calmjs.parse/archive/%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module ply >= 3.6}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-ply >= 3.6
@@ -42,11 +44,10 @@ ECMAScript; a near feature complete fork of slimit.
%build
export LANG=en_US.UTF-8
%python_build
%python_expand PYTHONPATH=build/lib $python -m calmjs.parse.parsers.optimize
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -56,6 +57,7 @@ export LANG=en_US.UTF-8
%files %{python_files}
%doc README.rst CHANGES.rst
%license LICENSE
%{python_sitelib}/calmjs*
%{python_sitelib}/calmjs
%{python_sitelib}/calmjs[-_]parse-%{version}.dist-info
%changelog