27 Commits

Author SHA256 Message Date
01aa00daf0 Accepting request 1314448 from home:mnhauke
- Update to version 2.3.1
  * Add support of SWIG 4.4.0
  * Minor changes

OBS-URL: https://build.opensuse.org/request/show/1314448
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=49
2025-10-30 12:33:33 +00:00
faafee494c Accepting request 1304369 from home:mnhauke
- Update to version 2.3.0
  * PCSCCardRequest: fix waitforcardevent() initialization.
  * PCSCCardConnection: raise exception for .connect() after
    .release()
  * Fix race issue in SCardListReaders() and
    SCardListReaderGroups().
  * Use SCARD_AUTOALLOCATE where defined.
  * Use SCardFreeMemory() on Unix.
  * CardMonitoringThread: Fix a thread safeness issue.
  * fix/ignore all pylint warnings.
  * Minor changes.

OBS-URL: https://build.opensuse.org/request/show/1304369
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=47
2025-09-15 16:50:35 +00:00
8fabd82681 Accepting request 1286618 from home:mnhauke
- Update to version 2.2.2
  * add .release() method to CardConnection & PCSCCardRequest
  * add context manager protocol to CardRequest & CardService
  * fix some parallel execution issues
  * PCSCCardRequest: correctly initialize waitforcardevent()
  * user-guide: Update documentation

OBS-URL: https://build.opensuse.org/request/show/1286618
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=45
2025-06-18 16:42:48 +00:00
37c6495ebd Accepting request 1285000 from home:StevenK:branches:security
- Use pyproject macros to build and install.

OBS-URL: https://build.opensuse.org/request/show/1285000
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=43
2025-06-12 16:02:47 +00:00
b608d36d2c Accepting request 1237928 from home:mnhauke
- Update to version 2.2.1
  * waitforcardevent(): do not miss events between 2 calls.
  * Test, fix, and simplify ATR parsing.

OBS-URL: https://build.opensuse.org/request/show/1237928
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=41
2025-01-14 20:17:59 +00:00
a3e4fa7e67 Accepting request 1212739 from home:mnhauke
- Update to version 2.2.0
   * 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
   * Remove Python 2 conditional code
   * 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)

OBS-URL: https://build.opensuse.org/request/show/1212739
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=39
2024-10-21 12:18:45 +00:00
62b3bc83f0 Accepting request 1199743 from home:mnhauke
- Update to version 2.1.1
  * Fix a regression introduced in 2.1.0
- Update to version 2.1.0
  * PCSCCardRequest: fix active polling (was a 0.1 sec loop)
  * Fix use of undefined variable 'hresult' in exceptions
  * Fix print() use in pyscard user’s guide
  * Fix deprecation warnings
  * Minor changes
  * some more pylint-detected fixes.

OBS-URL: https://build.opensuse.org/request/show/1199743
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=37
2024-09-11 10:56:52 +00:00
bd263d032b Accepting request 1178367 from home:mnhauke
- Update to version 2.0.10
  * CardMonitoringThread(): do not catch unexpected exceptions

OBS-URL: https://build.opensuse.org/request/show/1178367
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=35
2024-06-03 17:41:38 +00:00
c3bfc7c8c3 Accepting request 1165850 from home:mnhauke
- Update to version 2.0.9
  * fix a bug with CardRequestTimeoutException introduced in 2.0.8
  * Minor changes

OBS-URL: https://build.opensuse.org/request/show/1165850
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=33
2024-04-08 13:55:44 +00:00
e2f81cb327 Accepting request 1156663 from home:mnhauke
- Update to version 2.0.8
  * Make CardMonitor() thread safe on Python 3.12
  * Add hresult value in exceptions
  * Improve documentation
  * Check swig is installed on build
  * Remove use of imp module for wx (GUI)
  * Makefile: modernize use of setup.py
- Drop not longer needed patch:
  * 0001-Remove-use-of-imp-module-for-wx-GUI.patch

