1 Star 0 Fork 25

AccessOK/python-pygments

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pygments.spec 2.89 KB
一键复制 编辑 原始数据 按行查看 历史
zhaotianyang 提交于 2024-01-30 15:55 . upgrade version to 1.38
%global _description \
Pygments is a generic syntax highlighter suitable for use \
in code hosting, forums, wikis or other applications that \
need to prettify source code. Highlights are: \
* a wide range of over 500 languages and other text \
formats is supported \
* special attention is paid to details that increase \
highlighting quality \
* support for new languages and formats are added easily; \
most languages use a simple regex-based lexing mechanism \
* a number of output formats is available, among them HTML, \
RTF, LaTeX and ANSI sequences \
* it is usable as a command-line tool and as a library \
* … and it highlights even Perl 6!
%bcond_with docs
Name: python-pygments
Summary: Syntax highlighting engine written in Python
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
BuildArch: noarch
%description
%{_description}
%package -n python3-pygments
BuildRequires: python3-devel, python3-setuptools
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}
%description -n python3-pygments
%{_description}
%package_help
%prep
%autosetup -p1 -n pygments-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-pygments
%license LICENSE
%{python3_sitelib}/*
%{_bindir}/pygmentize
%files help
%if %{with docs}
%lang(en) %{_mandir}/man1/pygmentize.1*
%doc build/sphinx/html
%endif
%changelog
* Tue Jan 30 2024 zhaotianyang_z <[email protected]> - 2.17.2-1
- upgrade package to version 2.17.2
* Tue Nov 7 2023 Dongxing Wang <[email protected]> - 2.16.1-1
- Update package to version 2.16.1
* Sun Jun 25 2023 li-miaomiao_zhr <[email protected]> - 2.15.1-1
- update package to the latest version of 2.15.1
* Tue Jan 17 2023 caofei <[email protected]> - 2.10.0-5
- Fix "do concurrent" and "go to" keywords in the Fortran
* Fri Jan 13 2023 caofei <[email protected]> - 2.10.0-4
- fixed typo
* Wed May 11 2022 wulei <[email protected]> - 2.10.0-3
- License compliance rectification
* Thu Feb 03 2022 Liu Zixian <[email protected]> -2.10.0-2
- Disable doc temporarily to break build dependency.
* Mon Dec 20 2021 renhongxun <[email protected]> - 2.10.0-1
- Upgrade version to 2.10.0
* Fri Aug 06 2021 OpenStack_SIG <[email protected]> - 2.8.1-1
- Update version to 2.8.1
* Wed Jan 13 2021 SimpleUpdate Robot <[email protected]> - 2.7.4-1
- Upgrade to version 2.7.4
* Tue Jul 28 2020 jinzhimin<[email protected]> - 2.6.1-1
- update to 2.6.1-1
* Fri Dec 6 2019 caomeng<[email protected]> - 2.2.0-15
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Accessac/python-pygments.git
[email protected]:Accessac/python-pygments.git
Accessac
python-pygments
python-pygments
master

搜索帮助