From 5bdffaaba7d940ea8cf91898db59f1e8e56d7293 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Mon, 18 Jul 2022 11:16:29 +0900 Subject: [PATCH] Bump to python3-pygments 2.12.0 Change-Id: I67b9a4b6b84c4976ca4cbdef26bfd14b83de6259 --- packaging/python3-pygments.manifest | 5 ++++ packaging/python3-pygments.spec | 38 +++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 packaging/python3-pygments.manifest create mode 100644 packaging/python3-pygments.spec diff --git a/packaging/python3-pygments.manifest b/packaging/python3-pygments.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/python3-pygments.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python3-pygments.spec b/packaging/python3-pygments.spec new file mode 100644 index 0000000..b52eaf0 --- /dev/null +++ b/packaging/python3-pygments.spec @@ -0,0 +1,38 @@ +Name: python3-pygments +Version: 2.12.0 +Release: 1 +Summary: A syntax highlighting engine written in Python3 +Group: Development/Libraries +License: BSD-2-Clause +URL: http://pygments.org/ +Source0: %{name}-%{version}.tar.gz +Source1001: python3-pygments.manifest + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +Requires: python3-setuptools + +BuildArch: noarch + +%description +Pygments is a syntax highlighting engine written in Python3. That means, it +will take source code (or other markup) in a supported language and output +a processed version (in different formats) containing syntax highlighting +markup. + +%prep +%setup -q -n %{name}-%{version} +cp %{SOURCE1001} . + +%build +%{_bindir}/python3 setup.py build + +%install +%{_bindir}/python3 setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix} + +%files +%manifest %{name}.manifest +%license LICENSE +%{python3_sitelib}/* +%{_bindir}/pygmentize -- 2.34.1