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

Group :: Development/Python
RPM: python-module-defusedxml

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname defusedxml

Name: python-module-%oname
Version: 0.6.0
Release: alt1
Summary: XML bomb protection for Python stdlib modules
License: Python
Group: Development/Python
Url: https://pypi.python.org/pypi/defusedxml/

Source: defusedxml-%version.tar.gz
BuildArch: noarch

BuildRequires: python-devel
BuildRequires: python-module-setuptools

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools

%description
defusedxml -- defusing XML bombs and other exploits.

%package -n python3-module-%oname
Summary: XML bomb protection for Python stdlib modules
Group: Development/Python3

%description -n python3-module-%oname
defusedxml -- defusing XML bombs and other exploits.

%prep
%setup -n %oname-%version

cp -fR . ../python3

%build
%python_build

pushd ../python3
%python3_build
popd

%install
%python_install

pushd ../python3
%python3_install
popd

%check
%__python tests.py
pushd ../python3
%__python3 tests.py
popd

%files
%doc README.txt CHANGES.txt LICENSE
%python_sitelibdir/*

%files -n python3-module-%oname
%doc README.txt CHANGES.txt LICENSE
%python3_sitelibdir/*

%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