~dricottone/huttese-apk

ref: a799962a36a07440477f429da10e95c58f246a86 huttese-apk/sr.ht/py3-pystache/APKBUILD -rw-r--r-- 907 bytes
a799962a — Drew DeVault py3-pyphen: bump pkgrel 3 years ago
                                                                                
cb4c58b7 Drew DeVault
a2abdb9e Drew DeVault
cb4c58b7 Drew DeVault
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=4
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"