debian/0000755000000000000000000000000012224073673007174 5ustar debian/gbp.conf0000644000000000000000000000004612224073673010613 0ustar [git-import-orig] pristine-tar = True debian/rules0000755000000000000000000000025112224073673010252 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=python_distutils --with=python2 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_test: trial txsocksx endif debian/control0000644000000000000000000000152012224073673010575 0ustar Source: txsocksx Maintainer: Jérémy Bobbio Section: python Priority: extra Build-Depends: debhelper (>= 8), python-all (>= 2.6.6-3~), python-setuptools, python-twisted (>= 10.1), python-parsley (>= 1.2) Standards-Version: 3.9.4 X-Python-Version: >= 2.7 Vcs-Git: git://anonscm.debian.org/git/collab-maint/txsocksx.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/txsocksx.git Homepage: https://github.com/habnabit/txsocksx XS-Testsuite: autopkgtest Package: python-txsocksx Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: SOCKS{4,4a,5} endpoints for Twisted SOCKS is an Internet protocol that routes network packets between a client and server through a proxy server. . This library implements endpoints for SOCKS versions 4, 4a and 5 for the Twisted Python framework. debian/python-txsocksx.examples0000644000000000000000000000001312224073673014133 0ustar examples/* debian/compat0000644000000000000000000000000212224073673010372 0ustar 8 debian/tests/0000755000000000000000000000000012224073673010336 5ustar debian/tests/upstream-tests0000755000000000000000000000026012224073673013262 0ustar #!/bin/sh set -e if ! [ -d "$ADTTMP" ]; then echo "ADTTMP not set." >&2 exit 1 fi mkdir $ADTTMP/txsocksx cp -r txsocksx/test $ADTTMP/txsocksx (cd $ADTTMP; trial txsocksx) debian/tests/control0000644000000000000000000000002612224073673011737 0ustar Tests: upstream-tests debian/copyright0000644000000000000000000000235112224073673011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: txsocksx Upstream-Contact: Aaron Gallagher Source: https://github.com/habnabit/txsocksx Files: * Copyright: 2010-2013 Aaron Gallagher License: ISC Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: debian/* Copyright: 2013, Jerémy Bobbio License: permissive Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/changelog0000644000000000000000000000122412224073673011045 0ustar txsocksx (1.13.0.0-1) unstable; urgency=low * New upstream version. * Update pointers toward new upstream. * Adjust debian/copyright. * Require Python 2.7. * Add a patch to get rid of unnecessary dependencies in setup.py. * Remove dependencies filled by dh_python2 from Depends. * Add autopkgtest support. * Run upstream test suite at build time. * Ship upstream examples. * Fix small mistake in README.source. -- Jérémy Bobbio Sat, 05 Oct 2013 22:33:50 +0200 txsocksx (0.0.2-1) unstable; urgency=low * Initial release. (Closes: #707256) -- Jérémy Bobbio Thu, 16 May 2013 15:55:53 +0200 debian/source/0000755000000000000000000000000012224073673010474 5ustar debian/source/format0000644000000000000000000000001412224073673011702 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020412224073673010221 0ustar version=3 https://pypi.python.org/pypi/txsocksx \ https://pypi.python.org/packages/source/t/txsocksx/txsocksx-(.+)\.tar\.gz debian/patches/0000755000000000000000000000000012224073673010623 5ustar debian/patches/series0000644000000000000000000000005612224073673012041 0ustar 0001-Do-not-use-vcversioner-in-setup.py.patch debian/patches/0001-Do-not-use-vcversioner-in-setup.py.patch0000644000000000000000000000106412224073673020711 0ustar From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= Date: Sat, 5 Oct 2013 22:30:20 +0200 Subject: Do not use vcversioner in setup.py --- setup.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/setup.py b/setup.py index e8fffaf..220deeb 100644 --- a/setup.py +++ b/setup.py @@ -30,10 +30,6 @@ setup( ], license='ISC', - setup_requires=['vcversioner'], - vcversioner={ - 'version_module_paths': ['txsocksx/_version.py'], - }, install_requires=install_requires, packages=['txsocksx', 'txsocksx.test'], ) debian/README.source0000644000000000000000000000173412224073673011360 0ustar Debian packaging for txsocksx ============================= txsocksx is managed in a Git repository using git-buildpackage (with pristine-tar). It follows most of the advice provided by Russ Allbery at: http://www.eyrie.org/~eagle/notes/debian/git.html As upstream is using Git, release tags are merged into the 'upstream' branch of the Debian package repository when importing new tarballs. Creating an updated package for a new upstream release goes as: 0. Add a remote with upstream repository if not already done: $ git remote add github-upstream https://github.com/habnabit/txsocksx.git 1. Fetch new commits from upstream repository: $ git fetch github-upstream 2. Verify the tag for the new version: $ git tag -v 3. Import new upstream tarball (e.g. 0.0.1): $ git-import-orig ../txsocksx-0.0.1.tar.gz --upstream-vcs-tag=0.0.1 -u0.0.1 --pristine-tar 4. Hack, improve, update debian/changelog… 5. Build a new package: $ git-buildpackage