Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37655948
en ru br
ALT Linux repositórios
S:0.38.2-alt1

Group :: Development/Python3
RPM: python3-module-scour

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009