Blob Blame History Raw
Name:           python-airspeed
Version:        0.5.20
Release:        %autorelease
Summary:        A lightweight template engine compatible with Velocity

License:        BSD-2-Clause
Source0:        %{url}/archive/%{version}/airspeed-%{version}.tar.gz

BuildArch:      noarch

BuildRequires:  python3-devel

%global _description %{expand:
Airspeed is a powerful and easy-to-use templating engine for Python that aims
for a high level of compatibility with the popular Velocity library for Java.

 • Compatible with Velocity templates
 • Compatible with Python 2.6 and greater, including Jython
 • Features include macros definitions, conditionals, sub-templates and much
 • Airspeed is already being put to serious use
 • Comprehensive set of unit tests; the entire library was written test-first
 • Reasonably fast
 • A single Python module of a few kilobytes, and not the 500kb of Velocity
 • Liberal license (BSD-style)}

%description %_description

%package -n python3-airspeed
Summary:        %{summary}

%description -n python3-airspeed %_description

%autosetup -n airspeed-%{version} -p1



%pyproject_save_files airspeed

PYTHONPATH="${PWD}" %{python3} -m unittest tests

%files -n python3-airspeed -f %{pyproject_files}