Группа :: Development/Python3
Пакет: python3-module-scour
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname scour
%def_with check
Name: python3-module-%oname
Version: 0.38.2
Release: alt1
Summary: Scour SVG Optimizer
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/scour/
# https://github.com/oberstet/scour.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-six
%endif
BuildArch: noarch
%py3_provides %oname
%description
Scour is a SVG optimizer/sanitizer that can be used to produce SVGs for
Web deployment.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%python3_build
%install
%python3_install
%check
python3 setup.py test
%files
%doc *.md
%_bindir/%oname
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Полный changelog можно просмотреть здесь
%def_with check
Name: python3-module-%oname
Version: 0.38.2
Release: alt1
Summary: Scour SVG Optimizer
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/scour/
# https://github.com/oberstet/scour.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-six
%endif
BuildArch: noarch
%py3_provides %oname
%description
Scour is a SVG optimizer/sanitizer that can be used to produce SVGs for
Web deployment.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%python3_build
%install
%python3_install
%check
python3 setup.py test
%files
%doc *.md
%_bindir/%oname
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Полный changelog можно просмотреть здесь