mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
32 lines
826 B
Text
32 lines
826 B
Text
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
pkgname=py3-pybars3
|
|
pkgver=0.9.7
|
|
pkgrel=1
|
|
pkgdesc="implementation of the handlebars.js template language for Python 3"
|
|
url="https://github.com/wbond/pybars3"
|
|
arch="noarch"
|
|
license="LGPL-3.0-only"
|
|
depends="
|
|
python3
|
|
py3-pymeta3
|
|
"
|
|
makedepends="
|
|
py3-setuptools
|
|
"
|
|
_pyname="pybars3"
|
|
_pypiprefix="${_pyname%${_pyname#?}}"
|
|
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 tests.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
sha512sums="7aff86c0703e3827909f3603d7f35026ee39ce74d9c5ff1beb18a71b0a839c3aa407402f8d9c1aca9eb69af33750db0477881826e72135fc26a7274b0f1f538b pybars3-0.9.7.tar.gz"
|