Bump to python3-pygments 2.12.0 97/277997/1 accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_8.0_base sandbox/backup/python3-pygments_2.12.0_20240207 sandbox/dh0128.kwak/python3-pygments-2.12.0-20220718 tizen_7.0_base tizen_7.0_base_hotfix tizen_8.0_base accepted/tizen/7.0/base/20221116.025739 accepted/tizen/7.0/base/hotfix/20221116.055147 accepted/tizen/8.0/base/20231005.045203 accepted/tizen/base/20220725.042853 accepted/tizen/base/20221115.103615 accepted/tizen/base/dev/20230602.080657 submit/tizen_base/20220719.051217 tizen_7.0_m2_release tizen_8.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 02:16:29 +0000 (11:16 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 02:16:29 +0000 (11:16 +0900)
Change-Id: I67b9a4b6b84c4976ca4cbdef26bfd14b83de6259

packaging/python3-pygments.manifest [new file with mode: 0644]
packaging/python3-pygments.spec [new file with mode: 0644]

diff --git a/packaging/python3-pygments.manifest b/packaging/python3-pygments.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python3-pygments.spec b/packaging/python3-pygments.spec
new file mode 100644 (file)
index 0000000..b52eaf0
--- /dev/null
@@ -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