summaryrefslogtreecommitdiff
path: root/testing/py3-pymeta3/APKBUILD
blob: e01b0afd3f881359a7ad2a62318f87e8ada417de (plain)
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
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-pymeta3
pkgver=0.5.1
pkgrel=3
pkgdesc="general object-oriented pattern matcher for Python 3"
url="https://github.com/wbond/pymeta3"
arch="noarch"
license="MIT"
depends="python3"
makedepends="
	py3-setuptools
	"
_pyname="PyMeta3"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # No tests provided

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="3a44661ae550cbb56fb0397af835e3a12ac81243d4a2f1ac3d9d713a3955cb276441e112e7cd75beb7ebd0c4bfa03014ec8b625750dffeec891b5b7802b72575  PyMeta3-0.5.1.tar.gz"