27 lines
861 B
Bash
27 lines
861 B
Bash
# Template file for 'python3-pyscard'
|
|
pkgname=python3-pyscard
|
|
_pkgname=pyscard
|
|
version=2.0.1
|
|
revision=2
|
|
wrksrc="${_pkgname}-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools swig"
|
|
makedepends="python3-devel pcsclite-devel"
|
|
depends="python3 pcsclite libpcsclite"
|
|
short_desc="Python library for smartcard"
|
|
maintainer="Đoàn Trần Công 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=2ba5ed0db0ed3c98e95f9e34016aa3a57de1bc42dd9030b77a546036ee7e46d8
|
|
# provides="python3-scard-${version}_$revision"
|
|
# replaces="python3-scard>=0"
|
|
|
|
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/PCSC"
|
|
|
|
python3-scard_package() {
|
|
depends="python3-pyscard"
|
|
short_desc+=" - transitional dummy package"
|
|
build_style=meta
|
|
}
|