From: DongHun Kwak Date: Mon, 18 Jul 2022 06:19:58 +0000 (+0900) Subject: Bump to python3-pyparsing 3.0.7 X-Git-Tag: submit/tizen_base/20220719.051418^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Fbackup%2Fpython3-pyparsing_3.0.7_20240207;p=platform%2Fupstream%2Fpython3-pyparsing.git Bump to python3-pyparsing 3.0.7 Change-Id: I56ddf9a0a673ae9e587eead56aea93408f09ac19 --- diff --git a/packaging/python3-pyparsing.manifest b/packaging/python3-pyparsing.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/python3-pyparsing.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python3-pyparsing.spec b/packaging/python3-pyparsing.spec new file mode 100644 index 0000000..ecaf154 --- /dev/null +++ b/packaging/python3-pyparsing.spec @@ -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