Group :: Development/Python3
RPM: python3-module-pyparsing
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name pyparsing
%define mod_name %pypi_name
%def_with check
Name: python3-module-%pypi_name
Version: 3.1.1
Release: alt1
Summary: Python parsing module
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/pyparsing
Vcs: https://github.com/pyparsing/pyparsing
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%pyproject_builddeps_metadata_extra diagrams
%pyproject_builddeps_check
%endif
%description
The parsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of
regular expressions. The parsing module provides a library of classes
that client code uses to construct the grammar directly in Python code.
%prep
%setup
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%if_with check
%pyproject_deps_resync_check_tox tox.ini testenv
%endif
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -ra -Wignore tests
%files
%doc CHANGES README.rst
%python3_sitelibdir/%mod_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui
%define pypi_name pyparsing
%define mod_name %pypi_name
%def_with check
Name: python3-module-%pypi_name
Version: 3.1.1
Release: alt1
Summary: Python parsing module
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/pyparsing
Vcs: https://github.com/pyparsing/pyparsing
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%pyproject_builddeps_metadata_extra diagrams
%pyproject_builddeps_check
%endif
%description
The parsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of
regular expressions. The parsing module provides a library of classes
that client code uses to construct the grammar directly in Python code.
%prep
%setup
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%if_with check
%pyproject_deps_resync_check_tox tox.ini testenv
%endif
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -ra -Wignore tests
%files
%doc CHANGES README.rst
%python3_sitelibdir/%mod_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui