r1417 - in zope.testing/trunk (10 files)

Brian Sutherland jinty-guest at alioth.debian.org
Thu May 28 10:49:16 UTC 2009


    Date: Thursday, May 28, 2009 @ 10:49:15
  Author: jinty-guest
Revision: 1417

[svn-inject] Applying Debian modifications to trunk

Added:
  zope.testing/trunk/debian/
  zope.testing/trunk/debian/changelog
  zope.testing/trunk/debian/compat
  zope.testing/trunk/debian/control
  zope.testing/trunk/debian/copyright
  zope.testing/trunk/debian/rules
  zope.testing/trunk/debian/tests/
  zope.testing/trunk/debian/tests/all
  zope.testing/trunk/debian/tests/control
  zope.testing/trunk/debian/watch


Property changes on: zope.testing/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: zope.testing/trunk/debian/changelog
===================================================================
--- zope.testing/trunk/debian/changelog	                        (rev 0)
+++ zope.testing/trunk/debian/changelog	2009-05-28 10:49:15 UTC (rev 1417)
@@ -0,0 +1,49 @@
+zope.testing (3.7.4-1) unstable; urgency=low
+
+  * Change source package name.
+  * Standards version 3.8.0.
+  * Add watch file.
+  * Support all python versions.
+  * Convert to use python-van.pydeb for dependency generation
+  * Expand Description
+  * Add copyright
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Mon, 25 May 2009 20:20:46 +0200
+
+python-zope.testing (3.7.0-1.1) lenny; urgency=low
+
+  * Non-maintainer upload.
+  * Rebuild for lenny
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Fri, 08 May 2009 11:22:25 +0000
+
+python-zope.testing (3.7.0-1) etch-devel; urgency=low
+
+  * New upstream release
+
+ -- Archive Processor <archive at load.nidelven-it.no>  Mon,  6 Oct 2008 10:41:58 +0000
+
+python-zope.testing (3.5.1-1ubuntu2.1) etch-devel; urgency=low
+
+  * Non-maintainer upload.
+  * Rebuild for etch-devel
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Wed, 23 Jul 2008 09:51:10 +0200
+
+python-zope.testing (3.5.1-1ubuntu2) hardy; urgency=low
+
+  * Re-build for hardy
+
+ -- Ignas Mikalajunas <ignas.mikalajunas at gmail.com>  Wed, 23 Apr 2008 11:19:35 +0300
+
+python-zope.testing (3.5.1-1ubuntu1) gutsy; urgency=low
+
+  * Rebuild the package with proper dependencies
+
+ -- Ignas Mikalajunas <ignas.mikalajunas at gmail.com>  Thu, 17 Apr 2008 15:26:03 +0300
+
+python-zope.testing (3.5.1-1) gutsy; urgency=low
+
+  * Inital Release
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Thu,  8 Nov 2007 19:27:48 +0100

Added: zope.testing/trunk/debian/compat
===================================================================
--- zope.testing/trunk/debian/compat	                        (rev 0)
+++ zope.testing/trunk/debian/compat	2009-05-28 10:49:15 UTC (rev 1417)
@@ -0,0 +1 @@
+4

