forked from pool/python-calmjs.parse
- Update to 1.3.4
* Use `importlib` where available. * Bump python versions for CI. * beginning calmjs.parse-1.3.4-pre * Changelog * Clean up test matrix. * Include Python 3.14 for CI * Package metadata. * calmjs.parse-1.3.4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calmjs.parse?expand=0&rev=25
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
1.3.3.tar.gz
Normal file
3
1.3.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c643ab6a0cbb66d515b37fd97d9c1bd59f2a0c70f07c47fa2673a3376689bf9
|
||||
size 259704
|
||||
3
1.3.4.tar.gz
Normal file
3
1.3.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e4a842a95e0edd8194727e96a38f80aeced3c2f40f1b6f6fc513a540a2c03289
|
||||
size 260020
|
||||
101
python-calmjs.parse.changes
Normal file
101
python-calmjs.parse.changes
Normal file
@@ -0,0 +1,101 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 14 13:34:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.3.4
|
||||
* Use `importlib` where available.
|
||||
* Bump python versions for CI.
|
||||
* beginning calmjs.parse-1.3.4-pre
|
||||
* Changelog
|
||||
* Clean up test matrix.
|
||||
* Include Python 3.14 for CI
|
||||
* Package metadata.
|
||||
* calmjs.parse-1.3.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- update to 1.3.1:
|
||||
* Modified existing ``setup.py`` hook from an install hook to a
|
||||
build hook to ensure the generated module files are present.
|
||||
Should any of those modules are missing and the required
|
||||
dependencies for are not present (i.e. ``ply`` and
|
||||
``setuptools``), the build will result in a
|
||||
non-zero exit status and the documented error message should
|
||||
reflect which of the required dependencies are missing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 08:05:31 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Use sle15_python_module_pythons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 17 17:52:41 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Generated tables should get correct *.pyc files
|
||||
- And no, this won't work with Python 2 modules. Just don't even
|
||||
try.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 15:28:20 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Update to 1.3.0:
|
||||
- Introduce the extractor unparser - an unparser that will
|
||||
unparse a valid AST into a dict.
|
||||
- Correct the JoinAttr ruletype such that the intended empty
|
||||
definition value is passed to walk if it was defined as such
|
||||
to avoid an unintended infinite recursion.
|
||||
- Will now import Iterable from the Python 3.3+ location as the
|
||||
previous location is marked for removal in Python 3.9. The import
|
||||
will still have a fallback to the previous location in order to
|
||||
maintain support for Python 2.7.
|
||||
- Provide a test case helper to ensure that the generic Program repr
|
||||
signature is provided to assist with test case portability.
|
||||
- In the calmjs.parse.vlq module, implemented the decode_vlq helper
|
||||
for completeness/symmetry to the encode_vlq helper.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 30 09:24:12 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to 1.2.4
|
||||
* Correct usage of ``__doc__`` to support level 2 optimized mode.
|
||||
* Corrected some minor string definition syntax, where raw string prefix
|
||||
should be used but was not previously.
|
||||
* Correctly include LICENSE file in sdist.
|
||||
* Include the correct test data general form for some previously added
|
||||
test cases to better accommodate already planned future features.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 14:37:01 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- fix build in SLE-15: set en_US.UTF-8 encoding
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 15:13:55 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Do not package tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 14:56:19 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Initial commit, needed by calmjs
|
||||
63
python-calmjs.parse.spec
Normal file
63
python-calmjs.parse.spec
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# spec file for package python-calmjs.parse
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-calmjs.parse
|
||||
Version: 1.3.4
|
||||
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
|
||||
Requires: python-setuptools
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A collection of parsers and helper libraries for understanding
|
||||
ECMAScript; a near feature complete fork of slimit.
|
||||
|
||||
%prep
|
||||
%setup -q -n calmjs.parse-%{version}
|
||||
|
||||
%build
|
||||
export LANG=en_US.UTF-8
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%pyunittest -v calmjs.parse.tests.make_suite
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst CHANGES.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/calmjs
|
||||
%{python_sitelib}/calmjs[-_]parse-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user