Group :: Development/Python3
RPM: python3-module-Cheetah
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define origname Cheetah
Name: python3-module-%origname
Version: 3.3.1
Release: alt1
Summary: Template engine and code-generator
License: MIT
Group: Development/Python3
URL: http://cheetahtemplate.org/
# https://github.com/CheetahTemplate3/cheetah3
Source: Cheetah-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%description
Cheetah is an open source template engine and code generation tool, written
in Python. It can be used standalone or combined with other tools and
frameworks. Web development is its principle use, but Cheetah is very
flexible and is also being used to generate C++ game code, Java, sql,
form emails and even Python code.
%package tests
Summary: Tests for Cheetah, template engine and code-generator
Group: Development/Python3
Requires: %name = %version-%release
%description tests
Cheetah is an open source template engine and code generation tool, written
in Python. It can be used standalone or combined with other tools and
frameworks. Web development is its principle use, but Cheetah is very
flexible and is also being used to generate C++ game code, Java, sql,
form emails and even Python code.
This package contains tests for Cheetah.
%prep
%setup -n Cheetah-%version
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc *.rst
%_bindir/*
%python3_sitelibdir/*
%exclude %python3_sitelibdir/Cheetah/Tests
%files tests
%python3_sitelibdir/Cheetah/Tests
%exclude %python3_sitelibdir/Cheetah/Tests/Performance.py*
%changelog
…
Full changelog you can see here
Name: python3-module-%origname
Version: 3.3.1
Release: alt1
Summary: Template engine and code-generator
License: MIT
Group: Development/Python3
URL: http://cheetahtemplate.org/
# https://github.com/CheetahTemplate3/cheetah3
Source: Cheetah-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%description
Cheetah is an open source template engine and code generation tool, written
in Python. It can be used standalone or combined with other tools and
frameworks. Web development is its principle use, but Cheetah is very
flexible and is also being used to generate C++ game code, Java, sql,
form emails and even Python code.
%package tests
Summary: Tests for Cheetah, template engine and code-generator
Group: Development/Python3
Requires: %name = %version-%release
%description tests
Cheetah is an open source template engine and code generation tool, written
in Python. It can be used standalone or combined with other tools and
frameworks. Web development is its principle use, but Cheetah is very
flexible and is also being used to generate C++ game code, Java, sql,
form emails and even Python code.
This package contains tests for Cheetah.
%prep
%setup -n Cheetah-%version
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc *.rst
%_bindir/*
%python3_sitelibdir/*
%exclude %python3_sitelibdir/Cheetah/Tests
%files tests
%python3_sitelibdir/Cheetah/Tests
%exclude %python3_sitelibdir/Cheetah/Tests/Performance.py*
%changelog
…
Full changelog you can see here