New package: python-bleach-2.0.0
This commit is contained in:
parent
7dd60ee152
commit
761d9bcb28
2 changed files with 27 additions and 0 deletions
srcpkgs
26
srcpkgs/python-bleach/template
Normal file
26
srcpkgs/python-bleach/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'python-bleach'
|
||||
pkgname=python-bleach
|
||||
version=2.0.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="bleach-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="bleach"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-six python-html5lib"
|
||||
short_desc="Easy safelist-based HTML-sanitizing tool (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://github.com/mozilla/bleach"
|
||||
license="Apache-2.0"
|
||||
distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
|
||||
checksum=b9522130003e4caedf4f00a39c120a906dcd4242329c1c8f621f5370203cbc30
|
||||
|
||||
python3-bleach_package() {
|
||||
noarch=yes
|
||||
pycompile_module="bleach"
|
||||
depends="python3-six python3-html5lib"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
1
srcpkgs/python3-bleach
Symbolic link
1
srcpkgs/python3-bleach
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-bleach
|
Loading…
Reference in a new issue