Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2015 07:32:46 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r391494 - in head/security: . py-pyscard
Message-ID:  <201507070732.t677Wkul016456@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Tue Jul  7 07:32:45 2015
New Revision: 391494
URL: https://svnweb.freebsd.org/changeset/ports/391494

Log:
  [NEW] security/py-pyscard: Smartcard module for Python
  
  The pyscard smartcard library is a framework for building smart card
  aware applications in Python. The smartcard module is built on top of
  the PCSC API Python wrapper module.
  
  WWW: http://pyscard.sourceforge.net/
  
  PR:		197834
  Submitted by:	<mp39590 gmail com>

Added:
  head/security/py-pyscard/
  head/security/py-pyscard/Makefile   (contents, props changed)
  head/security/py-pyscard/distinfo   (contents, props changed)
  head/security/py-pyscard/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Tue Jul  7 06:35:35 2015	(r391493)
+++ head/security/Makefile	Tue Jul  7 07:32:45 2015	(r391494)
@@ -828,6 +828,7 @@
     SUBDIR += py-pylibacl
     SUBDIR += py-pyme
     SUBDIR += py-pyptlib
+    SUBDIR += py-pyscard
     SUBDIR += py-pysha3
     SUBDIR += py-python-registry
     SUBDIR += py-rekall

Added: head/security/py-pyscard/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pyscard/Makefile	Tue Jul  7 07:32:45 2015	(r391494)
@@ -0,0 +1,32 @@
+# Created by: mp39590@gmail.com
+# $FreeBSD$
+
+PORTNAME=	pyscard
+PORTVERSION=	1.7.0
+CATEGORIES=	security python
+## request has been submitted to the developers to host sources on PyPI; check
+## this on the next update and change SF to CHEESEHOP (see bug #197834)
+MASTER_SITES=	SF
+MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	mp39590@gmail.com
+COMMENT=	Smartcard module for Python
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	swig1.3:${PORTSDIR}/devel/swig13 \
+		pcsc-lite>0:${PORTSDIR}/devel/pcsc-lite
+RUN_DEPENDS=	pcsc-lite>0:${PORTSDIR}/devel/pcsc-lite
+
+USES=		python:2
+USE_PYTHON=	autoplist distutils
+
+PYDISTUTILS_BUILD_TARGET=       build_ext
+PYDISTUTILS_BUILDARGS+=         --include-dirs=${LOCALBASE}/include/PCSC
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/smartcard/scard/_scard.so
+
+.include <bsd.port.mk>

Added: head/security/py-pyscard/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pyscard/distinfo	Tue Jul  7 07:32:45 2015	(r391494)
@@ -0,0 +1,2 @@
+SHA256 (pyscard-1.7.0.tar.gz) = 603977a1b6938442842a6b7f750c6c5a8a49d3f611b9cfde8f4b88a2c6e4ecd1
+SIZE (pyscard-1.7.0.tar.gz) = 151796

Added: head/security/py-pyscard/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pyscard/pkg-descr	Tue Jul  7 07:32:45 2015	(r391494)
@@ -0,0 +1,5 @@
+The pyscard smartcard library is a framework for building smart card
+aware applications in Python. The smartcard module is built on top of
+the PCSC API Python wrapper module.
+
+WWW: http://pyscard.sourceforge.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507070732.t677Wkul016456>