~dricottone/huttese-apk

ref: c8e5b9ded1d1f26e716a1be9adc87c8f999c110f huttese-apk/sr.ht/py3-pystache/APKBUILD -rw-r--r-- 907 bytes
c8e5b9de — Drew DeVault sr.ht/py3-atpublic: bump pkgrel 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=2
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"