Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
538c5c7f89
!57 upgrade to version 2.17.2
From: @zhaotianyang_z 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2024-01-30 12:07:05 +00:00
zhaotianyang_z
0879eb5c77 upgrade version to 1.38 2024-01-30 15:55:52 +08:00
openeuler-ci-bot
c34e7e6240
!49 Update package to version 2.16.1
From: @desert-sailor 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2023-11-07 06:04:55 +00:00
desert-sailor
b6d7a40620 Update package to version 2.16.1 2023-11-07 11:11:50 +08:00
openeuler-ci-bot
24e1f8e4f2
!43 update package to the latest version of 2.15.1
From: @li-miaomiao_zhr 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2023-06-28 03:15:09 +00:00
li-miaomiao_zhr
eeb03277e4 update package to the latest version of 2.15.1 2023-06-25 17:40:48 +08:00
openeuler-ci-bot
0752ab7452
!38 Fix "do concurrent" and "go to" keywords in the Fortran
From: @cao-fei8 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-17 09:24:35 +00:00
cao-fei8
cb76d10eb3 Fix "do concurrent" and "go to" keywords in the Fortran
Reference:
a049b53911

Signed-off-by: cao-fei8 <caofei@xfusion.com>
2023-01-16 22:17:57 +08:00
openeuler-ci-bot
1cd962c048
!33 fixed typo
From: @cao-fei8 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-13 09:59:35 +00:00
cao-fei8
569ba1e863 fixed typo
Reference:
8eb17ae054

Signed-off-by: cao-fei8 <caofei@xfusion.com>
2023-01-13 15:29:26 +08:00
3 changed files with 27 additions and 24 deletions

Binary file not shown.

BIN
pygments-2.17.2.tar.gz Normal file

Binary file not shown.

View File

@ -13,14 +13,13 @@ need to prettify source code. Highlights are: \
* it is usable as a command-line tool and as a library \
* and it highlights even Perl 6!
%bcond_with docs
%bcond_without tests
Name: python-pygments
Summary: Syntax highlighting engine written in Python
Version: 2.10.0
Release: 3
Version: 2.17.2
Release: 1
License: BSD-2-Clause
URL: http://pygments.org/
Source0: https://pypi.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
Source0: https://pypi.org/packages/source/P/Pygments/pygments-%{version}.tar.gz
BuildArch: noarch
@ -29,12 +28,15 @@ BuildArch: noarch
%package -n python3-pygments
BuildRequires: python3-devel, python3-setuptools
%if %{with tests}
BuildRequires: python3-pytest
%endif
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%if %{with docs}
BuildRequires: python3-sphinx python3-pip
%endif
Summary: Syntax highlighting engine written in Python
%{?python_provide:%python_provide python3-pygments}
@ -44,26 +46,13 @@ Summary: Syntax highlighting engine written in Python
%package_help
%prep
%autosetup -p1 -n Pygments-%{version}
%autosetup -p1 -n pygments-%{version}
%build
%{__sed} -i 's/\r//' LICENSE
%py3_build
%pyproject_build
%install
%py3_install
%if %{with docs}
%{__python3} setup.py build_sphinx
rm -rf build/sphinx/html/.buildinfo
install doc/pygmentize.1 -Dt %{buildroot}%{_mandir}/man1/
chmod -x %{buildroot}%{_mandir}/man1/*.1
%endif
cp -r doc/docs doc/reST
%if %{with tests}
%check
make test
%endif
%pyproject_install
%files -n python3-pygments
%license LICENSE
@ -71,13 +60,27 @@ make test
%{_bindir}/pygmentize
%files help
%doc AUTHORS CHANGES doc/reST
%if %{with docs}
%lang(en) %{_mandir}/man1/pygmentize.1*
%doc build/sphinx/html
%endif
%changelog
* Tue Jan 30 2024 zhaotianyang_z <zhaotianyang4@huawei.com> - 2.17.2-1
- upgrade package to version 2.17.2
* Tue Nov 7 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.16.1-1
- Update package to version 2.16.1
* Sun Jun 25 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 2.15.1-1
- update package to the latest version of 2.15.1
* Tue Jan 17 2023 caofei <caofei@xfusion.com> - 2.10.0-5
- Fix "do concurrent" and "go to" keywords in the Fortran
* Fri Jan 13 2023 caofei <caofei@xfusion.com> - 2.10.0-4
- fixed typo
* Wed May 11 2022 wulei <wulei80@h-partners.com> - 2.10.0-3
- License compliance rectification