Group :: Development/Python3
RPM: python3-module-bleach
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# NOTE: THIS IS DEPRECATED PACKAGE
# https://github.com/mozilla/bleach/issues/698
%define _unpackaged_files_terminate_build 1
%define pypi_name bleach
%define mod_name %pypi_name
%def_without check
Name: python3-module-%pypi_name
Version: 6.0.0
Release: alt1
Summary: An easy whitelist-based HTML-sanitizing tool
Url: https://pypi.org/project/bleach/
VCS: https://github.com/mozilla/bleach
License: Apache-2.0
Group: Development/Python3
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%description
Bleach is an HTML sanitizing library that escapes or strips markup and
attributes based on a white list.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%files
%doc README.rst
%python3_sitelibdir/%mod_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Full changelog you can see here
# https://github.com/mozilla/bleach/issues/698
%define _unpackaged_files_terminate_build 1
%define pypi_name bleach
%define mod_name %pypi_name
%def_without check
Name: python3-module-%pypi_name
Version: 6.0.0
Release: alt1
Summary: An easy whitelist-based HTML-sanitizing tool
Url: https://pypi.org/project/bleach/
VCS: https://github.com/mozilla/bleach
License: Apache-2.0
Group: Development/Python3
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%description
Bleach is an HTML sanitizing library that escapes or strips markup and
attributes based on a white list.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%files
%doc README.rst
%python3_sitelibdir/%mod_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Full changelog you can see here