[Python-modules-commits] [python-setproctitle] 13/13: New upstream release and switch to pybuild
Orestis Ioannou
oorestisime-guest at moszumanska.debian.org
Sun Sep 18 12:02:52 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 138569f815138c4f5f9363af5b5e98f136e2307e
Author: Orestis Ioannou <orestis at oioannou.com>
Date: Sun Sep 18 13:55:25 2016 +0200
New upstream release and switch to pybuild
This commit contains a lot of changes. Please refer to the
d/changelog for a more detailed overview
---
debian/*.pyremove | 5 --
debian/changelog | 13 ++++
debian/compat | 2 +-
debian/control | 61 ++++++++++-----
debian/copyright | 142 +++++++++++++++++------------------
debian/python-setproctitle-dbg.dirs | 1 -
debian/python-setproctitle.docs | 2 +-
debian/python-setproctitle.install | 1 -
debian/python3-setproctitle-dbg.dirs | 1 -
debian/python3-setproctitle.docs | 2 +-
debian/python3-setproctitle.install | 1 -
debian/rules | 56 ++------------
12 files changed, 130 insertions(+), 157 deletions(-)
diff --git a/debian/*.pyremove b/debian/*.pyremove
deleted file mode 100644
index d8feb72..0000000
--- a/debian/*.pyremove
+++ /dev/null
@@ -1,5 +0,0 @@
-setproctitle/conf.py
-setproctitle/README.rst
-setproctitle/NEWS.rst
-setproctitle*.egg-info/SOURCES.txt
-
diff --git a/debian/changelog b/debian/changelog
index ef8c601..a91e243 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+python-setproctitle (1.1.10-1) unstable; urgency=medium
+
+ * Team upload.
+ * Import old snapshots and initialize git package.
+ * Change copyright file into DEP-5 format and add myself to copyright.
+ * Change build system to pybuild.
+ * Build with hardening flags.
+ * Bump Standard-Versions to 3.9.8. Nothing to change.
+ * Fix some lintian errors in the descriptions.
+ * Add VCS fields and change homepage to github.
+
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> Wed, 14 Sep 2016 01:05:17 +0200
+
python-setproctitle (1.1.8-1~bpo70+1) wheezy-backports; urgency=medium
* Rebuild for wheezy-backports.
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 7412a13..308b14b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,30 +2,49 @@ Source: python-setproctitle
Section: python
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Matthew Grant <matt at mattgrant.net.nz>
-Build-Depends: debhelper (>= 7.0.50), python-all-dev, gcc (>= 4), python3-all-dev, procps, python-nose, python3-nose, python3-docutils
+Uploaders:
+ Matthew Grant <matt at mattgrant.net.nz>,
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ gcc (>= 4),
+ procps,
+ python-all-dev,
+ python-nose,
+ python-all-dbg,
+ python3-all-dev,
+ python3-docutils,
+ python3-nose,
+ python3-all-dbg,
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.2
-Standards-Version: 3.9.4
-Homepage: http://code.google.com/p/py-setproctitle/
+Standards-Version: 3.9.8
+Homepage: https://github.com/dvarrazzo/py-setproctitle
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/py-setproctitle.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/py-setproctitle.git
Package: python-setproctitle
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Description: A setproctitle implementation for Python (Python 2)
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+Description: Setproctitle implementation for Python 2
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.
+ a master process is forked: changing the children's title allows one to
+ identify the task each process is busy with. The technique is used by
+ PostgreSQL and the OpenSSH Server for example.
Package: python-setproctitle-dbg
Section: debug
Architecture: any
-Depends: ${misc:Depends}, python-setproctitle (= ${binary:Version})
-Description: A setproctitle implementation for Python (Python 2)
+Depends:
+ python-setproctitle (= ${binary:Version}),
+ ${misc:Depends}, ${shlibs:Depends},
+Description: Setproctitle implementation for Python 2 (debug)
The library allows a process to change its title (as displayed by system tools
such as ps and top).
.
@@ -33,25 +52,29 @@ Description: A setproctitle implementation for Python (Python 2)
Package: python3-setproctitle
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
-Description: A setproctitle implementation for Python (Python 3)
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+Description: Setproctitle implementation for Python 3
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.
+ a master process is forked: changing the children's title allows one to
+ identify the task each process is busy with. The technique is used by
+ PostgreSQL and the OpenSSH Server for example.
.
This is the Python 3 package.
Package: python3-setproctitle-dbg
Section: debug
Architecture: any
-Depends: ${misc:Depends}, python3-setproctitle (= ${binary:Version})
-Description: A setproctitle implementation for Python (Python 3)
+Depends:
+ python3-setproctitle (= ${binary:Version}),
+ ${misc:Depends}, ${shlibs:Depends},
+Description: Setproctitle implementation for Python 3 (debug)
The library allows a process to change its title (as displayed by system tools
such as ps and top).
.
This is the debugging symbols for setproctitle, Python 3.
-
diff --git a/debian/copyright b/debian/copyright
index 9202e22..010cb34 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,77 +1,69 @@
-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
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: setproctitle
+Upstream-Contact: Daniele Varrazzo <daniele.varrazzo at gmail.com>
+Source: https://github.com/dvarrazzo/py-setproctitle
+
+Files: *
+Copyright: (C) 2009-2016 Daniele Varrazzo
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2010-2016 Örjan Persson <orange at fobie.net>
+ 2016 Orestis Ioannou <orestis at oioannou.com>
+License: BSD-3-clause
+
+Files: src/spt_config.h
+ src/spt_status.c
+ src/spt_status.h
+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'.
+License: PostgreSQL
+
+Files: src/spt_strlcpy.c
+Copyright: Portions (c) 1996-2007, PostgreSQL Global Development Group
+ Copyright (c) 1998 Todd C. Miller <Todd.Miller at courtesan.com>
+License: PostgreSQL and BSD-3-clause
+
+License: PostgreSQL
+ 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.
+
+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.
+ * The names of the contributors may not 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
+ OWNER 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.
diff --git a/debian/python-setproctitle-dbg.dirs b/debian/python-setproctitle-dbg.dirs
deleted file mode 100644
index 08d9e7a..0000000
--- a/debian/python-setproctitle-dbg.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/debug
diff --git a/debian/python-setproctitle.docs b/debian/python-setproctitle.docs
index aaaf5f5..aea4a96 100644
--- a/debian/python-setproctitle.docs
+++ b/debian/python-setproctitle.docs
@@ -1,2 +1,2 @@
-build/README
build/HISTORY
+build/README
diff --git a/debian/python-setproctitle.install b/debian/python-setproctitle.install
deleted file mode 100644
index b2cc136..0000000
--- a/debian/python-setproctitle.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python2*
diff --git a/debian/python3-setproctitle-dbg.dirs b/debian/python3-setproctitle-dbg.dirs
deleted file mode 100644
index 08d9e7a..0000000
--- a/debian/python3-setproctitle-dbg.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/debug
diff --git a/debian/python3-setproctitle.docs b/debian/python3-setproctitle.docs
index aaaf5f5..aea4a96 100644
--- a/debian/python3-setproctitle.docs
+++ b/debian/python3-setproctitle.docs
@@ -1,2 +1,2 @@
-build/README
build/HISTORY
+build/README
diff --git a/debian/python3-setproctitle.install b/debian/python3-setproctitle.install
deleted file mode 100644
index b06a399..0000000
--- a/debian/python3-setproctitle.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3
diff --git a/debian/rules b/debian/rules
index a66b681..8e36ce5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,61 +1,15 @@
#!/usr/bin/make -f
#DH_VERBOSE=1
-
-PYTHON2 := $(shell pyversions -vr)
-PYTHON3 := $(shell py3versions -vr)
+export PYBUILD_NAME=setproctitle
%:
- dh $@ --with python2,python3
-
-
-#override_dh_installchangelogs:
-# dh_installchangelogs HISTORY
-
-#override_dh_strip:
-# dh_strip --dbg-package=python-setproctitle-dbg
-
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#
-#override_dh_auto_test: $(PYTHON2:%=test-%-stamp) $(PYTHON3:%=test-%-stamp)
-#test-%-stamp:
-# mkdir -p build/test-$*
-# python$* setup.py build
-# python$* setup.py install_lib -d build/test-$*
-#ifeq (,$(findstring kfreebsd,$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)))
-# PYTHONPATH=build/test-$* python$* /usr/bin/nosetests -v tests
-#endif
-# touch test-python-$*-stamp
-#
-test-python%:
- true
-# python$* nosetests-$* -v tests
-
-override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
-endif
+ dh $@ --with python2,python3 --buildsystem=pybuild
-build-python%:
- python$* setup.py build
-
-override_dh_auto_build: $(PYTHON3:%=build-python%)
+override_dh_auto_build:
dh_auto_build
rst2man README.rst | nroff -mandoc > build/README
rst2man HISTORY.rst | nroff -mandoc > build/HISTORY
-install-python%:
- python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
-
-override_dh_auto_install: $(PYTHON2:%=install-python%) $(PYTHON3:%=install-python%)
-
-override_dh_strip:
- dh_strip -k
- for P in python-setproctitle python3-setproctitle; do \
- mv debian/$${P}/usr/lib/debug/* debian/$${P}-dbg/usr/lib/debug; \
- done
-
-override_dh_auto_clean:
- dh_auto_clean
- -rm -rf build
- -rm -rf *.egg-info
- -find . -name '*.py[oc]' | xargs rm -f
-
+override_dh_auto_test:
+ $(MAKE) check
--
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