r1414 - in zope.schema/trunk (10 files)

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


    Date: Thursday, May 28, 2009 @ 10:48:43
  Author: jinty-guest
Revision: 1414

[svn-inject] Applying Debian modifications to trunk

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


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

Added: zope.schema/trunk/debian/changelog
===================================================================
--- zope.schema/trunk/debian/changelog	                        (rev 0)
+++ zope.schema/trunk/debian/changelog	2009-05-28 10:48:43 UTC (rev 1414)
@@ -0,0 +1,43 @@
+zope.schema (3.5.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Add watch file
+  * Change source package name
+  * Standards-Version 3.8.1
+  * Python-Version all
+  * Build with the newer python-van.pydeb rather than python-
+    vanguardistas.pydebdep
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Mon, 25 May 2009 22:34:24 +0200
+
+python-zope.schema (3.4.0-2ubuntu1.2) lenny; urgency=low
+
+  * Non-maintainer upload.
+  * Rebuild for lenny
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Fri, 08 May 2009 11:19:29 +0000
+
+python-zope.schema (3.4.0-2ubuntu1.1) etch-devel; urgency=low
+
+  * Non-maintainer upload.
+  * Rebuild for etch-devel
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Wed, 23 Jul 2008 09:46:51 +0200
+
+python-zope.schema (3.4.0-2ubuntu1) hardy; urgency=low
+
+  * Re-build for hardy
+
+ -- Ignas Mikalajunas <ignas.mikalajunas at gmail.com>  Wed, 23 Apr 2008 11:19:24 +0300
+
+python-zope.schema (3.4.0-2) gutsy; urgency=low
+
+  * Use pydebdep
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Tue, 12 Feb 2008 22:41:42 +0100
+
+python-zope.schema (3.4.0-1) gutsy; urgency=low
+
+  * Inital Release
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Thu,  8 Nov 2007 19:27:48 +0100

Added: zope.schema/trunk/debian/compat
===================================================================
--- zope.schema/trunk/debian/compat	                        (rev 0)
+++ zope.schema/trunk/debian/compat	2009-05-28 10:48:43 UTC (rev 1414)
@@ -0,0 +1 @@
+4

Added: zope.schema/trunk/debian/control
===================================================================
--- zope.schema/trunk/debian/control	                        (rev 0)
+++ zope.schema/trunk/debian/control	2009-05-28 10:48:43 UTC (rev 1414)
@@ -0,0 +1,23 @@
+Source: zope.schema
+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.1
+XS-Python-Version: all
+
+Package: python-zope.schema
+Architecture: all
+Depends: ${setuptools:Depends}, ${python:Depends}
+Provides: ${python:Provides}, ${setuptools:Provides}
+Suggests: ${setuptools:Suggests}
+XB-Python-Version: ${python:Versions}
+Description: zope.interface extension for defining data schemas
+ Schemas extend the notion of interfaces to detailed descriptions of
+ Attributes (but not methods).  Every schema is an interface and
+ specifies the public fields of an object.  A *field* roughly
+ corresponds to an attribute of a Python object.  But a Field provides
+ space for at least a title and a description.  It can also constrain
+ its value and provide a validation method.  Besides you can optionally
+ specify characteristics such as its value being read-only or not
+ required.

Added: zope.schema/trunk/debian/copyright
===================================================================
--- zope.schema/trunk/debian/copyright	                        (rev 0)
+++ zope.schema/trunk/debian/copyright	2009-05-28 10:48:43 UTC (rev 1414)
@@ -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.schema
+
+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.schema/trunk/debian/rules
===================================================================
--- zope.schema/trunk/debian/rules	                        (rev 0)
+++ zope.schema/trunk/debian/rules	2009-05-28 10:48:43 UTC (rev 1414)
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -vr debian/control)
+PYMOD=zope.schema
+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 docs)" && echo "setuptools:Depends=$$i" >> debian/$(PACKAGE).substvars
+	i="$$(van-pydeb provides --egg-info debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info --exclude-extra docs)" && echo "setuptools:Provides=$$i" >> debian/$(PACKAGE).substvars
+	# docs and test to suggests
+	i="$$(van-pydeb depends --egg-info debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info --extra docs)" && echo "setuptools:Suggests=$$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.schema/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: zope.schema/trunk/debian/tests/all
===================================================================
--- zope.schema/trunk/debian/tests/all	                        (rev 0)
+++ zope.schema/trunk/debian/tests/all	2009-05-28 10:48:43 UTC (rev 1414)
@@ -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.schema',
+                '--test-path', test_path
+                ])
+sys.exit(exitcode)
+EOF
+
+for version in ${PYVERS}; do
+    python${version} ${TMPFILE}
+done

Added: zope.schema/trunk/debian/tests/control
===================================================================
--- zope.schema/trunk/debian/tests/control	                        (rev 0)
+++ zope.schema/trunk/debian/tests/control	2009-05-28 10:48:43 UTC (rev 1414)
@@ -0,0 +1,2 @@
+Tests: all
+Features: no-build-needed

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




More information about the pkg-zope-commits mailing list