[Python-modules-commits] r32417 - in packages/python-repoze.who/trunk/debian (6 files)

zigo at users.alioth.debian.org zigo at users.alioth.debian.org
Fri Apr 24 08:18:58 UTC 2015


    Date: Friday, April 24, 2015 @ 08:18:56
  Author: zigo
Revision: 32417

  * Team upload.
  * Switched to format 3.0 (quilt).
  * Ran wrap-and-sort.
  * Added dh-python as build-depends.
  * Added Python3 support.
  * Added debian/source/options to ignore change to the egg-info.
  * debian/copyright is now using parseable format 1.0.

Added:
  packages/python-repoze.who/trunk/debian/source/options
Modified:
  packages/python-repoze.who/trunk/debian/changelog
  packages/python-repoze.who/trunk/debian/control
  packages/python-repoze.who/trunk/debian/copyright
  packages/python-repoze.who/trunk/debian/rules
  packages/python-repoze.who/trunk/debian/source/format

Modified: packages/python-repoze.who/trunk/debian/changelog
===================================================================
--- packages/python-repoze.who/trunk/debian/changelog	2015-04-23 23:43:38 UTC (rev 32416)
+++ packages/python-repoze.who/trunk/debian/changelog	2015-04-24 08:18:56 UTC (rev 32417)
@@ -1,5 +1,14 @@
-python-repoze.who (2.2-1) UNRELEASED; urgency=low
+python-repoze.who (2.2-1) experimental; urgency=low
 
+  [ Thomas Goirand ]
+  * Team upload.
+  * Switched to format 3.0 (quilt).
+  * Ran wrap-and-sort.
+  * Added dh-python as build-depends.
+  * Added Python3 support.
+  * Added debian/source/options to ignore change to the egg-info.
+  * debian/copyright is now using parseable format 1.0.
+
   [ Bernhard Reiter ]
   * New upstream release
   * debian/control
@@ -25,7 +34,7 @@
   [ Piotr Ożarowski ]
   * Do not install useless .pth files
 
- -- Florian Zavatzki <fz at binsec.de>  Sat, 03 Aug 2013 14:16:04 +0200
+ -- Thomas Goirand <zigo at debian.org>  Fri, 24 Apr 2015 07:58:17 +0000
 
 python-repoze.who (1.0.18-2) unstable; urgency=low
 

Modified: packages/python-repoze.who/trunk/debian/control
===================================================================
--- packages/python-repoze.who/trunk/debian/control	2015-04-23 23:43:38 UTC (rev 32416)
+++ packages/python-repoze.who/trunk/debian/control	2015-04-24 08:18:56 UTC (rev 32417)
@@ -2,38 +2,41 @@
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders:
- Bernhard Reiter <ockham at raz.or.at>,
- Florian Zavatzki <fz at binsec.de>
-Build-Depends:
- debhelper (>= 8),
- python,
- python-support,
- python-setuptools,
- python-sphinx (>= 1.0.7+dfsg),
- python-zope.interface,
- python-paste,
- python-webob,
- python-repoze.sphinx.autointerface
-Standards-Version: 3.9.4
+Uploaders: Bernhard Reiter <ockham at raz.or.at>,
+           Florian Zavatzki <fz at binsec.de>,
+Build-Depends: debhelper (>= 8),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python-sphinx (>= 1.0.7+dfsg),
+               python3-all,
+               python3-setuptools,
+Build-Depends-Indep: python-nose,
+                     python-paste,
+                     python-repoze.sphinx.autointerface,
+                     python-webob,
+                     python-zope.interface,
+                     python3-nose,
+                     python3-paste,
+                     python3-webob,
+                     python3-zope.interface,
+Standards-Version: 3.9.6
 Homepage: http://www.repoze.org/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-repoze.who/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-repoze.who/trunk/
 
 Package: python-repoze.who
 Architecture: all
-Depends:
- ${misc:Depends},
- ${python:Depends},
- python-zope.interface,
- python-pkg-resources,
- python-webob,
- python-paste,
- python-sphinx,
-Suggests:
- python-psycopg2,
- libjs-jquery
-Description: identification and authentication framework for Python WSGI applications
+Depends: python-paste,
+         python-pkg-resources,
+         python-sphinx,
+         python-webob,
+         python-zope.interface,
+         ${misc:Depends},
+         ${python:Depends},
+Suggests: libjs-jquery,
+          python-psycopg2,
+Description: ident and auth framework for Python WSGI applications - Python 2.x
  repoze.who is an identification and authentication framework for
  arbitrary Python WSGI applications; it acts as WSGI middleware.
  .
@@ -44,4 +47,30 @@
  It provides no facility for authorization (ensuring whether a user
  can or cannot perform the operation implied by the request). This is
  considered to be the domain of the WSGI application.
+ .
+ This package contains the Python 2.x module.
 
+Package: python3-repoze.who
+Architecture: all
+Depends: python3-paste,
+         python3-pkg-resources,
+         python3-sphinx,
+         python3-webob,
+         python3-zope.interface,
+         ${misc:Depends},
+         ${python3:Depends},
+Suggests: libjs-jquery,
+          python3-psycopg2,
+Description: ident and auth framework for Python WSGI applications - Python 3.x
+ repoze.who is an identification and authentication framework for
+ arbitrary Python WSGI applications; it acts as WSGI middleware.
+ .
+ repoze.who is inspired by Zope 2's Pluggable Authentication Service
+ (PAS), but is not dependent on Zope in any way; it is useful for any
+ WSGI application.
+ .
+ It provides no facility for authorization (ensuring whether a user
+ can or cannot perform the operation implied by the request). This is
+ considered to be the domain of the WSGI application.
+ .
+ This package contains the Python 3.x module.

