summaryrefslogtreecommitdiff
path: root/community/py3-pyscard/APKBUILD
blob: 31e9d38131df099c493d55baa61ec0eb0c45a2a4 (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
27
28
29
30
# Contributor: Daniel Everett <deverett@gmail.com>
# Maintainer: Daniel Everett <deverett@gmail.com>
pkgname=py3-pyscard
_pkgname=pyscard
pkgver=2.0.5
pkgrel=0
pkgdesc="pyscard smartcard library for python"
url="https://github.com/LudovicRousseau/pyscard"
arch="all"
license="LGPL-2.1-only"
depends="pcsc-lite"
makedepends="python3-dev py3-setuptools swig pcsc-lite-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

check() {
	python3 setup.py test
}

sha512sums="
bb2ef725e7dccefa640fe1568d1fee016bc5c639769d1b0d099067108e1369b8f7ccd3e48f985d657c5c7c33730eae891624f2c0ee2deaed491826b8c0eae2a5  pyscard-2.0.5.tar.gz
"