aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pyscard/APKBUILD
blob: bf4627e101642f082d1f3d4ae7cd3f9b256f2e5f (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
# Contributor: Daniel Everett <deverett@gmail.com>
# Maintainer: Daniel Everett <deverett@gmail.com>
pkgname=py3-pyscard
_pkgname=pyscard
pkgver=1.9.7
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="python2-dev python3-dev py-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 --prefix=/usr --root="$pkgdir"
}

check() {
	python3 setup.py test
}

sha512sums="339d6efd5fcaa361e30029e736d4e2e98e05acd701c39574b40960b4bcec4782ca9c1d6927cea0b3641c5e6a137d0b9fbd961b58422a4151cfbdfa067dcd4b4a  pyscard-1.9.7.tar.gz"