OBS-URL: https://build.opensuse.org/request/show/1156663
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=31
2024-03-09 22:04:46 +00:00
718d5c9ffb Accepting request 1145021 from home:mnhauke
- Add patch:
  * 0001-Remove-use-of-imp-module-for-wx-GUI.patch
    Fix build for python >= 3.12

OBS-URL: https://build.opensuse.org/request/show/1145021
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=29
2024-02-08 08:34:19 +00:00
b0e26db933 Accepting request 1077891 from home:mnhauke
- Update to version 2.0.7
  * do not include the generated HTML documentation in the archive
- Update to version 2.0.6
  * handle SCARD_E_NO_SERVICE on Windows (on last reader removal)
  * add support of MSYS2/mingw environment on Windows
  * improve documentation
  * minor changes

OBS-URL: https://build.opensuse.org/request/show/1077891
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=27
2023-04-12 08:56:14 +00:00
7846ddf59b Accepting request 1007048 from home:mnhauke
- Update to version 2.0.5
  * no functional changes
- Update to version 2.0.4
   * Fix a problem on PCSCCardConnection.disconnect
   * Add support of BaseSCardException(hresult) format
   * Do not use deprecated distutils anymore
- Update to version 2.0.3
   * PCSCExceptions: include error code in the message

OBS-URL: https://build.opensuse.org/request/show/1007048
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=25
2022-09-29 19:31:40 +00:00
3ee5502def - use https url
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=23
2022-04-19 12:58:10 +00:00
315fb6da92 Accepting request 928977 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/928977
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=22
2021-11-03 14:22:52 +00:00
9307e239cb Accepting request 921041 from home:mnhauke
- Update to version 2.0.2
  * 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

OBS-URL: https://build.opensuse.org/request/show/921041
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=21
2021-09-23 19:07:49 +00:00
7d19984af0 Accepting request 913203 from home:mnhauke
- Update to version 2.0.1
  * Add .reconnect() method to high-level API
  * Use Python3 by default
  * Handle bogus ACS ACR122U PICC reader

OBS-URL: https://build.opensuse.org/request/show/913203
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=20
2021-08-23 12:03:45 +00:00
57667a4032 Accepting request 862050 from home:mnhauke
- Update to version 2.0.0
  * SCardStatus(): Fix a crash in case of PC/SC error
  * toASCIIString(): replace non-ASCII char by '.'

OBS-URL: https://build.opensuse.org/request/show/862050
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=18
2021-01-10 07:41:02 +00:00
a8e9a75a3d Accepting request 750636 from home:mnhauke
- Update to version 1.9.9
  * test: fix Exception test on 32-bits CPU

OBS-URL: https://build.opensuse.org/request/show/750636
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=16
2019-11-25 11:02:58 +00:00
e3a04b2587 Accepting request 691404 from home:Simmphonie:python
- Fix Exception test on 32-bits CPU. Issue #72

OBS-URL: https://build.opensuse.org/request/show/691404
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=14
2019-04-04 07:26:11 +00:00
fa0608b26d Accepting request 688509 from home:mnhauke:branches:security
- Update to version 1.9.8
  * SmartcardException: store the PC/SC return code in hresult
  * CardMonitoring: stop the looping only if PCSC exited
  * Minor documentation improvements

OBS-URL: https://build.opensuse.org/request/show/688509
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=12
2019-03-26 10:35:17 +00:00
b206c1d457 Accepting request 618122 from home:mnhauke:osmocom:nightly
- Update to version 1.9.7
  * Modify CardMonitoring's deleteObserver method to cleanly remove threads
  * Python 3: fix smartcard/Synchronization.py
  * Python 3: Fix SCardGetErrorMessage() on Windows
  * PCSCPart10: add parseFeatureRequest(), parseTlvProperties()
  * Fix PEP8 warnings
  * Minor documentation improvements

