Bump to 2.17.2 accepted/tizen_9.0_base accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_dev accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan sandbox/python3-pygments_2.17.2 tizen_9.0_base tizen_base accepted/tizen/9.0/base/20241030.075206 accepted/tizen/base/20240328.043226 accepted/tizen/base/asan/20240406.082430 accepted/tizen/base/dev/20241206.041119 accepted/tizen/base/toolchain/20240424.234744 accepted/tizen/base/x/20240328.090227 accepted/tizen/base/x/asan/20240412.003113 tizen_9.0_m2_release
authorTizenOpenSource <tizenopensrc@samsung.com>
Wed, 7 Feb 2024 06:55:48 +0000 (15:55 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Wed, 7 Feb 2024 06:55:48 +0000 (15:55 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
.gitignore [deleted file]
packaging/python3-pygments.manifest [new file with mode: 0644]
packaging/python3-pygments.spec [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
deleted file mode 100644 (file)
index 0a60df1..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-*.pyc
-*.pyo
-.*.sw[op]
-/.pytest_cache/
-/.idea/
-/.project
-/.tags
-/.tox/
-/.cache/
-/TAGS
-/build/*
-/dist/*
-/doc/_build
-/.coverage
-/htmlcov
-/.vscode
-venv/
-.venv/
-.DS_Store
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..0057984
--- /dev/null
@@ -0,0 +1,44 @@
+Name:           python3-pygments
+Version:        2.17.2
+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:  pkgconfig(python3)
+BuildRequires:  python3-build
+BuildRequires:  python3-pip
+BuildRequires:  python3-hatchling
+
+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 -m build -n
+
+%install
+%{_bindir}/python3 -m pip install --root %{buildroot} ./dist/pygments-%{version}-py3-*.whl
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{_bindir}/pygmentize
+%{python3_sitelib}/pygments/*.py
+%{python3_sitelib}/pygments/filters/*
+%{python3_sitelib}/pygments/formatters/*
+%{python3_sitelib}/pygments/lexers/*
+%{python3_sitelib}/pygments/__pycache__/*
+%{python3_sitelib}/pygments/styles/*
+%{python3_sitelib}/pygments-%{version}.dist-info/*