diff --git a/srcpkgs/python3-scard/template b/srcpkgs/python3-scard/template new file mode 100644 index 0000000000..793f144a74 --- /dev/null +++ b/srcpkgs/python3-scard/template @@ -0,0 +1,19 @@ +# Template file for 'python3-scard' +pkgname=python3-scard +_pkgname=pyscard +version=1.9.8 +revision=1 +wrksrc="${_pkgname}-${version}" +build_style=python3-module +pycompile_module=smartcard +hostmakedepends="python3-setuptools swig" +makedepends="python3-devel pcsclite-devel" +depends="python3 pcsclite" +short_desc="Python library for smartcard" +maintainer="Doan Tran Cong Danh " +license="LGPL-2.1-or-later" +homepage="https://pyscard.sourceforge.io/index.html" +distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz" +checksum=f59dc7ee467b210094e64c923e1c7f5e8e9501a672fc0c8f2cd958153e00d095 + +CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/PCSC"