--- pyparallel-0.2.2.orig/debian/changelog +++ pyparallel-0.2.2/debian/changelog @@ -0,0 +1,69 @@ +pyparallel (0.2.2-2) unstable; urgency=medium + + * Build a python3-parallel package. + + -- Matthias Klose Sat, 07 Jan 2017 14:31:21 +0100 + +pyparallel (0.2.2-1) unstable; urgency=medium + + * New upstream version. + + -- Matthias Klose Sat, 07 Jan 2017 14:20:27 +0100 + +pyparallel (0.2-7) unstable; urgency=low + + * Build using dh_python2. Closes: #616977. + * Update to revision r379. Closes: #586893. + * Don't use string exceptions. Closes: #585312. + + -- Matthias Klose Fri, 22 Apr 2011 11:14:53 +0200 + +pyparallel (0.2-6) unstable; urgency=low + + * Update watch file. Closes: #450347. + * Fix pointer to examples in README.txt. Closes: #449381. + + -- Matthias Klose Tue, 24 Jun 2008 19:32:32 +0200 + +pyparallel (0.2-5) unstable; urgency=low + + * Build-depend on python-central (>= 0.4.17). Indirectly depends on + the first python2.3 including the Makefile. Closes: #373202. + + -- Matthias Klose Fri, 16 Jun 2006 18:53:41 +0000 + +pyparallel (0.2-4) unstable; urgency=low + + * Do not provide the versioned packages. + + -- Matthias Klose Fri, 9 Jun 2006 08:42:56 +0000 + +pyparallel (0.2-3) unstable; urgency=low + + * Convert to python-central. + + -- Matthias Klose Tue, 6 Jun 2006 22:37:57 +0000 + +pyparallel (0.2-1ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. + + -- Andrew Mitchell Fri, 13 May 2005 10:17:35 +1200 + +pyparallel (0.1-1ubuntu1) hoary; urgency=low + + * Build for python2.4. + + -- Matthias Klose Sun, 19 Dec 2004 18:58:32 +0000 + +pyparallel (0.2-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Tue, 1 Feb 2005 11:45:47 +0100 + +pyparallel (0.1-1) unstable; urgency=low + + * Initial release. + + -- Matthias Klose Sun, 29 Aug 2004 15:10:57 +0200 --- pyparallel-0.2.2.orig/debian/compat +++ pyparallel-0.2.2/debian/compat @@ -0,0 +1 @@ +9 --- pyparallel-0.2.2.orig/debian/control +++ pyparallel-0.2.2/debian/control @@ -0,0 +1,29 @@ +Source: pyparallel +Section: python +XS-Python-Version: all +Priority: optional +Maintainer: Matthias Klose +Build-Depends: debhelper (>= 9), dh-python, + python-all:any, python3-all:any +Build-Depends-Indep: python-setuptools, python3-setuptools, +Standards-Version: 3.9.8 + +Package: python-parallel +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +XB-Python-Version: ${python:Versions} +Description: pyparallel - module encapsulating access for the parallel port + This module capsulates the access for the parallel port. It provides + backends for standard Python running on Windows, Linux, BSD (possibly + any POSIX compliant system). The module named "parallel" automatically + selects the appropriate backend. + +Package: python3-parallel +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +XB-Python-Version: ${python3:Versions} +Description: pyparallel - module encapsulating access for the parallel port + This module capsulates the access for the parallel port. It provides + backends for standard Python running on Windows, Linux, BSD (possibly + any POSIX compliant system). The module named "parallel" automatically + selects the appropriate backend. --- pyparallel-0.2.2.orig/debian/copyright +++ pyparallel-0.2.2/debian/copyright @@ -0,0 +1,69 @@ +This package was debianized by Matthias Klose on +Sat, 24 Apr 2004 00:15:15 +0200. + +It was downloaded from http://pyserial.sf.net/ + +Upstream Author: Chris Liechti + +Copyright: + +Copyright (c) 2001 Chris Liechti ; +All Rights Reserved. + +This is the Python license. In short, you can use this product in +commercial and non-commercial applications, modify it, redistribute it. +A notification to the author when you use and/or modify it is welcome. + + +TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING THIS SOFTWARE +=================================================================== + +LICENSE AGREEMENT +----------------- + +1. This LICENSE AGREEMENT is between the copyright holder of this +product, and the Individual or Organization ("Licensee") accessing +and otherwise using this product in source or binary form and its +associated documentation. + +2. Subject to the terms and conditions of this License Agreement, +the copyright holder hereby grants Licensee a nonexclusive, +royalty-free, world-wide license to reproduce, analyze, test, +perform and/or display publicly, prepare derivative works, distribute, +and otherwise use this product alone or in any derivative version, +provided, however, that copyright holders License Agreement and +copyright holders notice of copyright are retained in this product +alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates this product or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to this product. + +4. The copyright holder is making this product available to Licensee on +an "AS IS" basis. THE COPYRIGHT HOLDER MAKES NO REPRESENTATIONS OR +WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, +THE COPYRIGHT HOLDER MAKES NO AND DISCLAIMS ANY REPRESENTATION OR +WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR +THAT THE USE OF THIS PRODUCT WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + +5. THE COPYRIGHT HOLDER SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER +USERS OF THIS PRODUCT FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL +DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE +USING THIS PRODUCT, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE +POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between the +copyright holder and Licensee. This License Agreement does not grant +permission to use trademarks or trade names from the copyright holder +in a trademark sense to endorse or promote products or services of +Licensee, or any third party. + +8. By copying, installing or otherwise using this product, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. --- pyparallel-0.2.2.orig/debian/rules +++ pyparallel-0.2.2/debian/rules @@ -0,0 +1,103 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYTHON := /usr/bin/python +PYTHON3 := /usr/bin/python3 +PYVER := $(shell $(PYTHON) -c 'import sys; print sys.version[:3]') +PYVERS := $(shell pyversions -vs) +PY3VERS := $(shell py3versions -vs) + +build-arch: build +build-indep: build +build: build-stamp + +build-stamp: + dh_testdir + set -e; \ + for v in $(PYVERS); do \ + python setup.py build; \ + done + set -e; \ + for v in $(PY3VERS); do \ + python3 setup.py build; \ + done + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -rf build + -find . -name '*.py[co]' | xargs rm -f + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + set -e; \ + for v in $(PYVERS); do \ + python setup.py install \ + --root=$(CURDIR)/debian/python-parallel; \ + done + set -e; \ + for v in $(PY3VERS); do \ + python3 setup.py install \ + --root=$(CURDIR)/debian/python3-parallel; \ + done + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs README.rst +# dh_installexamples examples/* + dh_installman + : # Replace all '#!' calls to python with $(PYTHON) + : # and make them executable + for i in `find debian/python-parallel -mindepth 3 -type f`; do \ + sed '1s,#!.*python[^ ]*\(.*\),#! $(PYTHON)\1,' \ + $$i > $$i.temp; \ + if cmp --quiet $$i $$i.temp; then \ + rm -f $$i.temp; \ + else \ + mv -f $$i.temp $$i; \ + chmod 755 $$i; \ + echo "fixed interpreter: $$i"; \ + fi; \ + done + : # Replace all '#!' calls to python with $(PYTHON3) + : # and make them executable + for i in `find debian/python3-parallel -mindepth 3 -type f`; do \ + sed '1s,#!.*python[^ ]*\(.*\),#! $(PYTHON3)\1,' \ + $$i > $$i.temp; \ + if cmp --quiet $$i $$i.temp; then \ + rm -f $$i.temp; \ + else \ + mv -f $$i.temp $$i; \ + chmod 755 $$i; \ + echo "fixed interpreter: $$i"; \ + fi; \ + done + dh_python2 -ppython-parallel + dh_python3 -ppython3-parallel + dh_compress -X.py + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- pyparallel-0.2.2.orig/debian/watch +++ pyparallel-0.2.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.debian.net/pyparallel/pyparallel-(.*)\.(?:tar\.gz|zip) --- pyparallel-0.2.2.orig/pyparallel.egg-info/SOURCES.txt +++ pyparallel-0.2.2/pyparallel.egg-info/SOURCES.txt @@ -1,4 +1,5 @@ README.rst +setup.cfg setup.py parallel/__init__.py parallel/parallelppdev.py