pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-scard



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan  2 09:58:45 UTC 2025

Modified Files:
        pkgsrc/devel/py-scard: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-scard/patches: patch-src_smartcard_scard_winscarddll.h
Removed Files:
        pkgsrc/devel/py-scard/patches: patch-smartcard_scard_winscarddll.h

Log Message:
py-scard: updated to 2.2.0

2.2.0 (October 2024)

- patches from Ludovic Rousseau
   * PCSCCardRequest:
    - handle KeyboardInterrupt in waitforcard() & waitforcardevent()
        - use a local PC/SC context to avoid locks
   * smartcard.util.padd(): do NOT modify the input parameter
   * CardMonitoring: a timeout exception IS expected
   * Fix pydoctor documentation
   * wx: fix module and examples
   * Minor changes
- patches from Kurt McKee
   * Remove Python 2 conditional code
   * Eliminate Windows Vista and Windows 7 conditionals
   * Test and improve the synchronization code
   * Test and update the `Observer.py` code
   * Remove `ClassLoader.py`
   * Migrate a `src/` layout
   * Migrate test/* from unittest to pytest
   * Add missing GSM 03.38 symbols for decoding
   * Support only Python 3.9 and higher
   * Remove the Python 2.x-only Pyro dependency
   * Migrate CI to use the official Coveralls action
   * Standardize local and CI testing to use tox
   * Build wheels in CI for all supported Python versions
   * Build the docs as a part of the test suite
   * Begin to add type annotations to the package
   * Deprecate the `HexListToBinString`, `BinStringToHexList`, `hl2bs`, and `bs2hl` utility functions
   * Support "64" as an ATR baud rate adjustment integer (ISO 7816-3 2006)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-scard/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-scard/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-scard/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/devel/py-scard/patches/patch-smartcard_scard_winscarddll.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-scard/patches/patch-src_smartcard_scard_winscarddll.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-scard/Makefile
diff -u pkgsrc/devel/py-scard/Makefile:1.12 pkgsrc/devel/py-scard/Makefile:1.13
--- pkgsrc/devel/py-scard/Makefile:1.12 Mon Nov 11 07:28:23 2024
+++ pkgsrc/devel/py-scard/Makefile      Thu Jan  2 09:58:45 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2024/11/11 07:28:23 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2025/01/02 09:58:45 adam Exp $
 
-DISTNAME=      pyscard-2.1.1
+DISTNAME=      pyscard-2.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:C/^py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyscard/}

Index: pkgsrc/devel/py-scard/PLIST
diff -u pkgsrc/devel/py-scard/PLIST:1.3 pkgsrc/devel/py-scard/PLIST:1.4
--- pkgsrc/devel/py-scard/PLIST:1.3     Tue Mar 12 08:12:53 2024
+++ pkgsrc/devel/py-scard/PLIST Thu Jan  2 09:58:45 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2024/03/12 08:12:53 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/01/02 09:58:45 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -28,9 +28,6 @@ ${PYSITELIB}/smartcard/CardConnectionObs
 ${PYSITELIB}/smartcard/CardMonitoring.py
 ${PYSITELIB}/smartcard/CardMonitoring.pyc
 ${PYSITELIB}/smartcard/CardMonitoring.pyo
-${PYSITELIB}/smartcard/CardNames.py
-${PYSITELIB}/smartcard/CardNames.pyc
-${PYSITELIB}/smartcard/CardNames.pyo
 ${PYSITELIB}/smartcard/CardRequest.py
 ${PYSITELIB}/smartcard/CardRequest.pyc
 ${PYSITELIB}/smartcard/CardRequest.pyo
@@ -40,9 +37,6 @@ ${PYSITELIB}/smartcard/CardService.pyo
 ${PYSITELIB}/smartcard/CardType.py
 ${PYSITELIB}/smartcard/CardType.pyc
 ${PYSITELIB}/smartcard/CardType.pyo
-${PYSITELIB}/smartcard/ClassLoader.py
-${PYSITELIB}/smartcard/ClassLoader.pyc
-${PYSITELIB}/smartcard/ClassLoader.pyo
 ${PYSITELIB}/smartcard/Exceptions.py
 ${PYSITELIB}/smartcard/Exceptions.pyc
 ${PYSITELIB}/smartcard/Exceptions.pyo
@@ -100,12 +94,6 @@ ${PYSITELIB}/smartcard/pcsc/PCSCReaderGr
 ${PYSITELIB}/smartcard/pcsc/__init__.py
 ${PYSITELIB}/smartcard/pcsc/__init__.pyc
 ${PYSITELIB}/smartcard/pcsc/__init__.pyo
-${PYSITELIB}/smartcard/pyro/PyroReader.py
-${PYSITELIB}/smartcard/pyro/PyroReader.pyc
-${PYSITELIB}/smartcard/pyro/PyroReader.pyo
-${PYSITELIB}/smartcard/pyro/__init__.py
-${PYSITELIB}/smartcard/pyro/__init__.pyc
-${PYSITELIB}/smartcard/pyro/__init__.pyo
 ${PYSITELIB}/smartcard/reader/Reader.py
 ${PYSITELIB}/smartcard/reader/Reader.pyc
 ${PYSITELIB}/smartcard/reader/Reader.pyo

Index: pkgsrc/devel/py-scard/distinfo
diff -u pkgsrc/devel/py-scard/distinfo:1.11 pkgsrc/devel/py-scard/distinfo:1.12
--- pkgsrc/devel/py-scard/distinfo:1.11 Mon Oct 14 07:21:21 2024
+++ pkgsrc/devel/py-scard/distinfo      Thu Jan  2 09:58:45 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2024/10/14 07:21:21 adam Exp $
+$NetBSD: distinfo,v 1.12 2025/01/02 09:58:45 adam Exp $
 
-BLAKE2s (pyscard-2.1.1.tar.gz) = fcc2230980bdb76dc2ba2864c9bcbdeeac62560d42278df9e4f4004c310bd599
-SHA512 (pyscard-2.1.1.tar.gz) = 854d52fde447e972545761ce8f2c1262d5e454c942fc68f2be09d0b62cc453aa5ef793e899f283fe5f53db59ef0714252090b8f5335dcd1b40ed28506965f371
-Size (pyscard-2.1.1.tar.gz) = 153537 bytes
-SHA1 (patch-smartcard_scard_winscarddll.h) = 37af3bc8fc9fd44c3eeaaf3b9a9c1d0ae981a856
+BLAKE2s (pyscard-2.2.0.tar.gz) = 90090547ca3b5994eac6757213f5001ab83e3e574d3690def1535689f342f292
+SHA512 (pyscard-2.2.0.tar.gz) = 91ceeab576345ff7f2e9d173399ab4d2ddebd26dab613fba33b7620253aea81645d6efdf0d365724a34cec8e9fd4f76cd43801d925a94e058ff797e5c0a41b73
+Size (pyscard-2.2.0.tar.gz) = 154847 bytes
+SHA1 (patch-src_smartcard_scard_winscarddll.h) = 7d550f0b15c93f9c17fa9ddeff073218d5af2809

Added files:

Index: pkgsrc/devel/py-scard/patches/patch-src_smartcard_scard_winscarddll.h
diff -u /dev/null pkgsrc/devel/py-scard/patches/patch-src_smartcard_scard_winscarddll.h:1.1
--- /dev/null   Thu Jan  2 09:58:45 2025
+++ pkgsrc/devel/py-scard/patches/patch-src_smartcard_scard_winscarddll.h       Thu Jan  2 09:58:45 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_smartcard_scard_winscarddll.h,v 1.1 2025/01/02 09:58:45 adam Exp $
+
+Fix building on Darwin.
+
+--- src/smartcard/scard/winscarddll.h.orig     2022-01-10 12:12:48.000000000 +0000
++++ src/smartcard/scard/winscarddll.h
+@@ -30,6 +30,7 @@ Foundation, Inc., 51 Franklin St, Fifth 
+     #include <PCSC/wintypes.h>
+     #include <PCSC/winscard.h>
+     #define LPCTSTR char*
++    #define LPTSTR char*
+ #else // !__APPLE__
+     #include <winscard.h>
+ #endif



Home | Main Index | Thread Index | Old Index