Group :: Desenvolvimento/Python
RPM: phply
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: phply
Version: 1.2.6
Release: alt1
Summary: Lexer and parser for PHP source implemented using PLY
License: BSD
Group: Development/Python
Url: https://github.com/viraptor/phply
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-wheel python3-module-ply
Requires: python3-module-%name = %version-%release
%description
phply is a parser for the PHP programming language written using PLY, a Lex/YACC-style parser generator toolkit for Python.
%package -n python3-module-%name
Summary: Lexer and parser for PHP source implemented using PLY
Group: Development/Python3
%py3_provides phply.phpast
%py3_provides phply.phplex
%py3_provides phply.phpparse
%description -n python3-module-%name
Python 3 module for phply. phply is a parser for the PHP programming language written using PLY, a Lex/YACC-style parser generator toolkit for Python.
%prep
%setup -n %name-%version
%build
%pyproject_build
%install
%pyproject_install
%files
%doc README.md
%_bindir/phplex
%_bindir/phpparse
%files -n python3-module-%name
%exclude %python3_sitelibdir/tests
%python3_sitelibdir/*-nspkg.pth
%python3_sitelibdir/%name/
%python3_sitelibdir/%name-%version.dist-info
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.2.6
Release: alt1
Summary: Lexer and parser for PHP source implemented using PLY
License: BSD
Group: Development/Python
Url: https://github.com/viraptor/phply
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-wheel python3-module-ply
Requires: python3-module-%name = %version-%release
%description
phply is a parser for the PHP programming language written using PLY, a Lex/YACC-style parser generator toolkit for Python.
%package -n python3-module-%name
Summary: Lexer and parser for PHP source implemented using PLY
Group: Development/Python3
%py3_provides phply.phpast
%py3_provides phply.phplex
%py3_provides phply.phpparse
%description -n python3-module-%name
Python 3 module for phply. phply is a parser for the PHP programming language written using PLY, a Lex/YACC-style parser generator toolkit for Python.
%prep
%setup -n %name-%version
%build
%pyproject_build
%install
%pyproject_install
%files
%doc README.md
%_bindir/phplex
%_bindir/phpparse
%files -n python3-module-%name
%exclude %python3_sitelibdir/tests
%python3_sitelibdir/*-nspkg.pth
%python3_sitelibdir/%name/
%python3_sitelibdir/%name-%version.dist-info
%changelog
…
Todas as alterações você pod ver aqui