Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/59397
Change subject: packaging `statsd` python module ...................................................................... packaging `statsd` python module Source https://github.com/jsocol/pystatsd Change-Id: I29a80f4a7e25512c3e20b591ad48774123080dbf --- A debian/changelog A debian/compat A debian/control A debian/copyright A debian/gbp.conf A debian/rules A debian/source/format A debian/source/options A debian/watch 9 files changed, 94 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/debs/python-statsd refs/changes/97/59397/1 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0808476 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-statsd (2.0.1-1) precise; urgency=low + + * Initial release. Closes: #703613 + + -- Antoine Musso <[email protected]> Tue, 16 Apr 2013 13:26:51 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..12532a0 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: python-statsd +Section: python +Priority: optional +Maintainer: Antoine Musso <[email protected]> +Build-Depends: debhelper (>= 9), python-all +Standards-Version: 3.9.3 +Homepage: https://github.com/WoLpH/python-statsd +X-Python-Version: >= 2.6 + +Package: python-statsd +Architecture: all +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Python client for the statsd daemon + Statsd is a client for Etsy's statsd server, a front end/proxy for the + Graphite stats collection and graphing server. + . + This is the most popular `statsd` python module on pypi. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..758e808 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-statsd +Upstream-Contact: James Socol +Source: https://github.com/jsocol/pystatsd/ + +Files: * +Copyright: 2012-2013 James Socol +License: Expat + Copyright (c) 2012-2013, James Socol + . + 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. + +Files: debian/* +Copyright: 2013 Antoine Musso <[email protected]> +License: GPL-2 + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..c87b3c6 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,10 @@ +[DEFAULT] +upstream-tag = v%(version)s + +[git-buildpackage] +upstream-tree=tag +debian-branch=master +overlay = True +no-create-orig = True +tarball-dir = ../tarballs +export-dir = ../build-area diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..5add3f5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ --with python2 + +DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') + +get-orig-source: + uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename + +override_dh_clean: + dh_clean + # dh_clean does not support recursive deletions via debian/clean + # so we have to explicitly delete the egg directories there. + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511048 + rm -rf mock-*.egg + rm -rf nose-*.egg + +.PHONY: get-orig-source override_dh_clean diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..8f82c91 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]+\.egg-info/" diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..0ead473 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://githubredir.debian.net/github/jsocol/pystatsd /v(.+)\.tar\.gz -- To view, visit https://gerrit.wikimedia.org/r/59397 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I29a80f4a7e25512c3e20b591ad48774123080dbf Gerrit-PatchSet: 1 Gerrit-Project: operations/debs/python-statsd Gerrit-Branch: master Gerrit-Owner: Hashar <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
