Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37903700
en ru br
ALT Linux repos
S:0.38.2-alt1

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

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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin