Репозиторий Sisyphus
Последнее обновление: 13 октября 2019 | Пакетов: 17513 | Посещений: 15258981
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-defusedxml

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin