void-packages/srcpkgs/python3-scard/template

19 lines
643 B
Bash

# Template file for 'python3-scard'
pkgname=python3-scard
_pkgname=pyscard
version=1.9.9
revision=1
wrksrc="${_pkgname}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools swig"
makedepends="python3-devel pcsclite-devel"
depends="python3 pcsclite"
short_desc="Python library for smartcard"
maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://pyscard.sourceforge.io/index.html"
distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
checksum=e6bde541990183858740793806b1c7f4e798670519ae4c96145f35d5d7944c20
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/PCSC"