Added: zope.testing/trunk/debian/control
===================================================================
--- zope.testing/trunk/debian/control	                        (rev 0)
+++ zope.testing/trunk/debian/control	2009-05-28 10:49:15 UTC (rev 1417)
@@ -0,0 +1,17 @@
+Source: zope.testing
+Section: python
+Priority: extra
+Maintainer: Brian Sutherland <brian at vanguardistas.net>
+Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1), python-van.pydeb
+Standards-Version: 3.8.0
+XS-Python-Version: all
+
+Package: python-zope.testing
+Architecture: all
+Depends: ${setuptools:Depends}, ${python:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
+Recommends: ${setuptools:Recommends}
+XB-Python-Version: ${python:Versions}
+Description: the zope testing framework, including the testrunner script.
+ This package provides a number of testing frameworks. It includes a flexible
+ test runner, and supports both doctest and unittest. 

Added: zope.testing/trunk/debian/copyright
===================================================================
--- zope.testing/trunk/debian/copyright	                        (rev 0)
+++ zope.testing/trunk/debian/copyright	2009-05-28 10:49:15 UTC (rev 1417)
@@ -0,0 +1,19 @@
+This package was debianized by Brian Sutherland <brian at vanguardistas.net>
+
+It was downloaded from http://pypi.python.org/pypi/zope.testing
+
+Copyright:
+
+Upstream Author: Zope Corporation and Contributers <zope3-dev at zope.org>
+
+Files contain this header:
+
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.

Added: zope.testing/trunk/debian/rules
===================================================================
--- zope.testing/trunk/debian/rules	                        (rev 0)
+++ zope.testing/trunk/debian/rules	2009-05-28 10:49:15 UTC (rev 1417)
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -vr debian/control)
+PYMOD=zope.testing
+PACKAGE=python-$(PYMOD)
+
+build: $(PYVERS:%=build-python%)
+	touch $@
+build-python%:
+	dh_testdir
+	python$* setup.py build
+	touch $@
+
+.PHONY: clean
+clean:
+	dh_testdir
+	dh_testroot
+	$(MAKE) -f debian/rules $(PYVERS:%=clean-python%)
+	rm -f documentation.txt build-python?.?
+	rm -rf build
+	dh_clean
+
+clean-python%:
+	python$* setup.py clean
+
+.PHONY: install
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) -f debian/rules $(PYVERS:%=install-python%)
+
+install-python%:
+	python$* setup.py install --no-compile --single-version-externally-managed --root=debian/$(PACKAGE)
+	mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-*-py$*.egg-info \
+	   debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info 
+	mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-*-py$*-nspkg.pth \
+	   debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-nspkg.pth
+	i="$$(van-pydeb depends --egg-info debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info --exclude-extra zope_tracebacks)" && echo "setuptools:Depends=$$i" >> debian/$(PACKAGE).substvars
+	# zope_traceback support to Recommends
+	i="$$(van-pydeb depends --egg-info debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info --extra zope_tracebacks)" && echo "setuptools:REcommends=$$i" >> debian/$(PACKAGE).substvars
+	
+
+.PHONY: binary-common
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES.txt
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_pycentral
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+.PHONY: binary-indep
+binary-indep: install
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+.PHONY: binary-arch
+binary-arch: install
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+.PHONY: binary
+binary: binary-indep binary-arch


Property changes on: zope.testing/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: zope.testing/trunk/debian/tests/all
===================================================================
--- zope.testing/trunk/debian/tests/all	                        (rev 0)
+++ zope.testing/trunk/debian/tests/all	2009-05-28 10:49:15 UTC (rev 1417)
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+set -e
+
+PYVERS=$(pyversions -vr debian/control)
+TMPFILE=$(mktemp)
+
+cat > $TMPFILE << EOF
+import sys
+from zope.testing import testrunner
+
+subs = (sys.version_info[0], sys.version_info[1])
+test_path = '/usr/lib/python%s.%s/site-packages/' % subs
+
+
+
+exitcode = testrunner.run([
+                '--tests-pattern', '^f?tests$',
+                '-s', 'zope.testing',
+                '--test-path', test_path
+                ])
+sys.exit(exitcode)
+EOF
+
+for version in ${PYVERS}; do
+    python${version} ${TMPFILE}
+done

Added: zope.testing/trunk/debian/tests/control
===================================================================
--- zope.testing/trunk/debian/tests/control	                        (rev 0)
+++ zope.testing/trunk/debian/tests/control	2009-05-28 10:49:15 UTC (rev 1417)
@@ -0,0 +1,2 @@
+Tests: all
+Features: no-build-needed

Added: zope.testing/trunk/debian/watch
===================================================================
--- zope.testing/trunk/debian/watch	                        (rev 0)
+++ zope.testing/trunk/debian/watch	2009-05-28 10:49:15 UTC (rev 1417)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/z/zope.testing/zope.testing-(.*)\.tar\.gz




More information about the pkg-zope-commits mailing list