25 lines
807 B
Bash
25 lines
807 B
Bash
# Template file for 'python-bleach'
|
|
pkgname=python-bleach
|
|
version=3.1.1
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="bleach-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-six python-webencodings"
|
|
short_desc="Easy safelist-based HTML-sanitizing tool (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/mozilla/bleach"
|
|
changelog="https://raw.githubusercontent.com/mozilla/bleach/master/CHANGES"
|
|
distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
|
|
checksum=aa8b870d0f46965bac2c073a93444636b0e1ca74e9777e34f03dd494b8a59d48
|
|
|
|
python3-bleach_package() {
|
|
archs=noarch
|
|
depends="python3-six python3-webencodings"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|