[Python-modules-commits] r31974 - in packages/python-padme/trunk (18 files)

zyga-guest at users.alioth.debian.org zyga-guest at users.alioth.debian.org
Mon Mar 9 14:59:42 UTC 2015


    Date: Monday, March 9, 2015 @ 14:59:41
  Author: zyga-guest
Revision: 31974

[svn-inject] Applying Debian modifications (1.1.1-1) to trunk

Added:
  packages/python-padme/trunk/debian/
  packages/python-padme/trunk/debian/changelog
  packages/python-padme/trunk/debian/compat
  packages/python-padme/trunk/debian/control
  packages/python-padme/trunk/debian/copyright
  packages/python-padme/trunk/debian/patches/
  packages/python-padme/trunk/debian/patches/001-old-unittest2-support
  packages/python-padme/trunk/debian/patches/series
  packages/python-padme/trunk/debian/python-padme-doc.doc-base
  packages/python-padme/trunk/debian/python-padme-doc.docs
  packages/python-padme/trunk/debian/rules
  packages/python-padme/trunk/debian/source/
  packages/python-padme/trunk/debian/source/format
  packages/python-padme/trunk/debian/tests/
  packages/python-padme/trunk/debian/tests/control
  packages/python-padme/trunk/debian/tests/unit-tests-py2
  packages/python-padme/trunk/debian/tests/unit-tests-py3
  packages/python-padme/trunk/debian/watch


