From: Stuart Cassoff Subject: [UPDATE] security/py-pyscard To: OpenBSD Ports Date: Thu, 11 Dec 2025 02:26:56 -0500 Update to 2.3.1. Install examples. SEPARATE_BUILD=Yes Tested on i386 and amd64. Stu diff -Nurp /usr/ports/security/py-pyscard/Makefile ./Makefile --- /usr/ports/security/py-pyscard/Makefile Thu May 1 08:38:00 2025 +++ ./Makefile Thu Dec 11 01:21:39 2025 @@ -1,9 +1,8 @@ COMMENT= smartcard package for Python -MODPY_DISTV= 2.2.1 +MODPY_DISTV= 2.3.1 DISTNAME= pyscard-${MODPY_DISTV} PKGNAME= py-${DISTNAME} -REVISION= 1 CATEGORIES= security @@ -21,5 +20,12 @@ MODPY_PYTEST_ARGS= test BUILD_DEPENDS= devel/swig \ security/pcsc-lite RUN_DEPENDS= security/pcsc-lite + +SEPARATE_BUILD= Yes + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-pyscard + cp -R ${WRKSRC}/src/smartcard/Examples/* \ + ${PREFIX}/share/examples/py-pyscard .include diff -Nurp /usr/ports/security/py-pyscard/distinfo ./distinfo --- /usr/ports/security/py-pyscard/distinfo Tue Mar 25 19:37:34 2025 +++ ./distinfo Tue Dec 9 22:54:16 2025 @@ -1,2 +1,2 @@ -SHA256 (pyscard-2.2.1.tar.gz) = kg5oilEIIkyxm5FcP9fqfPPRqjeVh//Qh5c+hME/jZQ= -SIZE (pyscard-2.2.1.tar.gz) = 156518 +SHA256 (pyscard-2.3.1.tar.gz) = okNW9XoKlQdAtuVPUfgZ7dUpbuiJKmYlsNoEck6ebBM= +SIZE (pyscard-2.3.1.tar.gz) = 160650 diff -Nurp /usr/ports/security/py-pyscard/pkg/PLIST ./pkg/PLIST --- /usr/ports/security/py-pyscard/pkg/PLIST Mon Oct 27 08:06:26 2025 +++ ./pkg/PLIST Wed Dec 10 10:40:12 2025 @@ -79,7 +79,6 @@ lib/python${MODPY_VERSION}/site-packages/smartcard/gui 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 @@ -90,8 +89,6 @@ lib/python${MODPY_VERSION}/site-packages/smartcard/pcs 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}${MODPY_PYOEXTENSION} 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}${MODPY_PYOEXTENSION} -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}${MODPY_PYOEXTENSION} 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}${MODPY_PYOEXTENSION} @@ -189,3 +186,55 @@ lib/python${MODPY_VERSION}/site-packages/smartcard/wx/ 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 +share/examples/py-pyscard/ +share/examples/py-pyscard/framework/ +share/examples/py-pyscard/framework/sample_ATR.py +share/examples/py-pyscard/framework/sample_CardConnectionDecorator.py +share/examples/py-pyscard/framework/sample_ConsoleConnectionTracer.py +share/examples/py-pyscard/framework/sample_CustomCardType.py +share/examples/py-pyscard/framework/sample_CustomErrorChecker.py +share/examples/py-pyscard/framework/sample_ErrorChecking.py +share/examples/py-pyscard/framework/sample_ExclusiveCardConnection.py +share/examples/py-pyscard/framework/sample_MonitorCards.py +share/examples/py-pyscard/framework/sample_MonitorCardsAndTransmit.py +share/examples/py-pyscard/framework/sample_MonitorReaders.py +share/examples/py-pyscard/framework/sample_TransmitCardObserver.py +share/examples/py-pyscard/framework/sample_apduTracerInterpreter.py +share/examples/py-pyscard/framework/sample_toHexString.py +share/examples/py-pyscard/scard-api/ +share/examples/py-pyscard/scard-api/sample_control.py +share/examples/py-pyscard/scard-api/sample_getATR.py +share/examples/py-pyscard/scard-api/sample_getAttrib.py +share/examples/py-pyscard/scard-api/sample_getStatusChange.py +share/examples/py-pyscard/scard-api/sample_listCards.py +share/examples/py-pyscard/scard-api/sample_listInterfaces.py +share/examples/py-pyscard/scard-api/sample_locateCards.py +share/examples/py-pyscard/scard-api/sample_pinpad.py +share/examples/py-pyscard/scard-api/sample_readerGroups.py +share/examples/py-pyscard/scard-api/sample_readers.py +share/examples/py-pyscard/scard-api/sample_selectDFTelecom.py +share/examples/py-pyscard/scard-api/sample_transaction.py +share/examples/py-pyscard/simple/ +share/examples/py-pyscard/simple/getATR.py +share/examples/py-pyscard/simple/getATR_context.py +share/examples/py-pyscard/simple/selectDF_TELECOM.py +share/examples/py-pyscard/simple/simpleAPDU.py +share/examples/py-pyscard/wx/ +share/examples/py-pyscard/wx/apdumanager/ +share/examples/py-pyscard/wx/apdumanager/SampleAPDUManagerPanel.py +share/examples/py-pyscard/wx/apdumanager/apdumanager.py +share/examples/py-pyscard/wx/apdumanager/images/ +share/examples/py-pyscard/wx/apdumanager/images/mysmartcard.ico +share/examples/py-pyscard/wx/apdumanager/setup.py +share/examples/py-pyscard/wx/cardmonitor/ +share/examples/py-pyscard/wx/cardmonitor/cardmonitor.py +share/examples/py-pyscard/wx/cardmonitor/images/ +share/examples/py-pyscard/wx/cardmonitor/images/mysmartcard.ico +share/examples/py-pyscard/wx/cardmonitor/setup.py +share/examples/py-pyscard/wx/pcscdiag/ +share/examples/py-pyscard/wx/pcscdiag/pcscdiag.py +share/examples/py-pyscard/wx/readerviewer/ +share/examples/py-pyscard/wx/readerviewer/images/ +share/examples/py-pyscard/wx/readerviewer/images/readerviewer.ico +share/examples/py-pyscard/wx/readerviewer/readerviewer.py +share/examples/py-pyscard/wx/readerviewer/setup.py