forked from pool/python-mathics-pygments
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
28106f1a4f | |||
23f0c36069 | |||
f65816640c | |||
89e76c7fdc |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:70121208eb13be0d1795bda1890bfd7e3b856bbc2e0b9891119ca5ae97de51ac
|
|
||||||
size 57514
|
|
3
mathics_pygments-1.0.4.tar.gz
Normal file
3
mathics_pygments-1.0.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be9473aca69f785ec73287aa7d7a85b91c02347ba51c9c32b7fe95288b5c8bb4
|
||||||
|
size 63142
|
@@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 6 12:28:50 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.0.4:
|
||||||
|
* Add code for reading the YAML takes from the Mathics project.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 13 10:28:22 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.0.3:
|
||||||
|
* Update Python style (black).
|
||||||
|
* Import order (isort).
|
||||||
|
* Convert test to pytest.
|
||||||
|
* Fix spelling errors.
|
||||||
|
* Add code of conduct.
|
||||||
|
- Use pip/wheel based macros for build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 30 00:51:10 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
Sun Jan 30 00:51:10 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-mathics_pygments
|
# spec file for package python-mathics-pygments
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,20 +19,21 @@
|
|||||||
%define modname mathics_pygments
|
%define modname mathics_pygments
|
||||||
# Mathics-Scanner does not support python2
|
# Mathics-Scanner does not support python2
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-mathics-pygments
|
Name: python-mathics-pygments
|
||||||
Version: 1.0.2
|
Version: 1.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Mathematica/Wolfram Language Lexer for Pygments
|
Summary: Mathematica/Wolfram Language Lexer for Pygments
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/Mathics3/mathics-pygments/
|
URL: http://github.com/Mathics3/mathics-pygments/
|
||||||
Source: https://github.com/Mathics3/mathics-pygments/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
Source: https://github.com/Mathics3/mathics-pygments/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module Mathics-Scanner >= 1.2.0}
|
BuildRequires: %{python_module Mathics-Scanner >= 1.2.0}
|
||||||
BuildRequires: %{python_module Pygments >= 2}
|
BuildRequires: %{python_module Pygments >= 2}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-Mathics-Scanner >= 1.2.0
|
Requires: python-Mathics-Scanner >= 1.2.0
|
||||||
@@ -48,10 +49,10 @@ pygments engine.
|
|||||||
%setup -q -n mathics-pygments-%{version}
|
%setup -q -n mathics-pygments-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -61,6 +62,6 @@ pygments engine.
|
|||||||
%doc CHANGES.rst README.md
|
%doc CHANGES.rst README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/%{modname}/
|
%{python_sitelib}/%{modname}/
|
||||||
%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/
|
%{python_sitelib}/%{modname}-%{version}*.*-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user