Modified: packages/python-repoze.who/trunk/debian/copyright
===================================================================
--- packages/python-repoze.who/trunk/debian/copyright	2015-04-23 23:43:38 UTC (rev 32416)
+++ packages/python-repoze.who/trunk/debian/copyright	2015-04-24 08:18:56 UTC (rev 32417)
@@ -1,53 +1,54 @@
-This package was debianized by Stefano Zacchiroli <zack at debian.org> on
-Fri, 29 May 2009 22:36:57 +0200.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: repoze.who
+Upstream-Contact: Agendaless Consulting <repoze-dev at lists.repoze.org>
+Source: https://pypi.python.org/pypi/repoze.who
 
-Author: Agendaless Consulting <repoze-dev at lists.repoze.org>
+Files: debian/*
+Copyright: (c) 2009, Stefano Zacchiroli <zack at debian.org>
+           (c) 2015, Florian Zavatzki
+           (c) 2015, Bernhard Reiter
+           (c) 2009, 2015, Piotr Ożarowski <piotr at debian.org>
+           (c) 2015, Thomas Goirand <zigo at debian.org>
+License: GPL-3+
+ On Debian systems the full text of the GNU General Public License can
+ be found in the `/usr/share/common-licenses/GPL-3' file.
 
 Files: *
-Copyright: Copyright © 2007 Agendaless Consulting and Contributors
-License:
-  A copyright notice accompanies this license document that identifies
-  the copyright holders.
- 
-  Redistribution and use in source and binary forms, with or without
-  modification, are permitted provided that the following conditions are
-  met:
- 
+Copyright: (c) 2007, Agendaless Consulting and Contributors
+License: BSD-like
+ A copyright notice accompanies this license document that identifies
+ the copyright holders.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
   1.  Redistributions in source code must retain the accompanying
       copyright notice, this list of conditions, and the following
       disclaimer.
- 
+ .
   2.  Redistributions in binary form must reproduce the accompanying
       copyright notice, this list of conditions, and the following
       disclaimer in the documentation and/or other materials provided
       with the distribution.
- 
+ .
   3.  Names of the copyright holders must not be used to endorse or
       promote products derived from this software without prior
       written permission from the copyright holders.
- 
+ .
   4.  If any files are modified, you must cause the modified files to
       carry prominent notices stating that you changed the files and
       the date of any change.
- 
+ .
   Disclaimer
- 
-    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND
-    ANY EXPRESSED 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
-    HOLDERS 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: Copyright © 2009 Stefano Zacchiroli <zack at debian.org>
-License: GPL-3+
- On Debian systems the full text of the GNU General Public License can
- be found in the `/usr/share/common-licenses/GPL-3' file.
-
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY EXPRESSED
+ 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 HOLDERS 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.

Modified: packages/python-repoze.who/trunk/debian/rules
===================================================================
--- packages/python-repoze.who/trunk/debian/rules	2015-04-23 23:43:38 UTC (rev 32416)
+++ packages/python-repoze.who/trunk/debian/rules	2015-04-24 08:18:56 UTC (rev 32417)
@@ -1,20 +1,38 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+PYTHONS:=$(shell pyversions -vr)
+PYTHON3S:=$(shell py3versions -vr)
 
 %:
-	dh $@ --with python2,sphinxdoc
+	dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
 
+override_dh_install:
+	set -e ; for pyvers in $(PYTHONS); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python-repoze.who; \
+	done
+	set -e ; for pyvers in $(PYTHON3S); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python3-repoze.who; \
+	done
+	rm -rf $(CURDIR)/debian/python*/usr/lib/python*/dist-packages/*.pth
+
+	find $(CURDIR)/debian/python-repoze.who -iname __pycache__ -exec rm -rf {} \;
+
+override_dh_clean:
+	dh_clean -O--buildsystem=python_distutils
+	rm -rf docs/.build build
+
 override_dh_auto_build:
 	$(MAKE) -C docs/ html
 
 override_dh_auto_install:
 	dh_auto_install
-	find debian/ -name '*.pth' -delete
\ No newline at end of file
+	find debian/ -name '*.pth' -delete
+
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+	nosetests
+	nosetests3
+endif

Modified: packages/python-repoze.who/trunk/debian/source/format
===================================================================
--- packages/python-repoze.who/trunk/debian/source/format	2015-04-23 23:43:38 UTC (rev 32416)
+++ packages/python-repoze.who/trunk/debian/source/format	2015-04-24 08:18:56 UTC (rev 32417)
@@ -1 +1 @@
-1.0
+3.0 (quilt)

Added: packages/python-repoze.who/trunk/debian/source/options
===================================================================
--- packages/python-repoze.who/trunk/debian/source/options	                        (rev 0)
+++ packages/python-repoze.who/trunk/debian/source/options	2015-04-24 08:18:56 UTC (rev 32417)
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"




More information about the Python-modules-commits mailing list