Hello community, here is the log from the commit of package python-pyscard for openSUSE:Factory checked in at 2015-12-03 13:31:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyscard (Old) and /work/SRC/openSUSE:Factory/.python-pyscard.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyscard" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyscard/python-pyscard.changes 2015-11-22 10:59:53.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyscard.new/python-pyscard.changes 2015-12-03 13:31:08.000000000 +0100 @@ -1,0 +2,22 @@ +Fri Oct 16 07:38:21 UTC 2015 - [email protected] + +- 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 + +------------------------------------------------------------------- Old: ---- pyscard-1.6.16.tar.bz2 New: ---- pyscard-1.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyscard.spec ++++++ --- /var/tmp/diff_new_pack.Ly5XTH/_old 2015-12-03 13:31:09.000000000 +0100 +++ /var/tmp/diff_new_pack.Ly5XTH/_new 2015-12-03 13:31:09.000000000 +0100 @@ -1,6 +1,7 @@ # # spec file for package python-pyscard # +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -15,32 +16,25 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define modname pyscard - Name: python-pyscard -Version: 1.6.16 -Release: 0.svn529.2.1 +Version: 1.9.0 +Release: 0 Summary: Python module adding smart card support -URL: http://pyscard.sourceforge.net/ -License: LGPL-2.1+ +License: LGPL-2.0+ Group: Development/Languages/Python -Source: %{modname}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-buildroot +Url: http://pyscard.sourceforge.net/ +Source: %{modname}-%{version}.tar.gz +BuildRequires: dos2unix +BuildRequires: fdupes BuildRequires: pcsc-lite-devel -BuildRequires: python-devel +BuildRequires: pkg-config +BuildRequires: python-setuptools BuildRequires: swig -BuildRequires: recode -BuildRequires: fdupes -Requires: python-wxGTK - -%if 0%{?suse_version} -%py_requires -%endif +BuildRequires: pkgconfig(python) >= 2.7 +Requires: pcsc-ccid +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Python-pyscard consists of smartcard.scard, an extension module wrapping @@ -48,33 +42,22 @@ lite on linux and Mac OS X Tiger and Leopard, and smartcard, a higher level python framework built on top of the raw PCSC API. -This package is build from rev 529 of the svn repo at: -https://pyscard.svn.sourceforge.net/svnroot/pyscard/trunk - -Authors: --------- - Jean-Daniel Aussel <[email protected]> - %prep %setup -q -n %{modname}-%{version} -mv smartcard/{ACKS,ChangeLog,doc,Examples,TODO} . -recode lat1..utf8 ACKS -sed -i 's/\r//g' LICENSE Examples/wx/*/setup.py +mv smartcard/doc . +dos2unix LICENSE %build export CFLAGS="%{optflags}" python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES %fdupes %{buildroot} -%clean -rm -rf %{buildroot} - -%files -f INSTALLED_FILES -%defattr(0644,root,root,0755) -%doc ACKS ChangeLog doc Examples LICENSE PKG-INFO README TODO -%python_sitearch/* +%files +%defattr(-,root,root,-) +%doc ACKS ChangeLog doc LICENSE PKG-INFO README TODO +%{python_sitearch}/* %changelog
