# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-pyscard
version             2.3.2
license             GPL
maintainers         {amake @amake} openmaintainer

description         Smartcard module for Python.
long_description    {*}${description}

homepage            https://pyscard.sourceforge.io/

checksums           rmd160  f5e569f7135f370102c211e2bbda277227f1b0bc \
                    sha256  5f5435e32aede88e6668fe1348d85fb7bea3d319e798ceb8c1eb0100cab53fb4 \
                    size    162771

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append \
        port:swig-python

    patchfiles-append  0001-Remove-requirement-provided-by-MacPorts.patch
    patch.pre_args-replace  -p0 -p1
}
