mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
32 lines
757 B
Text
32 lines
757 B
Text
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
pkgname=py3-pybars3
|
|
pkgver=0.9.7
|
|
pkgrel=3
|
|
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
|
|
"
|
|
source="https://files.pythonhosted.org/packages/source/p/pybars3/pybars3-$pkgver.tar.gz"
|
|
builddir="$srcdir/pybars3-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 tests.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
sha512sums="
|
|
7aff86c0703e3827909f3603d7f35026ee39ce74d9c5ff1beb18a71b0a839c3aa407402f8d9c1aca9eb69af33750db0477881826e72135fc26a7274b0f1f538b pybars3-0.9.7.tar.gz
|
|
"
|