# -*- 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 1.9.8 release-
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  7051e34bc5afbbc98106e68a9763412abc1837d9 \
                    sha256  01894cafe52e2a32244ae1cc84dc65395a656b735110a18d5dba8b8f340c216a \
                    size    176381

python.versions     27 35 36 37

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

    depends_lib-append \
        port:swig-python
}