mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
30 lines
826 B
Text
30 lines
826 B
Text
# 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
|
|
"
|