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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname markupsafe

Name: python3-module-%oname
Version: 2.1.3
Release: alt1
Epoch: 1
Summary: Implements a XML/HTML/XHTML Markup safe string for Python

Group: Development/Python3
License: BSD-3-Clause
Url: http://pypi.python.org/pypi/MarkupSafe

Source: %oname-%version.tar
Packager: Andrey Cherepanov <cas at altlinux.org>

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

%description
MarkupSafe implements a text object that escapes characters so it is
safe to use in HTML and XML. Characters that have special meanings are
replaced so that they display as the actual characters. This mitigates
injection attacks, meaning untrusted user input can safely be displayed
on a page.

%package tests
Summary: Tests for MarkupSafe
Group: Development/Python3
Requires: %name = %version-%release

%description tests
%summary

This package contains tests for MarkupSafe.

%prep
%setup -q -n %oname-%version

%build
%python3_build

%install
%python3_install

%files
%doc README.rst
%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