Группа :: Development/Python3
Пакет: python3-module-chevron
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name chevron
Name: python3-module-%pypi_name
Version: 0.14.0
Release: alt1
Summary: Mustache templating language renderer
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/chevron/
Vcs: https://github.com/noahmorrison/chevron.git
BuildArch: noarch
#Source: http://pypi.io/packages/source/c/%pypi_name/%pypi_name-%version.tar.gz
Source: %pypi_name-%version.tar
BuildRequires(pre): rpm-build-python3
%py3_provides %pypi_name
%description
A python implementation of the mustache templating language.
%prep
%setup -n %pypi_name-%version
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' \
$(find ./ -name '*.py')
%build
%python3_build_debug
%install
%python3_install
%files
%_bindir/*
%python3_sitelibdir/*
%changelog
…
Полный changelog можно просмотреть здесь
%define pypi_name chevron
Name: python3-module-%pypi_name
Version: 0.14.0
Release: alt1
Summary: Mustache templating language renderer
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/chevron/
Vcs: https://github.com/noahmorrison/chevron.git
BuildArch: noarch
#Source: http://pypi.io/packages/source/c/%pypi_name/%pypi_name-%version.tar.gz
Source: %pypi_name-%version.tar
BuildRequires(pre): rpm-build-python3
%py3_provides %pypi_name
%description
A python implementation of the mustache templating language.
%prep
%setup -n %pypi_name-%version
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' \
$(find ./ -name '*.py')
%build
%python3_build_debug
%install
%python3_install
%files
%_bindir/*
%python3_sitelibdir/*
%changelog
…
Полный changelog можно просмотреть здесь