debian/0000755000000000000000000000000012035270306007164 5ustar debian/docs0000644000000000000000000000000711055237574010047 0ustar README debian/copyright0000644000000000000000000000223211055237574011131 0ustar This package was debianized by Ludovic Rousseau on Mon, 7 Aug 2006 14:46:44 +0200. It was downloaded from http://sourceforge.net/projects/pyscard/ Copyright Holder: Copyright (C) 2001-2008 Gemalto Author: Jean-Daniel Aussel, License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/watch0000644000000000000000000000006611055237574010232 0ustar version=3 http://sf.net/pyscard/pyscard-(.*)\.tar\.gz debian/examples0000644000000000000000000000002411055237574010734 0ustar smartcard/Examples/ debian/control0000644000000000000000000000165612035267727010614 0ustar Source: pyscard Priority: optional Maintainer: Ludovic Rousseau Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 9), python-all-dev (>= 2.6.6-3), libpcsclite-dev, swig Standards-Version: 3.9.3 Section: python XS-Python-Version: all Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyscard/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyscard/trunk/ Homepage: http://pyscard.sourceforge.net/ Package: python-pyscard Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Suggests: python-wxgtk2.8 XB-Python-Version: ${python:Versions} Description: Python wrapper above PC/SC API This package contains a wrapper to use PC/SC from a Python program. PC/SC (or winscard or pcsc) is an API to communicate with smart cards and smart card readers. . The package also contains some example of codes. debian/compat0000644000000000000000000000000212035267501010365 0ustar 9 debian/rules0000755000000000000000000000005511755466145010264 0ustar #!/usr/bin/make -f %: dh $@ --with python2 debian/changelog0000644000000000000000000001317412035270000011033 0ustar pyscard (1.6.12.1-4) unstable; urgency=low * Fix "python-pyscard package needlessly linked against libpython" patched from bug report applied (Closes: #689923) * debian/compat: move from 7 to 9 to get automatic code hardening -- Ludovic Rousseau Wed, 10 Oct 2012 14:50:11 +0200 pyscard (1.6.12.1-3) unstable; urgency=low * use debian/clean instead of a modified debian/rules to fix bug #671322 -- Ludovic Rousseau Fri, 18 May 2012 17:35:40 +0200 pyscard (1.6.12.1-2) unstable; urgency=low * Fix "FTBFS if built twice in a row: aborting due to unexpected upstream changes" remove files generated by swig in dh_auto_clean (Closes: #671322) -- Ludovic Rousseau Thu, 03 May 2012 18:49:59 +0200 pyscard (1.6.12.1-1) unstable; urgency=low * New upstream release (SVN snapshot at revision 596) * Fix "Please drop alternative dependency on python-wxgtk2.6" Removed Suggests: python-wxgtk2.6 as the package is no more available in Debian (Closes: #645891) * debian/patches/SCardCancelTransaction.patch: removed since included upstream * debian/control: Standards-Version: 3.9.2 -> 3.9.3, no change needed. -- Ludovic Rousseau Tue, 01 May 2012 17:26:03 +0200 pyscard (1.6.12-4) unstable; urgency=low * rebuild to add support of python 2.7 and remove support of python 2.5 * debian/rules: move to dh_python2 * debian/control: Standards-Version: 3.9.1 -> 3.9.2, no change needed. -- Ludovic Rousseau Sat, 23 Apr 2011 17:17:32 +0200 pyscard (1.6.12-3) unstable; urgency=low * Fix "Cannot load Python module: SCardCancelTransaction is an undefined symbol" patch from upstream revision 516 (Closes: #618841) * Change from Recommends: to Suggests: for python-wxgtk2.? since only the examples are using it. No need to install this package by default. * Remove Provides: ${python:Provides} since it is useless or harmful http://lists.debian.org/debian-python/2011/03/msg00139.html * Fix: I: python-pyscard: extended-description-is-probably-too-short -- Ludovic Rousseau Fri, 25 Mar 2011 21:11:56 +0100 pyscard (1.6.12-2) unstable; urgency=low * upload to unstable * Fix "FTBFS: smartcard/scard/winscarddll.h:293: error: expected declaration specifiers or '...' before 'LPSCARD_READERSTATE_A'" fixed upstream (Closes: #614441) -- Ludovic Rousseau Wed, 23 Feb 2011 09:15:13 +0100 pyscard (1.6.12-1) experimental; urgency=low * New upstream release * debian/patches/01_ATR.py: removed since included upstream * debian/control: Standards-Version: 3.8.4 -> 3.9.1. No change needed. -- Ludovic Rousseau Fri, 27 Aug 2010 18:42:00 +0200 pyscard (1.6.10-2) unstable; urgency=low * debian/patches/01_ATR.py: Closes: #585319 "python-pyscard: Python string exceptions no more allowed in Python 2.6" * debian/source/format: switch from "1.0" to "3.0 (quilt)" to have automatic quilt support for patches -- Ludovic Rousseau Fri, 11 Jun 2010 18:54:04 +0200 pyscard (1.6.10-1) unstable; urgency=low * New upstream release * debian/control: Standards-Version: 3.8.3 -> 3.8.4. No change needed. * Fix a lintian warning: pyscard source: binary-control-field-duplicates-source field "section" in package python-pyscard * debian/compat: upgrade from 5 to 7 since we Build-Depends: debhelper (>= 7.0.0~) -- Ludovic Rousseau Sat, 29 May 2010 21:41:19 +0200 pyscard (1.6.8-2) unstable; urgency=low * debian/rules: use dh should fix python2.6 problem http://lists.debian.org/debian-python/2009/09/msg00122.html * debian/control: Standards-Version: 3.8.2 -> 3.8.3, no change needed -- Ludovic Rousseau Sun, 20 Sep 2009 15:02:58 +0200 pyscard (1.6.8-1) unstable; urgency=low * New upstream release * debian/patches/*: all patches included upstream * debian/control: Standards-Version: 3.7.3 -> 3.8.2, no change needed -- Ludovic Rousseau Tue, 28 Jul 2009 23:04:14 +0200 pyscard (1.6.7-6) unstable; urgency=low * trunk/debian/patches/02_winscarddll.c: use libpcsclite.so.1 instead of libpcsclite.so. Closes: #511344 * debian/rules: remove all applied patches in clean rule -- Ludovic Rousseau Sat, 10 Jan 2009 10:59:49 +0000 pyscard (1.6.7-5) unstable; urgency=low * debian/rules: define QUILT_PATCHES for the local patch -- Ludovic Rousseau Sun, 26 Oct 2008 19:39:56 +0100 pyscard (1.6.7-4) unstable; urgency=low * debian/rules: the patch 01_setup.py is needed for the clean rule. Use a manual patching. Really fix bug 503453 -- Ludovic Rousseau Sun, 26 Oct 2008 16:49:24 +0000 pyscard (1.6.7-3) unstable; urgency=low * debian/rules: use quilt so the patches are applied. Really fix bug 503453 -- Ludovic Rousseau Sun, 26 Oct 2008 15:21:05 +0100 pyscard (1.6.7-2) unstable; urgency=low * debian/control: add Build-Depends: quilt * debian/patches/01_setup.py: do not build only for i.86 and x86_64 Closes: #503453 "FTBFS on most archs, unsupported platform: linux-foo" -- Ludovic Rousseau Sun, 26 Oct 2008 14:16:01 +0100 pyscard (1.6.7-1) unstable; urgency=low * New upstream release -- Ludovic Rousseau Wed, 08 Oct 2008 10:45:46 +0200 pyscard (1.6.6-1) unstable; urgency=low * new upstream version * Closes: #495438 ITP: python-pyscard -- Python wrapper above PC/SC API -- Ludovic Rousseau Sun, 31 Aug 2008 20:18:42 +0200 debian/patches/0000755000000000000000000000000012035270306010613 5ustar debian/patches/remove_explicit_link0000644000000000000000000000105112035266447014761 0ustar Description: Remove the libpython dependency Author: Laurent Bigonville Bug-Debian: http://bugs.debian.org/689923 --- a/setup.py +++ b/setup.py @@ -127,7 +127,7 @@ platform__cc_defines = [('PCSCLITE', '1')] platform_swig_opts = ['-DPCSCLITE'] platform_sources = [] - platform_libraries = ["python%d.%d" % sys.version_info[:2]] + platform_libraries = [] platform_include_dirs = ['/usr/include/PCSC'] platform_extra_compile_args = [] # ['-ggdb', '-O0'] platform_extra_link_args = [] # ['-ggdb'] debian/patches/series0000644000000000000000000000002512035265677012044 0ustar remove_explicit_link debian/source/0000755000000000000000000000000012035270306010464 5ustar debian/source/format0000644000000000000000000000001411404465133011675 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000006611755466145010213 0ustar smartcard/scard/scard.py smartcard/scard/scard_wrap.c debian/pycompat0000644000000000000000000000000211055237574010746 0ustar 2