aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-gatt/APKBUILD
blob: 7f4dd404c00446d5e2671af6149ce9dcbfd0cc75 (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
# Maintainer: Martijn Braam <martijn@brixit.nl>
# Contributor: Martijn Braam <martijn@brixit.nl>
pkgname=py3-gatt
pkgver=0.2.6
pkgrel=2
pkgdesc="Python 2 and 3 compatibility library"
url="https://pypi.python.org/pypi/gatt"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/getsenic/gatt-python/archive/$pkgver/gatt-python-$pkgver.tar.gz"
builddir="$srcdir/gatt-python-$pkgver"
options="!check" # There's no testsuite

build() {
	python3 setup.py build
}

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

sha512sums="0751784e908132fac566f6c5c64de1bb4ca8273e099ff5becae7e5043c2c13ca3a2ef63e5585ac225088a83af15c794b797268c3abeeaedccc058fbd5cee0a09  gatt-python-0.2.6.tar.gz"