| 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 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | PortGroup python 1.0 |
|---|
| 6 | |
|---|
| 7 | name py-scard |
|---|
| 8 | version 1.6.12 |
|---|
| 9 | categories python |
|---|
| 10 | license LGPL |
|---|
| 11 | platforms darwin |
|---|
| 12 | supported_archs noarch |
|---|
| 13 | maintainers m4x.org:db_macports openmaintainer |
|---|
| 14 | |
|---|
| 15 | description Smart cards support to python |
|---|
| 16 | long_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 | |
|---|
| 21 | homepage http://pyscard.sourceforge.net/ |
|---|
| 22 | master_sites sourceforge:pyscard |
|---|
| 23 | distname pyscard-${version} |
|---|
| 24 | |
|---|
| 25 | patchfiles patch-setup.py.diff |
|---|
| 26 | |
|---|
| 27 | checksums rmd160 88980b607861ef2fdf329d6df90efc15d69ec8be \ |
|---|
| 28 | sha256 0f70f8dd909497183bc1446fe7ea8b4498c7d1516269200f90cd0eec1fa6d630 |
|---|
| 29 | |
|---|
| 30 | python.versions 25 26 27 |
|---|
| 31 | python.default_version 27 |
|---|
| 32 | python.link_binaries_suffix |
|---|
| 33 | |
|---|
| 34 | variant x11 { |
|---|
| 35 | if {${name} ne ${subport}} { |
|---|
| 36 | depends_lib-append port:py${python.version}-wxpython |
|---|
| 37 | } |
|---|
| 38 | } |
|---|
| 39 | default_variants +x11 |
|---|