29 lines
743 B
Bash
29 lines
743 B
Bash
#!/usr/bin/env bash
|
|
name='py3-mako'
|
|
release='3'
|
|
version='1.3.5'
|
|
_version='1_3_5'
|
|
url='https://pypi.org/project/Mako/'
|
|
description='A super-fast templating language that borrows the best ideas from the existing templating languages.'
|
|
email='parduscix@yandex.ru'
|
|
maintainer='sulincix'
|
|
license=('GPLv3')
|
|
source=("https://github.com/sqlalchemy/mako/archive/refs/tags/rel_${_version}.tar.gz")
|
|
depends=(python py3-markupsafe)
|
|
makedepends=()
|
|
sha256sums=('abaf7d76e50d92ce6218a8437ea6ef93905598050099eb125c37dc55a5fffe32')
|
|
group=(dev.python)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd mako-rel_$_version
|
|
|
|
build(){
|
|
python3 setup.py build
|
|
}
|
|
|
|
package(){
|
|
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
|
}
|
|
|