Ticket #42600: Portfile.2

File Portfile.2, 1.3 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
9license             LGPL-2.1+
10platforms           darwin
11maintainers         m4x.org:db_macports openmaintainer
12
13description         Smart cards support to python
14long_description    Pyscard consists of smartcard.scard, an extension module wrapping \
15                    Windows smart card base components (also known as PCSC) on Windows \
16                    and PCSC lite on linux and Mac OS X Tiger and Leopard, and smartcard, \
17                    a higher level python framework built on top of the raw PCSC API.
18
19homepage            http://pyscard.sourceforge.net/
20master_sites        sourceforge:project/pyscard/pyscard/pyscard%20${version}
21distname            pyscard-${version}
22
23patchfiles          patch-setup.py.diff
24
25checksums           rmd160  88980b607861ef2fdf329d6df90efc15d69ec8be \
26                    sha256  0f70f8dd909497183bc1446fe7ea8b4498c7d1516269200f90cd0eec1fa6d630
27
28python.versions     25 26 27
29
30if {${name} ne ${subport}} {
31    variant x11 {
32        depends_lib-append      port:py${python.version}-wxpython
33    }
34    default_variants    +x11
35}