security/py-pyscard

The pyscard smartcard library is a framework for building smart card
aware applications in Python.
the PCSC API Python wrapper module.

- smartcard.scard, an extension module wrapping the WinSCard API (smart
card base components) also known as PC/SC

- smartcard, a higher level Python framework built on top of the raw
PC/SC API

Version 1.9.9

From Lucas Rabb

Input and tweaks from myself and sthen

OK sthen
This commit is contained in:
kmos 2019-11-12 10:24:23 +00:00
parent cf1792bf4c
commit d54457419c
4 changed files with 184 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/11/12 10:24:23 kmos Exp $
COMMENT = smartcard package for Python
MODPY_EGG_VERSION = 1.9.9
DISTNAME = pyscard-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = security
HOMEPAGE = https://pyscard.sourceforge.io/
# LGPLv2.1+
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
BUILD_DEPENDS = devel/swig \
security/pcsc-lite
RUN_DEPENDS = security/pcsc-lite
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (pyscard-1.9.9.tar.gz) = 5r3lQZkBg4WHQHk4BrHH9OeYZwUZrkyWFF811deUTCA=
SIZE (pyscard-1.9.9.tar.gz) = 145428

View File

@ -0,0 +1,9 @@
The pyscard smartcard library is a framework for building smart card
aware applications in Python.
the PCSC API Python wrapper module.
- smartcard.scard, an extension module wrapping the WinSCard API (smart
card base components) also known as PC/SC
- smartcard, a higher level Python framework built on top of the raw
PC/SC API

View File

