From: DongHun Kwak Date: Mon, 18 Jul 2022 02:16:29 +0000 (+0900) Subject: Bump to python3-pygments 2.12.0 X-Git-Tag: accepted/tizen/base/dev/20230602.080657 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=740a650f914998bcbd9c83002813f464d64e0fd8;p=platform%2Fupstream%2Fpython3-pygments.git Bump to python3-pygments 2.12.0 Change-Id: I67b9a4b6b84c4976ca4cbdef26bfd14b83de6259 --- 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