Ottomata has submitted this change and it was merged.

Change subject: Inital deb packaging
......................................................................


Inital deb packaging

Current version is 1.5.8, properly tagged in upstream repo.

Debian files based on the python-voluptuous package.

Close ITP #703613.

License and copyright confirmed by upstream to be BSD-3-Clause
https://github.com/WoLpH/python-statsd/issues/23

Change-Id: I395ed3832f9af0c312d4833a8d2d154b53053c7a
---
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, 95 insertions(+), 0 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved
  Hashar: Checked; Looks good to me, but someone else must approve



diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c4e4e77
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-statsd (1.5.8-1) precise; urgency=low
+
+  * Initial release. Closes: #703613
+
+ -- Antoine Musso <has...@free.fr>  Thu, 21 Mar 2013 09:54:18 +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..6310e42
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: python-statsd
+Section: python
+Priority: optional
+Maintainer: Antoine Musso <has...@free.fr>
+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 library to act as a client to statsd
+ Statsd is a client for Etsy's statsd server, a front end/proxy for the
+ Graphite stats collection and graphing server.
+ .
+ The module offers a high level API interface to easily send your data
+ to a statsd server.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ac2498d
--- /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: Rick van Hattem
+Source: https://github.com/WoLpH/python-statsd
+
+Files: *
+Copyright: 2011-2013 Rick van Hattem. All rights reserved.
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+  - Redistributions of source code must retain the above copyright notice, this
+    list of conditions and the following disclaimer.
+  - Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+  - Neither the name of SwapOff.org nor the names of its contributors may be
+    used to endorse or promote products derived from this software without
+    specific prior written permission.
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: 2013 Antoine Musso <amu...@free.fr>
+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..3f3aeaf
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/WoLpH/python-statsd /v(.+)\.tar\.gz

-- 
To view, visit https://gerrit.wikimedia.org/r/55069
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I395ed3832f9af0c312d4833a8d2d154b53053c7a
Gerrit-PatchSet: 5
Gerrit-Project: operations/debs/python-statsd
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Faidon <fai...@wikimedia.org>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: Ottomata <o...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to