1
0

8 Commits

Author SHA256 Message Date
06c6b13d62 Accepting request 1286751 from security
OBS-URL: https://build.opensuse.org/request/show/1286751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyscard?expand=0&rev=24
2025-06-20 14:49:23 +00:00
d85ce113d1 - 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/package/show/security/python-pyscard?expand=0&rev=45
2025-06-18 16:42:48 +00:00
601783efdf Accepting request 1285205 from security
OBS-URL: https://build.opensuse.org/request/show/1285205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyscard?expand=0&rev=23
2025-06-13 16:43:57 +00:00
925f9ced54 - Use pyproject macros to build and install.
OBS-URL: https://build.opensuse.org/package/show/security/python-pyscard?expand=0&rev=43
2025-06-12 16:02:47 +00:00
f09c78f522 Accepting request 1237933 from security
OBS-URL: https://build.opensuse.org/request/show/1237933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyscard?expand=0&rev=22
2025-01-15 16:44:05 +00:00
36345bc486 - 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/package/show/security/python-pyscard?expand=0&rev=41
2025-01-14 20:17:59 +00:00
f10f309cc0 Accepting request 1216717 from security
OBS-URL: https://build.opensuse.org/request/show/1216717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyscard?expand=0&rev=21
2024-10-21 14:26:36 +00:00
1555e6c19c - 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/package/show/security/python-pyscard?expand=0&rev=39
2024-10-21 12:18:45 +00:00
4 changed files with 65 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9b0dc3fad83ac72a9335af4d04b608edc9d01e2b90e0c38ed0ef1fd014c4414
size 153537

3
pyscard-2.2.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c77481fb86f4a17bc441d7b36551c1d36a9d3a48c4bb30ab8118886e6f275081
size 156637

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
Wed Jun 18 10:36:19 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- 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
-------------------------------------------------------------------
Thu Jun 12 05:33:57 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Use pyproject macros to build and install.
-------------------------------------------------------------------
Tue Jan 14 19:57:53 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.2.1
* waitforcardevent(): do not miss events between 2 calls.
* Test, fix, and simplify ATR parsing.
-------------------------------------------------------------------
Sun Oct 20 20:20:21 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- 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)
-------------------------------------------------------------------
Mon Sep 9 20:40:22 UTC 2024 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyscard
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2011 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,16 +19,17 @@
%define modname pyscard
Name: python-pyscard
Version: 2.1.1
Version: 2.2.2
Release: 0
Summary: Python module adding smart card support
License: LGPL-2.0-or-later
Group: Development/Languages/Python
URL: https://pyscard.sourceforge.io/
Source: https://files.pythonhosted.org/packages/source/p/pyscard/pyscard-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pcsc-lite-devel
BuildRequires: pkgconfig
@@ -45,25 +46,22 @@ python framework built on top of the raw PCSC API.
%prep
%setup -q -n %{modname}-%{version}
mv smartcard/doc .
dos2unix LICENSE
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
mv smartcard smartcard_hide
%pyunittest_arch discover -v
%pytest_arch
%files %{python_files}
%doc ChangeLog doc README.md
%license LICENSE
%{python_sitearch}/pyscard*
%doc ChangeLog README.md
%{python_sitearch}/smartcard
%{python_sitearch}/pyscard-%{version}.dist-info
%changelog