[Python-modules-commits] [python-setproctitle] 03/13: Import python-setproctitle_1.0-1.dsc
Orestis Ioannou
oorestisime-guest at moszumanska.debian.org
Sun Sep 18 12:02:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
oorestisime-guest pushed a commit to branch master
in repository python-setproctitle.
commit aef2ca28727ac256e043baefce31280f4bf72a3b
Author: Orestis Ioannou <orestis at oioannou.com>
Date: Wed Sep 14 00:42:50 2016 +0200
Import python-setproctitle_1.0-1.dsc
---
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 20 +++++++++++
debian/copyright | 77 ++++++++++++++++++++++++++++++++++++++++
debian/docs | 1 +
debian/patches/series | 1 +
debian/patches/silence-ps-errors | 20 +++++++++++
debian/rules | 21 +++++++++++
debian/source/format | 1 +
9 files changed, 147 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..91e840c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-setproctitle (1.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #583506).
+
+ -- Örjan Persson <orange at fobie.net> Thu, 27 May 2010 20:39:52 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c490f71
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: python-setproctitle
+Section: python
+Priority: extra
+Maintainer: Örjan Persson <orange at fobie.net>
+Uploaders: Andreas Schuldei <andreas at debian.org>
+Build-Depends: debhelper (>= 7.0.50), python-all-dev, gcc (>= 4), python-support, python-nose, procps
+Standards-Version: 3.8.4
+Homepage: http://code.google.com/p/py-setproctitle/
+
+Package: python-setproctitle
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A setproctitle implementation for Python
+ The library allows a process to change its title (as displayed by system tools
+ such as ps and top).
+ .
+ Changing the title is mostly useful in multi-process systems, for example when
+ a master process is forked: changing the children's title allows to identify
+ the task each process is busy with. The technique is used by PostgreSQL and
+ the OpenSSH Server for example.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9202e22
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,77 @@
+This work was packaged for Debian by:
+
+ Örjan Persson <orange at fobie.net> on Thu, 27 May 2010 20:39:52 +0200
+
+It was downloaded from http://pypi.python.org/pypi/setproctitle/
+
+Upstream Author(s):
+
+ Daniele Varrazzo <daniele.varrazzo at gmail.com>
+
+Copyright:
+
+ Copyright (C) 2009 Daniele Varrazzo
+
+License:
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted under the terms of the BSD License.
+
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+
+On Debian systems, the complete text of the BSD License can be
+found in `/usr/share/common-licenses/BSD'.
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Örjan Persson <orange at fobie.net>
+
+and is licensed under the BSD License.
+
+The files ./src/spt_config.h and ./src/spt_status.{c,h}
+are based on code from PostgreSQL:
+
+ Copyright (c) 2000-2009, PostgreSQL Global Development Group
+ Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
+ Portions Copyright (c) 1994, The Regents of the University of California
+
+and are licensed under the PostgreSQL License:
+
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose, without fee, and without a written agreement
+ is hereby granted, provided that the above copyright notice and this
+ paragraph and the following two paragraphs appear in all copies.
+
+ IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
+ DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
+ LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
+ DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+ THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
+ ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
+ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+The file ./src/strlcpy.c is based on code from PostgreSQL,
+but originates from OpenBSD:
+
+ Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
+ Copyright (c) 1998 Todd C. Miller <Todd.Miller at courtesan.com>
+
+and the PostgreSQL portions are licensed under the PostgreSQL License,
+see above for license details,
+
+and where the OpenBSD parts are licensed under the BSD License,
+see `/usr/share/common-licenses/BSD'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b74e534
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+silence-ps-errors
diff --git a/debian/patches/silence-ps-errors b/debian/patches/silence-ps-errors
new file mode 100644
index 0000000..385472e
--- /dev/null
+++ b/debian/patches/silence-ps-errors
@@ -0,0 +1,20 @@
+Description: ps might give warnings, let's remove those.
+ http://bugs.debian.org/460331
+Author: Örjan Persson <orange at fobie.net>
+Last-Update: 2010-05-28
+Index: python-setproctitle/tests/setproctitle_test.py
+===================================================================
+--- python-setproctitle.orig/tests/setproctitle_test.py 2010-05-28 23:50:03.000000000 +0200
++++ python-setproctitle/tests/setproctitle_test.py 2010-05-28 23:50:23.000000000 +0200
+@@ -38,9 +38,10 @@
+
+ import os
+ print os.getpid()
+- print os.popen("ps -o pid,command").read()
++ print os.popen("ps -o pid,command 2> /dev/null").read()
+ """)
+ lines = filter(None, rv.splitlines())
++ print 'ps output:', lines
+ pid = lines.pop(0)
+ pids = dict([r.strip().split(None, 1) for r in lines])
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ec8fb78
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+PYVERSIONS := $(shell pyversions -sv)
+
+%:
+ dh $@
+
+override_dh_installchangelogs:
+ dh_installchangelogs HISTORY
+
+override_dh_auto_test: $(PYVERSIONS:%=test-%-stamp)
+test-%-stamp:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ rm -rf build/test-$*
+ mkdir build/test-$*
+ python$* setup.py install_lib -d build/test-$*
+ PYTHONPATH=build/test-$* python$* /usr/bin/nosetests -v tests
+ touch test-python-$*-stamp
+endif
+
+.PHONY: override_dh_installchangelogs override_dh_auto_test
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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-setproctitle.git
More information about the Python-modules-commits
mailing list