Skip to content
Permalink
Browse files

new port: py-kcs11, closes https://trac.macports.org/ticket/42601

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117788 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
neverpanic committed Mar 12, 2014
1 parent 1d14939 commit 0ca383687a46fd672473b4414773527cfc6497bb
Showing with 40 additions and 0 deletions.
  1. +27 −0 python/py-kcs11/Portfile
  2. +13 −0 python/py-kcs11/files/patch-setup.py-no-usr-local.diff
@@ -0,0 +1,27 @@
# -*- 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
# $Id$

PortSystem 1.0
PortGroup python 1.0

name py-kcs11
version 1.2.4
license GPL-3
platforms darwin
maintainers m4x.org:db_macports openmaintainer

description PKCS11 wrapper for Python
long_description PyKCS11 let you access to almost all PKCS#11 functions and data types \
using any PKCS#11 library, such as the various modules supplied by \
smartcard vendors.

homepage http://www.bit4id.org/trac/pykcs11
master_sites sourceforge:project/pkcs11wrap/pykcs11/pykcs11-${version}
distname PyKCS11-${version}

checksums rmd160 b2783443913db5263410de5fb58a7ae396938936 \
sha256 dd90a64771b2bbf8e122ecb2c6bf83fcc127753422c0be3b10075d4a2e4da264

python.versions 25 26 27

patchfiles patch-setup.py-no-usr-local.diff
@@ -0,0 +1,13 @@
--- setup.py.orig 2014-03-12 22:34:55.000000000 +0100
+++ setup.py 2014-03-12 22:35:00.000000000 +0100
@@ -29,10 +29,6 @@

lib_dirs = []
inc_dirs = ["src"]
-# some OS, such as FreeBSD, uses /usr/local folders
-if path.exists("/usr/local"):
- lib_dirs.append("/usr/local/lib")
- inc_dirs.append("/usr/local/include")
source_files = ["src/ck_attribute_smart.cpp",
"src/pkcs11lib.cpp",
"src/pykcs11string.cpp",

0 comments on commit 0ca3836

Please sign in to comment.
You can’t perform that action at this time.