Bump to python3-pyparsing 3.0.7 53/278253/1 accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_8.0_base sandbox/backup/python3-pyparsing_3.0.7_20240207 sandbox/dh0128.kwak/python3-pyparsing-3.0.7-20220718 tizen_7.0_base tizen_7.0_base_hotfix tizen_8.0_base accepted/tizen/7.0/base/20221116.025835 accepted/tizen/7.0/base/hotfix/20221116.055242 accepted/tizen/8.0/base/20231005.045205 accepted/tizen/base/20220725.042853 accepted/tizen/base/20221115.103712 accepted/tizen/base/dev/20230602.080756 submit/tizen_base/20220719.051418 tizen_7.0_m2_release tizen_8.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 06:19:58 +0000 (15:19 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 06:20:20 +0000 (15:20 +0900)
Change-Id: I56ddf9a0a673ae9e587eead56aea93408f09ac19

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

diff --git a/packaging/python3-pyparsing.manifest b/packaging/python3-pyparsing.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-pyparsing.spec b/packaging/python3-pyparsing.spec
new file mode 100644 (file)
index 0000000..ecaf154
--- /dev/null
@@ -0,0 +1,45 @@
+Name:           python3-pyparsing
+Version:        3.0.7
+Release:        0
+Summary:        Grammar Parser Library for Python
+License:        MIT
+Group:          Development/Languages/Python
+Url:            https://pypi.python.org/pypi/pyparsing
+Source:         %{name}-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+BuildArch:      noarch
+
+Provides:       python3-parsing = %{version}
+Obsoletes:      python3-parsing < %{version}
+
+%description
+The pyparsing module is an alternative approach to creating and executing
+simple grammars, vs. the traditional lex/yacc approach, or the use of regular
+expressions. The pyparsing module provides a library of classes that client
+code uses to construct the grammar directly in Python code.
+
+%prep
+%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+%{_bindir}/python3 setup.py build
+
+# Fix wrong EOL encoding:
+sed -i 's/\r$//' CHANGES LICENSE
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%remove_docs
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{python3_sitelib}/pyparsing/*
+%{python3_sitelib}/pyparsing-%{version}-py*.egg-info/
+
+%changelog