[Python-modules-commits] r20897 - in packages/pytest/trunk (12 files)
laarmen-guest at users.alioth.debian.org
laarmen-guest at users.alioth.debian.org
Wed Mar 21 19:06:07 UTC 2012
Date: Wednesday, March 21, 2012 @ 19:06:03
Author: laarmen-guest
Revision: 20897
[svn-inject] Application des modifications Debian (2.2.3-1) pour le tronc
Added:
packages/pytest/trunk/debian/
packages/pytest/trunk/debian/changelog
packages/pytest/trunk/debian/compat
packages/pytest/trunk/debian/control
packages/pytest/trunk/debian/copyright
packages/pytest/trunk/debian/docs
packages/pytest/trunk/debian/python-pytest.manpages
packages/pytest/trunk/debian/python3-pytest.manpages
packages/pytest/trunk/debian/rules
packages/pytest/trunk/debian/source/
packages/pytest/trunk/debian/source/format
packages/pytest/trunk/debian/watch
Property changes on: packages/pytest/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/pytest/trunk/debian/changelog
===================================================================
--- packages/pytest/trunk/debian/changelog (rev 0)
+++ packages/pytest/trunk/debian/changelog 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1,6 @@
+pytest (2.2.3-1) unstable; urgency=low
+
+ * Initial release (Closes: #664071)
+ * Disable the test suite for the bootstrap.
+
+ -- Simon Chopin <chopin.simon at gmail.com> Wed, 21 Mar 2012 19:37:07 +0100
Added: packages/pytest/trunk/debian/compat
===================================================================
--- packages/pytest/trunk/debian/compat (rev 0)
+++ packages/pytest/trunk/debian/compat 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1 @@
+8
Added: packages/pytest/trunk/debian/control
===================================================================
--- packages/pytest/trunk/debian/control (rev 0)
+++ packages/pytest/trunk/debian/control 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1,37 @@
+Source: pytest
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Simon Chopin <chopin.simon at gmail.com>
+Build-Depends:
+ debhelper (>= 8),
+ python-all (>= 2.6.6-3~),
+ python-setuptools,
+ python3-all (>= 3.1.2-6~),
+ python3-setuptools
+X-Python-Version: >= 2.4
+X-Python3-Version: >= 3.0
+Standards-Version: 3.9.3
+Homepage: http://pytest.org/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pytest/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pytest/trunk/
+
+Package: python-pytest
+Architecture: all
+Depends: python-py (>= 1.4), ${misc:Depends}, ${python:Depends}
+Breaks: python-py (<< 1.4)
+Replaces: python-py (<< 1.4)
+Description: Simple, powerful testing in Python
+ This testing tool has for objective to allow the developers to limit the
+ boilerplate code around the tests, promoting the use of built-in
+ mechanisms such as the `assert` keyword.
+
+Package: python3-pytest
+Architecture: all
+Depends: python3-py (>= 1.4), ${misc:Depends}, ${python3:Depends}
+Description: Simple, powerful testing in Python3
+ This testing tool has for objective to allow the developers to limit the
+ boilerplate code around the tests, promoting the use of built-in
+ mechanisms such as the `assert` keyword.
+ .
+ This package provides the Python 3 module and the py3.test script.
Added: packages/pytest/trunk/debian/copyright
===================================================================
--- packages/pytest/trunk/debian/copyright (rev 0)
+++ packages/pytest/trunk/debian/copyright 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1,57 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pytest
+Source: http://pytest.org/
+
+Files: doc/_static/sphinxdoc.css
+Copyright: 2007-2010 the Sphinx Team
+License: BSD-2-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.
+ .
+ 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.
+
+Files: *
+Copyright: 2007-2012 Holger Kregel <holger at merlinux.eu>
+ 2007-2012 Merlinux GmbH <offive at merlinux.eu>
+License: Expat
+
+Files: debian/*
+Copyright: 2012 Simon Chopin <chopin.simon at gmail.com>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
Added: packages/pytest/trunk/debian/docs
===================================================================
--- packages/pytest/trunk/debian/docs (rev 0)
+++ packages/pytest/trunk/debian/docs 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1,2 @@
+README.txt
+README.txt
Added: packages/pytest/trunk/debian/python-pytest.manpages
===================================================================
--- packages/pytest/trunk/debian/python-pytest.manpages (rev 0)
+++ packages/pytest/trunk/debian/python-pytest.manpages 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1 @@
+debian/py.test.1
Added: packages/pytest/trunk/debian/python3-pytest.manpages
===================================================================
--- packages/pytest/trunk/debian/python3-pytest.manpages (rev 0)
+++ packages/pytest/trunk/debian/python3-pytest.manpages 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1 @@
+debian/py3.test.1
Added: packages/pytest/trunk/debian/rules
===================================================================
--- packages/pytest/trunk/debian/rules (rev 0)
+++ packages/pytest/trunk/debian/rules 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1,60 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS := $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
+
+PYDEFAULT := $(shell pyversions -d | tail -c +7)
+PY3DEFAULT := $(shell py3versions -d | tail -c +7)
+
+ENABLE_TESTS=false
+
+%:
+ dh $@ --with python2,python3
+
+override_dh_auto_build:
+ # Build for all versions.
+ set -ex; \
+ for py in $(PYVERS) $(PY3VERS); do \
+ $$py setup.py build; \
+ done
+ make -C doc/ man
+ cp doc/_build/man/pytest.1 debian/py.test.1
+ cp debian/py.test.1 debian/py3.test.1
+ sed -i 's/PYTEST/PY.TEST/g' debian/py.test.1
+ sed -i 's/PYTEST/PY3.TEST/g' debian/py3.test.1
+ sed -i 's/py\.test/py3.test/g' debian/py3.test.1
+
+override_dh_install:
+ # Only install for the default versions.
+ python$(PYDEFAULT) setup.py install --skip-build --no-compile \
+ --root debian/python-pytest \
+ --install-layout=deb
+ rm debian/python-pytest/usr/bin/py.test-$(PYDEFAULT)
+ python$(PY3DEFAULT) setup.py install --skip-build --no-compile \
+ --root debian/python3-pytest \
+ --install-layout=deb
+ rm debian/python3-pytest/usr/bin/py.test-$(PY3DEFAULT)
+ mv debian/python3-pytest/usr/bin/py.test debian/python3-pytest/usr/bin/py3.test
+ dh_install
+
+override_dh_auto_clean:
+ rm -rf doc/_build build pytest.egg-info
+ find . \( -name '*.py[oc]' -o -name __pycache__ \) -delete
+ dh_auto_clean
+
+override_dh_clean:
+ rm debian/py*.test.1 -f
+ dh_clean
+
+override_dh_auto_test:
+ set -ex; \
+ if [ "$(ENABLE_TESTS)" = "true" ] ; then \
+ for py in $(PYVERS) $(PY3VERS); do \
+ $$py -m pytest testing ; \
+ done \
+ fi
+
Property changes on: packages/pytest/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/pytest/trunk/debian/source/format
===================================================================
--- packages/pytest/trunk/debian/source/format (rev 0)
+++ packages/pytest/trunk/debian/source/format 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/pytest/trunk/debian/watch
===================================================================
--- packages/pytest/trunk/debian/watch (rev 0)
+++ packages/pytest/trunk/debian/watch 2012-03-21 19:06:03 UTC (rev 20897)
@@ -0,0 +1,3 @@
+version=3
+
+http://pypi.python.org/packages/source/p/pytest/pytest-(.+).(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
More information about the Python-modules-commits
mailing list