~dricottone/huttese-apk

ref: cc12d7352532b481afe66c63cdde94ae7743de83 huttese-apk/sr.ht/py3-pystache/APKBUILD -rw-r--r-- 907 bytes
cc12d735 — Drew DeVault meta.sr.ht: remove py3-prometheus-client dependency 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Paul Kilar <pkilar@gmail.com>
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Paul Kilar <pkilar@gmail.com>
pkgname=py3-pystache
_pyname=pystache
pkgver=0.5.4
pkgrel=3
pkgdesc="Pystache is a Python implementation of Mustache."
url="https://pypi.python.org/pypi/pystache"
arch="noarch"
license="MIT"
makedepends="python3-dev py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-pystache py2-pystache"
builddir="$srcdir"/$_pyname-$pkgver
options="!check" # upstream has no test suite

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4ac325e1431f58f740218c9ec309821db82d89989ef4ca7fc3536dea0ef1c90e8e85ebaa7df27f33129ca02252b84bcbd7429a1ed999b496f62f174dd66502cb  pystache-0.5.4.tar.gz"