Projects
Eulaceura:Factory
python-pyscard
_service:obs_scm:python-pyscard.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-pyscard.spec of Package python-pyscard
%global _empty_manifest_terminate_build 0 Name: python-pyscard Version: 2.1.0 Release: 1 Summary: A framework for building smart card aware applications in Python License: LGPLv2+ URL: https://github.com/LudovicRousseau/pyscard Source0: https://files.pythonhosted.org/packages/2c/db/d904ab3f345612c83e247a6ce9843e2c5eef6070e94d533c9619d9be2bf0/pyscard-2.1.0.tar.gz %description The pyscard smartcard library is a framework for building smart card aware applications in Python. The smartcard module is built on top of the PCSC API Python wrapper module. %package -n python3-pyscard Summary: A framework for building smart card aware applications in Python Provides: python-pyscard = %{version}-%{release} BuildRequires: gcc BuildRequires: pcsc-lite-devel BuildRequires: swig >= 1.3.31 BuildRequires: python3-setuptools BuildRequires: python3-devel %description -n python3-pyscard The pyscard smartcard library is a framework for building smart card aware applications in Python. The smartcard module is built on top of the PCSC API Python wrapper module. %prep %autosetup -n pyscard-%{version} %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-pyscard -f filelist.lst %license LICENSE %doc ACKS README.md %doc smartcard/doc/* %dir %{python3_sitearch}/* %changelog * Tue Oct 29 2024 muxiaohui <muxiaohui@kylinos.cn> - 2.1.0-1 - Update version to 2.1.0 - Fix deprecation warnings. - Fix use of undefined variable 'hresult' in exceptions * Tue Sep 3 2024 lilu <lilu@kylinos.cn> - 2.0.10-1 - Update package to version 2.0.10 - Add 'swig' in pyproject.toml build requires - Fix a bug with CardRequestTimeoutException introduced in 2.0.8 * Tue Aug 06 2024 muxiaohui <muxiaohui@kylinos.cn> - 2.0.8-1 - Update package to version 2.0.8 - Make CardMonitor() thread safe on Python 3.12 - Add hresult value in exceptions - Check swig is installed on build * Tue Dec 26 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 2.0.7-2 - Fixed the problem that yubikey-manager cannot depend on pyscard * Thu Aug 03 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 2.0.7-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2