Ticket #42600: Portfile

File Portfile, 1.4 KB (added by schmurtz_macport@…, 10 years ago)
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-scard
8version             1.6.12
9categories          python
10license             LGPL
11platforms           darwin
12supported_archs     noarch
13maintainers         m4x.org:db_macports openmaintainer
14
15description         Smart cards support to python
16long_description    Pyscard consists of smartcard.scard, an extension module wrapping \
17                    Windows smart card base components (also known as PCSC) on Windows \
18                    and PCSC lite on linux and Mac OS X Tiger and Leopard, and smartcard, \
19                    a higher level python framework built on top of the raw PCSC API.
20
21homepage            http://pyscard.sourceforge.net/
22master_sites        sourceforge:pyscard
23distname            pyscard-${version}
24
25patchfiles          patch-setup.py.diff
26
27checksums           rmd160  88980b607861ef2fdf329d6df90efc15d69ec8be \
28                    sha256  0f70f8dd909497183bc1446fe7ea8b4498c7d1516269200f90cd0eec1fa6d630
29
30python.versions     25 26 27
31python.default_version 27
32python.link_binaries_suffix
33
34variant x11 {
35    if {${name} ne ${subport}} {
36        depends_lib-append      port:py${python.version}-wxpython
37    }
38}
39default_variants    +x11