debian/0000755000000000000000000000000011720261750007167 5ustar debian/python3-pipeline.install0000644000000000000000000000002311443757655014001 0ustar /usr/lib/python3*/ debian/compat0000644000000000000000000000000211314232077010364 0ustar 7 debian/python-pipeline.install0000644000000000000000000000002411442213345013675 0ustar /usr/lib/python2.*/ debian/control0000644000000000000000000000235511720045641010576 0ustar Source: python-pipeline Section: python Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 7), python-all, python3-all (>= 3.1.2-7~), python-support (>= 0.6.4) Standards-Version: 3.9.2 XS-Python-Version: >= 2.4 X-Python3-Version: >= 3.0 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pipeline/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-pipeline/trunk/ Homepage: http://python-pipeline.googlecode.com/ Package: python-pipeline Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: iterator pipelines for Python python-pipeline provides an easy way to construct pipelines of iterators, with a syntax resembling Unix shell. It supplies counterparts for some common command-line utilities: cat, cut, echo, grep, head, nl, sort, split, tail, uniq, wc, yes. Package: python3-pipeline Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: iterator pipelines for Python 3 python3-pipeline provides an easy way to construct pipelines of iterators, with a syntax resembling Unix shell. It supplies counterparts for some common command-line utilities: cat, cut, echo, grep, head, nl, sort, split, tail, uniq, wc, yes. debian/patches/0000755000000000000000000000000011720261750010616 5ustar debian/patches/series0000644000000000000000000000000011442212201012005 0ustar debian/copyright0000644000000000000000000000264111720253147011126 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&pathrev=174 Upstream-Name: python-pipeline Upstream-Contact: Jakub Wilk Source: http://python-pipeline.googlecode.com/ Files: * Copyright: 2007-2010, Jakub Wilk License: Expat Files: debian/* Copyright: 2008-2011, Jakub Wilk License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/watch0000644000000000000000000000016411720040435010214 0ustar version=3 http://code.google.com/p/python-pipeline/downloads/list?can=1 \ .*/files/python-pipeline-([0-9.]+).tar.gz debian/changelog0000644000000000000000000000512511720261573011047 0ustar python-pipeline (0.1.3-3) unstable; urgency=low * QA upload. [ Daniele Tricoli ] * debian/control - Bumped Standards-Version to 3.9.2 (no changes needed) [ Jakub Wilk ] * Orphan the package (see: #620067). + Set Maintainer to Debian QA Group. + Remove Uploaders. * Fix the watch file. * Fix DEP-5 format URI. * Rewrite debian/rules from scratch, without using dh. + Reduce build-dependency on debhelper to >= 7. * Don't ignore test failures. -- Jakub Wilk Sun, 19 Feb 2012 22:02:49 +0100 python-pipeline (0.1.3-2) unstable; urgency=low * Upload to unstable. * Update debian/copyright to the latest DEP-5 version. * Bump year in debian/copyright. * Rename some private variables in debian/rules to make them lowercase. * Support build-arch and build-indep targets even when dh does not. * Remove no-setuptools.diff, it wasn't used in 0.1.3 anyway. -- Jakub Wilk Sun, 06 Feb 2011 12:58:12 +0100 python-pipeline (0.1.3-1) experimental; urgency=low * New upstream release. + Update debian/copyright. + Drop all patches, applied upstream. * Add support for Python 3: + New binary package, python3-pipeline. + Build-depend on python3-all. + Use dh_python3. + Add get-orig-source target to debian/rules. * Update the watch file. * Make debian/rules a bit more compact. * Run tests at build time. * Require debhelper (>= 7.0.50~), as overrides are being used. * Bump Standards-Version to 3.9.1 (no changes needed). -- Jakub Wilk Tue, 14 Sep 2010 22:50:10 +0200 python-pipeline (0.1.1-3) unstable; urgency=low * Bump Standards-Version to 3.8.4 (no changes needed). * Update my e-mail addresses. * Switch to source format 3.0 (quilt). * To make builds deterministic, don't use setuptools even if it is installed. [no-setuptools.diff] -- Jakub Wilk Wed, 28 Apr 2010 17:17:28 +0200 python-pipeline (0.1.1-2) unstable; urgency=low [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Jakub Wilk ] * Drop superfluous dependency on python-setuptools. * Bump Standards-Version to 3.8.3 (no changes needed). * Add Depends: ${misc:Depends}. * Drop debian/pycompat. * Switch from cdbs to dh. * Convert debian/copyright to the DEP-5 format. Relicense Debian packaging to the Expat license. -- Jakub Wilk Tue, 22 Dec 2009 22:12:45 +0100 python-pipeline (0.1.1-1) unstable; urgency=low * Initial release (closes: #460103). -- Jakub Wilk Sat, 19 Jan 2008 12:50:56 +0100 debian/clean0000644000000000000000000000001111314232077010163 0ustar *.py[co] debian/source/0000755000000000000000000000000011720261750010467 5ustar debian/source/format0000644000000000000000000000001411353223330011667 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000340211720172504010244 0ustar #!/usr/bin/make -f include /usr/share/python3/python.mk python_all = pyversions -r $(CURDIR)/debian/control | tr ' ' '\n' | xargs -t -I {} env {} python3_all = $(patsubst py%,py3%,$(python_all)) test_program = import pipeline as p, doctest as d, sys; sys.exit(d.testmod(p, report=1)[0] > 0) here = $(dir $(firstword $(MAKEFILE_LIST)))/.. upstream_version = $(shell cd $(here) && dpkg-parsechangelog | sed -n -r -e '/^Version: ([0-9.]+).*/ { s//\1/p }') upstream_url_py2 = $(shell cd $(here) && uscan --dehs --download-version="$(upstream_version)" | sed -n -r -e '/(.*)<.*/ { s//\1/p }') upstream_url_py3 = $(subst /python-pipeline-,/python3-pipeline-,$(upstream_url_py2)) .PHONY: get-orig-source get-orig-source: wget $(upstream_url_py2) -O python-pipeline_$(upstream_version).orig.tar.gz wget $(upstream_url_py3) -O python-pipeline_$(upstream_version).orig-py3k.tar.gz .PHONY: clean clean: dh_testdir dh_clean rm -rf build/ py3k/build/ find -name '*.py[co]' -delete .PHONY: build build-arch build-indep build build-indep: build-stamp build-stamp: dh_testdir python setup.py build cd py3k && python3 setup.py build ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) $(python_all) -c '$(test_program)' cd py3k && \ $(python3_all) -c '$(test_program)' endif touch $(@) .PHONY: binary binary-arch binary-indep binary binary-indep: build-stamp dh_testdir dh_testroot dh_prep python setup.py install $(py_setup_install_args) --root=$(CURDIR)/debian/tmp cd py3k && python3 setup.py install $(py_setup_install_args) --root=$(CURDIR)/debian/tmp dh_install dh_installdocs dh_installchangelogs dh_pysupport -p python-pipeline dh_python3 -p python3-pipeline dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb # vim:ts=4 sw=4 noet