# -*- 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
PortGroup           github 1.0

github.setup        LudovicRousseau pyscard 2.0.0
name                py-pyscard
platforms           darwin
license             GPL
maintainers         {amake @amake} openmaintainer

description         Smartcard module for Python.
long_description    ${description}

homepage            https://pyscard.sourceforge.io/

checksums           rmd160  bf708bb5a0ccaa25b69d6e80ae1ffcf5fcc7a8b8 \
                    sha256  da090a6ed744b7363ce9f327deb67f371fe474f9dde28a00bd779b6bcde396b7 \
                    size    176685

python.versions     27 35 36 37 38 39

if {${name} ne ${subport}} {
    depends_build-append \
        port:py${python.version}-setuptools

    depends_lib-append \
        port:swig-python
}