Property changes on: packages/python-padme/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-padme/trunk/debian/changelog
===================================================================
--- packages/python-padme/trunk/debian/changelog	                        (rev 0)
+++ packages/python-padme/trunk/debian/changelog	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,5 @@
+python-padme (1.1.1-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #780126)
+
+ -- Zygmunt Krynicki <zygmunt.krynicki at canonical.com>  Tue, 09 Sep 2014 11:13:29 +0200

Added: packages/python-padme/trunk/debian/compat
===================================================================
--- packages/python-padme/trunk/debian/compat	                        (rev 0)
+++ packages/python-padme/trunk/debian/compat	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1 @@
+9

Added: packages/python-padme/trunk/debian/control
===================================================================
--- packages/python-padme/trunk/debian/control	                        (rev 0)
+++ packages/python-padme/trunk/debian/control	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,60 @@
+Source: python-padme
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-mock (>= 1.0.1),
+               python-setuptools,
+               python-unittest2 (>= 0.5.1),
+               python3-all,
+               python3-setuptools,
+               python3-sphinx
+Standards-Version: 3.9.5
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-padme/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-padme/trunk/
+Homepage: https://github.com/zyga/padme/
+
+Package: python-padme
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: mostly transparent proxy class for Python 2
+ Padme, named after the Star Wars (tm) character, is a library for creating
+ proxy objects out of any other Python object.
+ .
+ The resulting object is as close to mimicking the original as possible. Some
+ things are impossible to fake in CPython so those are highlighted below. All
+ other operations are silently forwarded to the original.
+ .
+ This package contains the Python 2.x version of the library
+
+Package: python-padme-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${python:Depends}
+Description: mostly transparent proxy class for Python (documentation)
+ Padme, named after the Star Wars (tm) character, is a library for creating
+ proxy objects out of any other Python object.
+ .
+ The resulting object is as close to mimicking the original as possible. Some
+ things are impossible to fake in CPython so those are highlighted below. All
+ other operations are silently forwarded to the original.
+ .
+ This package contains the HTML documentation
+
+Package: python3-padme
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: mostly transparent proxy class for Python 3
+ Padme, named after the Star Wars (tm) character, is a library for creating
+ proxy objects out of any other Python object.
+ .
+ The resulting object is as close to mimicking the original as possible. Some
+ things are impossible to fake in CPython so those are highlighted below. All
+ other operations are silently forwarded to the original.
+ .
+ This package contains the Python 3.x version of the library

Added: packages/python-padme/trunk/debian/copyright
===================================================================
--- packages/python-padme/trunk/debian/copyright	                        (rev 0)
+++ packages/python-padme/trunk/debian/copyright	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,21 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: padme
+Source: https://github.com/zyga/padme
+
+Files: *
+Copyright: 2015 Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
+License: LGPL-3
+ Padme is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License version 3,
+ as published by the Free Software Foundation.
+ .
+ Padme is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with Padme.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian-based systems the full text of the GPL, version 3, can be found at
+ /usr/share/common-licenses/LGPL-3.

Added: packages/python-padme/trunk/debian/patches/001-old-unittest2-support
===================================================================
--- packages/python-padme/trunk/debian/patches/001-old-unittest2-support	                        (rev 0)
+++ packages/python-padme/trunk/debian/patches/001-old-unittest2-support	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,23 @@
+Description: Add support for old unittest2 version (0.5.1)
+ Upstream relies on more recent version of unittest2 that has support for the
+ 'assertRaisesRegex' method. Fortunately this method is a simple alias of
+ 'assertRaisesRegexp' (with extra 'p' at the end). Since the future of
+ unittest2 in Debian is uncertain this intermediate trivial patch can be used
+ to have working and tested version of Padme
+Author: Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
+
+Origin: upstream
+Forwarded: not-needed
+Last-Update: 2015-03-09
+
+--- python-padme-1.1.1.orig/padme/tests.py
++++ python-padme-1.1.1/padme/tests.py
+@@ -858,7 +858,7 @@ class proxy_as_function(unittest.TestCas
+     def test_context_manager_methods_v2(self):
+         """ Verify that redirecting __exit__ passes right arguments. """
+         exc = Exception("boom")
+-        with self.assertRaisesRegex(Exception, "boom"):
++        with self.assertRaisesRegexp(Exception, "boom"):
+             with self.proxy:
+                 try:
+                     raise exc

Added: packages/python-padme/trunk/debian/patches/series
===================================================================
--- packages/python-padme/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-padme/trunk/debian/patches/series	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1 @@
+001-old-unittest2-support

Added: packages/python-padme/trunk/debian/python-padme-doc.doc-base
===================================================================
--- packages/python-padme/trunk/debian/python-padme-doc.doc-base	                        (rev 0)
+++ packages/python-padme/trunk/debian/python-padme-doc.doc-base	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,9 @@
+Document: padme
+Title: Padme Manual
+Author: Canonical Ltd.
+Abstract: This manual describes what Padme is, and how it can be used.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-padme-doc/html/index.html
+Files: /usr/share/doc/python-padme-doc/html/*.html

Added: packages/python-padme/trunk/debian/python-padme-doc.docs
===================================================================
--- packages/python-padme/trunk/debian/python-padme-doc.docs	                        (rev 0)
+++ packages/python-padme/trunk/debian/python-padme-doc.docs	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1 @@
+build/sphinx/html

Added: packages/python-padme/trunk/debian/rules
===================================================================
--- packages/python-padme/trunk/debian/rules	                        (rev 0)
+++ packages/python-padme/trunk/debian/rules	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+export PYBUILD_NAME=padme
+
+%:
+	dh $@ --with=python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build --buildsystem=pybuild
+	python3 setup.py build_sphinx -b html


Property changes on: packages/python-padme/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-padme/trunk/debian/source/format
===================================================================
--- packages/python-padme/trunk/debian/source/format	                        (rev 0)
+++ packages/python-padme/trunk/debian/source/format	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/python-padme/trunk/debian/tests/control
===================================================================
--- packages/python-padme/trunk/debian/tests/control	                        (rev 0)
+++ packages/python-padme/trunk/debian/tests/control	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,2 @@
+Tests: unit-tests-py2 unit-tests-py3
+Depends: @, python-unittest2, python-mock

Added: packages/python-padme/trunk/debian/tests/unit-tests-py2
===================================================================
--- packages/python-padme/trunk/debian/tests/unit-tests-py2	                        (rev 0)
+++ packages/python-padme/trunk/debian/tests/unit-tests-py2	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,10 @@
+#!/bin/sh
+# autopkgtest check: run padme unit tests and ensure everything passes
+# (C) 2015 Canonical Ltd.
+# Author: Zygmunt Krynicki <zygmunt.krynicki at canonical.com> 
+
+set -e
+
+cd $ADTTMP
+python -m unittest2 padme.tests 2>&1
+echo "unit-tests: OK"


Property changes on: packages/python-padme/trunk/debian/tests/unit-tests-py2
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-padme/trunk/debian/tests/unit-tests-py3
===================================================================
--- packages/python-padme/trunk/debian/tests/unit-tests-py3	                        (rev 0)
+++ packages/python-padme/trunk/debian/tests/unit-tests-py3	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,10 @@
+#!/bin/sh
+# autopkgtest check: run padme unit tests and ensure everything passes
+# (C) 2015 Canonical Ltd.
+# Author: Zygmunt Krynicki <zygmunt.krynicki at canonical.com> 
+
+set -e
+
+cd $ADTTMP
+python3 -m unittest padme.tests 2>&1
+echo "unit-tests: OK"


Property changes on: packages/python-padme/trunk/debian/tests/unit-tests-py3
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-padme/trunk/debian/watch
===================================================================
--- packages/python-padme/trunk/debian/watch	                        (rev 0)
+++ packages/python-padme/trunk/debian/watch	2015-03-09 14:59:41 UTC (rev 31974)
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/padme/padme-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))




More information about the Python-modules-commits mailing list