[Python-modules-commits] r6217 - in python-pyscard/trunk (9 files)

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Aug 17 18:20:46 UTC 2008


    Date: Sunday, August 17, 2008 @ 18:20:45
  Author: rousseau
Revision: 6217

initial files

Added:
  python-pyscard/trunk/debian/
  python-pyscard/trunk/debian/changelog
  python-pyscard/trunk/debian/compat
  python-pyscard/trunk/debian/control
  python-pyscard/trunk/debian/copyright
  python-pyscard/trunk/debian/docs
  python-pyscard/trunk/debian/examples
  python-pyscard/trunk/debian/pycompat
  python-pyscard/trunk/debian/rules

Added: python-pyscard/trunk/debian/changelog
===================================================================
--- python-pyscard/trunk/debian/changelog	                        (rev 0)
+++ python-pyscard/trunk/debian/changelog	2008-08-17 18:20:45 UTC (rev 6217)
@@ -0,0 +1,6 @@
+pyscard (1.6.7-1) unstable; urgency=low
+
+  * new upstream version
+  * Closes: #495438 ITP: python-pyscard -- Python wrapper above PC/SC API
+
+ -- Ludovic Rousseau <rousseau at debian.org>  Sun, 17 Aug 2008 14:37:30 +0200

Added: python-pyscard/trunk/debian/compat
===================================================================
--- python-pyscard/trunk/debian/compat	                        (rev 0)
+++ python-pyscard/trunk/debian/compat	2008-08-17 18:20:45 UTC (rev 6217)
@@ -0,0 +1 @@
+5

Added: python-pyscard/trunk/debian/control
===================================================================
--- python-pyscard/trunk/debian/control	                        (rev 0)
+++ python-pyscard/trunk/debian/control	2008-08-17 18:20:45 UTC (rev 6217)
@@ -0,0 +1,21 @@
+Source: pyscard
+Priority: optional
+Maintainer: Ludovic Rousseau <rousseau at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5.0.38), python-support (>= 0.5.3), python-all-dev (>= 2.3.5-11), libpcsclite-dev
+Standards-Version: 3.7.3
+Section: python
+XS-Python-Version: all
+Vcs-Svn: svn://svn.debian.org/svn/python-modules/python-pyscard/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/python-pyscard/trunk/
+Homepage: http://pyscard.sourceforge.net/
+
+Package: python-pyscard
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+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 is an API to communicate with smart cards and smart card readers.

Added: python-pyscard/trunk/debian/copyright
===================================================================
--- python-pyscard/trunk/debian/copyright	                        (rev 0)
+++ python-pyscard/trunk/debian/copyright	2008-08-17 18:20:45 UTC (rev 6217)
@@ -0,0 +1,28 @@
+This package was debianized by Ludovic Rousseau <rousseau at debian.org> 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, <jean-daniel.aussel at gemalto.com>
+
+
+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'.

Added: python-pyscard/trunk/debian/docs
===================================================================
--- python-pyscard/trunk/debian/docs	                        (rev 0)
+++ python-pyscard/trunk/debian/docs	2008-08-17 18:20:45 UTC (rev 6217)
@@ -0,0 +1 @@
+README

Added: python-pyscard/trunk/debian/examples
===================================================================
--- python-pyscard/trunk/debian/examples	                        (rev 0)
+++ python-pyscard/trunk/debian/examples	2008-08-17 18:20:45 UTC (rev 6217)
@@ -0,0 +1 @@
+smartcard/Examples/

Added: python-pyscard/trunk/debian/pycompat
===================================================================
--- python-pyscard/trunk/debian/pycompat	                        (rev 0)
+++ python-pyscard/trunk/debian/pycompat	2008-08-17 18:20:45 UTC (rev 6217)
@@ -0,0 +1 @@
+2

Added: python-pyscard/trunk/debian/rules
===================================================================
--- python-pyscard/trunk/debian/rules	                        (rev 0)
+++ python-pyscard/trunk/debian/rules	2008-08-17 18:20:45 UTC (rev 6217)
@@ -0,0 +1,102 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+PYDEF=$(shell pyversions -d)
+PYVERS=$(shell pyversions -r)
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+#	python setup.py build_ext
+	set -e; \
+	for python in $(PYVERS); do \
+		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+		$$python setup.py build_ext; \
+	done
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	for python in $(PYVERS); do \
+		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+		$$python setup.py clean; \
+	done
+	rm -rf build
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	#$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	#python setup.py install --root=debian/python-pyscard
+	set -e; \
+	for python in $(PYVERS); do \
+		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+		$$python setup.py install --root=debian/python-pyscard; \
+	done
+	-rm debian/python-pyscard/usr/lib/python*/site-packages/smartcard/LICENSE
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+	-find debian/python-pyscard -name .svn -exec rm -rf {} \;
+#	dh_install
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_pysupport
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: python-pyscard/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Python-modules-commits mailing list