@ -0,0 +1,146 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/11/12 10:24:23 kmos Exp $
lib/python${MODPY_VERSION}/site-packages/pyscard-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/pyscard-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/pyscard-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/pyscard-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/pyscard-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/pbr.json
lib/python${MODPY_VERSION}/site-packages/pyscard-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/pyscard-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/smartcard/
lib/python${MODPY_VERSION}/site-packages/smartcard/ATR.py
lib/python${MODPY_VERSION}/site-packages/smartcard/AbstractCardRequest.py
lib/python${MODPY_VERSION}/site-packages/smartcard/Card.py
lib/python${MODPY_VERSION}/site-packages/smartcard/CardConnection.py
lib/python${MODPY_VERSION}/site-packages/smartcard/CardConnectionDecorator.py
lib/python${MODPY_VERSION}/site-packages/smartcard/CardConnectionEvent.py
lib/python${MODPY_VERSION}/site-packages/smartcard/CardConnectionObserver.py
lib/python${MODPY_VERSION}/site-packages/smartcard/CardMonitoring.py
lib/python${MODPY_VERSION}/site-packages/smartcard/CardNames.py
lib/python${MODPY_VERSION}/site-packages/smartcard/CardRequest.py
lib/python${MODPY_VERSION}/site-packages/smartcard/CardService.py
lib/python${MODPY_VERSION}/site-packages/smartcard/CardType.py
lib/python${MODPY_VERSION}/site-packages/smartcard/ClassLoader.py
lib/python${MODPY_VERSION}/site-packages/smartcard/Exceptions.py
lib/python${MODPY_VERSION}/site-packages/smartcard/ExclusiveConnectCardConnection.py
lib/python${MODPY_VERSION}/site-packages/smartcard/ExclusiveTransmitCardConnection.py
lib/python${MODPY_VERSION}/site-packages/smartcard/Observer.py
lib/python${MODPY_VERSION}/site-packages/smartcard/PassThruCardService.py
lib/python${MODPY_VERSION}/site-packages/smartcard/ReaderMonitoring.py
lib/python${MODPY_VERSION}/site-packages/smartcard/Session.py
lib/python${MODPY_VERSION}/site-packages/smartcard/Synchronization.py
lib/python${MODPY_VERSION}/site-packages/smartcard/System.py
lib/python${MODPY_VERSION}/site-packages/smartcard/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}ATR.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}AbstractCardRequest.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}Card.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}CardConnection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}CardConnectionDecorator.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}CardConnectionEvent.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}CardConnectionObserver.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}CardMonitoring.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}CardNames.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}CardRequest.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}CardService.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}CardType.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}ClassLoader.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}Exceptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}ExclusiveConnectCardConnection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}ExclusiveTransmitCardConnection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}Observer.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}PassThruCardService.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}ReaderMonitoring.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}Session.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}Synchronization.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}System.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}guid.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/${MODPY_PYCACHE}ulist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/guid.py
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/PCSCCardConnection.py
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/PCSCCardRequest.py
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/PCSCContext.py
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/PCSCExceptions.py
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/PCSCPart10.py
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/PCSCReader.py
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/PCSCReaderGroups.py
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/${MODPY_PYCACHE}PCSCCardConnection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/${MODPY_PYCACHE}PCSCCardRequest.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/${MODPY_PYCACHE}PCSCContext.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/${MODPY_PYCACHE}PCSCExceptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/${MODPY_PYCACHE}PCSCPart10.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/${MODPY_PYCACHE}PCSCReader.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/${MODPY_PYCACHE}PCSCReaderGroups.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/pcsc/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/pyro/
lib/python${MODPY_VERSION}/site-packages/smartcard/pyro/PyroReader.py
lib/python${MODPY_VERSION}/site-packages/smartcard/pyro/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/smartcard/pyro/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/smartcard/pyro/${MODPY_PYCACHE}PyroReader.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/pyro/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/reader/
lib/python${MODPY_VERSION}/site-packages/smartcard/reader/Reader.py
lib/python${MODPY_VERSION}/site-packages/smartcard/reader/ReaderFactory.py
lib/python${MODPY_VERSION}/site-packages/smartcard/reader/ReaderGroups.py
lib/python${MODPY_VERSION}/site-packages/smartcard/reader/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/smartcard/reader/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/smartcard/reader/${MODPY_PYCACHE}Reader.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/reader/${MODPY_PYCACHE}ReaderFactory.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/reader/${MODPY_PYCACHE}ReaderGroups.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/reader/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/scard/
lib/python${MODPY_VERSION}/site-packages/smartcard/scard/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/smartcard/scard/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/smartcard/scard/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/scard/${MODPY_PYCACHE}scard.${MODPY_PYC_MAGIC_TAG}pyc
@so lib/python${MODPY_VERSION}/site-packages/smartcard/scard/_scard.so
lib/python${MODPY_VERSION}/site-packages/smartcard/scard/scard.py
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/ErrorChecker.py
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/ErrorCheckingChain.py
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/ISO7816_4ErrorChecker.py
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/ISO7816_4_SW1ErrorChecker.py
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/ISO7816_8ErrorChecker.py
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/ISO7816_9ErrorChecker.py
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/SWExceptions.py
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}ErrorChecker.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}ErrorCheckingChain.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}ISO7816_4ErrorChecker.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}ISO7816_4_SW1ErrorChecker.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}ISO7816_8ErrorChecker.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}ISO7816_9ErrorChecker.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}SWExceptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/${MODPY_PYCACHE}op21_ErrorChecker.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/sw/op21_ErrorChecker.py
lib/python${MODPY_VERSION}/site-packages/smartcard/ulist.py
lib/python${MODPY_VERSION}/site-packages/smartcard/util/
lib/python${MODPY_VERSION}/site-packages/smartcard/util/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/smartcard/util/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/smartcard/util/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/APDUHexValidator.py
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/APDUTracerPanel.py
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/CardAndReaderTreePanel.py
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/ReaderToolbar.py
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/SimpleSCardApp.py
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/SimpleSCardAppEventObserver.py
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/SimpleSCardAppFrame.py
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/smartcard/wx/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/${MODPY_PYCACHE}APDUHexValidator.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/${MODPY_PYCACHE}APDUTracerPanel.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/${MODPY_PYCACHE}CardAndReaderTreePanel.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/${MODPY_PYCACHE}ReaderToolbar.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/${MODPY_PYCACHE}SimpleSCardApp.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/${MODPY_PYCACHE}SimpleSCardAppEventObserver.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/${MODPY_PYCACHE}SimpleSCardAppFrame.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/resources/
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/resources/reader.ico
lib/python${MODPY_VERSION}/site-packages/smartcard/wx/resources/smartcard.ico