forked from pool/python-pyscard
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 06c6b13d62 | |||
| d85ce113d1 | |||
| 601783efdf | |||
| 925f9ced54 | |||
| f09c78f522 | |||
| 36345bc486 | |||
| f10f309cc0 | |||
| 1555e6c19c |
@@ -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
3
pyscard-2.2.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c77481fb86f4a17bc441d7b36551c1d36a9d3a48c4bb30ab8118886e6f275081
|
||||
size 156637
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user