From: Michael Tremer Date: Tue, 2 Oct 2012 20:07:50 +0000 (+0200) Subject: macros: Add templates for python packages. X-Git-Tag: 0.9.24~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ac1cb68d8dfc00d7189abb63f8af710ed276385;p=pakfire.git macros: Add templates for python packages. --- diff --git a/macros/templates.macro b/macros/templates.macro index 794619bc3..a2388b9d7 100644 --- a/macros/templates.macro +++ b/macros/templates.macro @@ -87,4 +87,24 @@ packages %{datadir}/doc end end + + template PYTHON + summary = Python bindings from the %{name} package. + description = %{summary} + + files + %{python_sitearch} + %{python_sitelib} + end + end + + template PYTHON3 + summary = Python 3 bindings from the %{name} package. + description = %{summary} + + files + %{python3_sitearch} + %{python3_sitelib} + end + end end