pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-scard py-scard: updated to 2.0.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db6dc62adfdd
branches:  trunk
changeset: 371468:db6dc62adfdd
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jan 10 16:15:07 2022 +0000

description:
py-scard: updated to 2.0.2

2.0.2 (September 2021)
======================
* Fix an issue in ReaderMonitor() that failed to enumerate readers
  on macOS
* getReaderNames(): handle SCARD_E_SERVICE_STOPPED on Windows
  generated on last reader removal
* Restrict MAX_BUFFER_SIZE_EXTENDED to 65535 and fix an issue on
  Lenovo laptops with NXP NFC readers
* SmartcardException: display a positive PCSC error code

2.0.1 (June 2021)
=================
* Add .reconnect() method to high-level API
* Handle removal of the last reader on Windows
* Fix support of macOS Big Sur
* Use Python3 by default
* Handle bogus ACS ACR122U PICC reader

2.0.0 (September 2020)
======================
* SCardStatus(): Fix a crash in case of PC/SC error
* toASCIIString(): replace non-ASCII char by '.'
* remove i386 (32-bits) support on macOS

diffstat:

 devel/py-scard/Makefile                                    |   7 +++----
 devel/py-scard/distinfo                                    |   9 +++++----
 devel/py-scard/patches/patch-smartcard_scard_winscarddll.h |  14 ++++++++++++++
 3 files changed, 22 insertions(+), 8 deletions(-)

diffs (48 lines):

diff -r e806adfcbcf6 -r db6dc62adfdd devel/py-scard/Makefile
--- a/devel/py-scard/Makefile   Mon Jan 10 16:13:55 2022 +0000
+++ b/devel/py-scard/Makefile   Mon Jan 10 16:15:07 2022 +0000
@@ -1,9 +1,8 @@
-#      $NetBSD: Makefile,v 1.2 2022/01/04 20:53:38 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/10 16:15:07 adam Exp $
 
-DISTNAME=      pyscard-1.9.9
+DISTNAME=      pyscard-2.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:C/^py//}
-PKGREVISION=   1
-CATEGORIES=    devel
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyscard/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r e806adfcbcf6 -r db6dc62adfdd devel/py-scard/distinfo
--- a/devel/py-scard/distinfo   Mon Jan 10 16:13:55 2022 +0000
+++ b/devel/py-scard/distinfo   Mon Jan 10 16:15:07 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:19:03 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/01/10 16:15:07 adam Exp $
 
-BLAKE2s (pyscard-1.9.9.tar.gz) = 762a249c6dc16e758c7d0439009fee9045bd4668fc248d75190e83d177418db5
-SHA512 (pyscard-1.9.9.tar.gz) = 88c7314c10153f509eb9bf6318e62210c7182e51b531af752a402bf8d05cfa2658cc1a4e7b9385a474038ddfa5a1bfbf1f208fcd9abe02a60161ce7c757c67b2
-Size (pyscard-1.9.9.tar.gz) = 145428 bytes
+BLAKE2s (pyscard-2.0.2.tar.gz) = f20bad63565da15d384bbed168d2bb6da0b3b31115bdb5133bcdd3a621cccfa1
+SHA512 (pyscard-2.0.2.tar.gz) = f6ab42a0aa037189f2fefe4001dde7f49125fdf63358352af956e58da9a51744a884ff1f7173b71e035a1a4a20825a906ee5d94f314b760333d1110c898a6644
+Size (pyscard-2.0.2.tar.gz) = 149302 bytes
+SHA1 (patch-smartcard_scard_winscarddll.h) = 37af3bc8fc9fd44c3eeaaf3b9a9c1d0ae981a856
diff -r e806adfcbcf6 -r db6dc62adfdd devel/py-scard/patches/patch-smartcard_scard_winscarddll.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-scard/patches/patch-smartcard_scard_winscarddll.h        Mon Jan 10 16:15:07 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-smartcard_scard_winscarddll.h,v 1.1 2022/01/10 16:15:07 adam Exp $
+
+Fix building on Darwin.
+
+--- smartcard/scard/winscarddll.h.orig 2022-01-10 12:12:48.000000000 +0000
++++ 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