OBS-URL: https://build.opensuse.org/request/show/618122
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=10
2018-06-21 04:08:19 +00:00
ee9bc41fa4 Accepting request 546230 from home:Simmphonie:python
- update to version 1.9.6 (August 2017)
  - include test/__init__.py in the archive tarball.
    "make test" now works. That fixes build using Python 3.6
- fix spec file
- single spec for python 2 and python 3
- Update to version 1.9.5 (Feb 2017)
  - SCardGetStatusChange(): fix a memory leak with Python 3
  - SCardTransmit(): use SCARD_PCI_RAW for undefined protocol
  -  Improve epydoc documentation
- verison 1.9.4 (May 2016)
  - Fix installation using pip and easy_install
  - Avoid El Capitan SCardGetAttrib bug
  - CardConnection: Add context management
  - PCSCCardConnection: raise NoCardException if SCARD_E_NO_SMARTCARD
  - Stop CardMonitor monitor thread after traceback print.
  - minor improvements
- verison 1.9.3 (March 2016)
  - Fix SCardControl() on Windows 7
  - Fix installation using pip and easy_install
- verison 1.9.2 (February 2016)
  - Fix toBytes regression
  - Fix installation using pip
  - improve pydoc documentation
  - user-guide.rst: use real sample codes
  - minor improvements
- verison 1.9.1 (September 2015)
  - Create a new version so that the upload to Pypi does _not_
    contain the swig generated files.
- Version 1.9.0 (August 2015)
  - add Python3 support (Python2 is still supported)
  - fix a lot of pylint warnings
  - smartcard/test/* replace deprecated assert calls
  - add tox support and coverage reports, run test suite on Travis
  - add Travis CI support to automatically build on Unix
  - add AppVeyor support to automatically build on Windows
  - minor bugs fixed
  - Big thank you to Alex Willmer for his work on pyscard
- Version 1.7.0 (June 2015)
  - PCSCCardConnection: Fix a problem with mode=SCARD_SHARE_DIRECT
  - add support of cygwin as a build platform
  - Fix a problem with Windows Remote Desktop
  - Switch from distutils to setuptools
  - dropped support for Python 2.5 and earlier (Alex Willmer)
  - dropped support for OS X 10.5 (Leopard) and earlier (Alex Willmer)
  - minor bugs fixed
- move changelog to a file
* 
- added support for windows 64bit amd64 (Jean-Daniel Aussel)
- support python "new" classes (derive classes from object) (Ludovic Rousseau from chrysn feature request ID 3110077)
- fixed Reader.__eq__() (Ludovic Rousseau from Bernard Paulus bug ID 3418113)
- fixed extended APDU transmit buffer too short by 2 (Jean-Daniel Aussel from bugs ID 2914636 and 3106761)
- make Card and Reader objects hashable (Jean-Daniel Aussel from Hans-Peter Jansen feature request and patch)
- convert the user guide to python-Sphinx
* 
- update to 1.6.14 svn 529
* 
- add docs
* 
- initial version

OBS-URL: https://build.opensuse.org/request/show/546230
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=8
2017-11-28 14:19:21 +00:00
8044d9fa17 Accepting request 544050 from home:Simmphonie:yubico
- update to version 1.9.6
- fix spec file

OBS-URL: https://build.opensuse.org/request/show/544050
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=7
2017-11-22 06:11:50 +00:00
47c522a597 Accepting request 494935 from home:Simmphonie:yubico
OBS-URL: https://build.opensuse.org/request/show/494935
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=5
2017-05-15 12:59:21 +00:00
f54c99bb35 Accepting request 341023 from home:Simmphonie:yubico
OBS-URL: https://build.opensuse.org/request/show/341023
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=2
2015-10-26 15:28:42 +00:00
f7eefb3ceb Accepting request 317243 from home:Simmphonie:yubico
package for yubioath-desktop (Yubikey Authenticator)

OBS-URL: https://build.opensuse.org/request/show/317243
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=1
2015-07-20 08:48:11 +00:00