Files
binary-repo/dev/python/py3-jinja/ympbuild
T
2025-06-19 20:14:50 +00:00

29 lines
694 B
Bash

#!/usr/bin/env bash
name='py3-jinja'
release='3'
version='3.1.6'
url='https://github.com/pallets/jinja'
description='A very fast and expressive template engine.'
email='parduscix@yandex.ru'
maintainer='sulincix'
license=('GPLv3')
source=("https://github.com/pallets/jinja/archive/refs/tags/$version.tar.gz")
depends=(python)
makedepends=(py3-markupsafe)
sha256sums=('2074b22a72caa65474902234b320d73463d6d4c223ee49f4b433495758356337')
group=(dev.python)
uses=()
arch=('x86_64')
cd jinja-$version
build(){
python3 -m build --wheel --no-isolation
}
package(){
python3 -m installer -d "$DESTDIR" dist/*.whl
mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3
}