>From feaee645078c142d292d2a581f170c666c861c2d Mon Sep 17 00:00:00 2001 From: Bernhard Schmidt <[email protected]> Date: Tue, 17 Feb 2015 11:19:19 +0100 Subject: [PATCH 2/2] support python3
--- debian/control | 17 ++++++++++++++++- debian/rules | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 68bf768..dcadeac 100644 --- a/debian/control +++ b/debian/control @@ -6,8 +6,10 @@ Uploaders: Antoine Musso <[email protected]>, Paul Belanger <[email protected]> Build-Depends: debhelper (>= 9), dh-python, python-all, python-setuptools, python-nose, python-mock, + python3-all, python3-setuptools, python3-nose, python3-mock Standards-Version: 3.9.6 X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.2 Homepage: https://github.com/jsocol/pystatsd/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-statsd/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-statsd/trunk/ @@ -15,8 +17,21 @@ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-sta Package: python-statsd Architecture: all Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} -Description: Python client for the statsd daemon +Description: Python client for the statsd daemon (Python 2) A python client for Etsy's stasd server. A friendly front-end to Graphite. . The package contains the pypi package `statsd` which is the most popular `statsd` module on pypi. + . + This package installs the library for Python 3. + +Package: python3-statsd +Architecture: all +Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Python client for the statsd daemon (Python 3) + A python client for Etsy's stasd server. A friendly front-end to Graphite. + . + The package contains the pypi package `statsd` which is the most popular + `statsd` module on pypi. + . + This package installs the library for Python 3. diff --git a/debian/rules b/debian/rules index 38b2629..edc5b32 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ export PYBUILD_NAME=statsd %: - dh $@ --with python2 --buildsystem=pybuild + dh $@ --with python2,python3 --buildsystem=pybuild get-orig-source: uscan --download-current-version --rename --destdir ../tarballs -- 2.1.4
>From 386a22ca78ba28c8c49fda611b008bbfbd7e1254 Mon Sep 17 00:00:00 2001 From: Bernhard Schmidt <[email protected]> Date: Tue, 17 Feb 2015 11:13:48 +0100 Subject: [PATCH 1/2] change buildsystem to pybuild, run testsuite Additional build dependencies python-nose and python-mock for the testsuite --- debian/control | 3 ++- debian/rules | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index faa2573..68bf768 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,8 @@ Priority: optional Maintainer: Debian Python Modules Team <[email protected]> Uploaders: Antoine Musso <[email protected]>, Paul Belanger <[email protected]> -Build-Depends: debhelper (>= 9), python-all, python-setuptools +Build-Depends: debhelper (>= 9), dh-python, + python-all, python-setuptools, python-nose, python-mock, Standards-Version: 3.9.6 X-Python-Version: >= 2.6 Homepage: https://github.com/jsocol/pystatsd/ diff --git a/debian/rules b/debian/rules index 1ce3419..38b2629 100755 --- a/debian/rules +++ b/debian/rules @@ -2,9 +2,10 @@ # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export PYBUILD_NAME=statsd %: - dh $@ --with python2 + dh $@ --with python2 --buildsystem=pybuild get-orig-source: uscan --download-current-version --rename --destdir ../tarballs -- 2.1.4
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

