23 lines
815 B
Bash
23 lines
815 B
Bash
# Template file for 'python3-Babel'
|
|
pkgname=python3-Babel
|
|
version=2.9.1
|
|
revision=1
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-pytz"
|
|
checkdepends="python3-pytest python3-pytz python3-freezegun"
|
|
short_desc="Tools for internationalizing Python applications (Python3)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://babel.pocoo.org/"
|
|
distfiles="${PYPI_SITE}/B/Babel/Babel-${version}.tar.gz"
|
|
checksum=bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0
|
|
# test_extract_error_code fails: https://github.com/python-babel/babel/issues/802#issuecomment-1029132391
|
|
make_check=no
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
# for compatibility
|
|
ln -s pybabel "${DESTDIR}/usr/bin/pybabel3"
|
|
}
|