[Python-modules-commits] r8605 - in packages/python-toscawidgets/trunk/debian (4 files)

zack at users.alioth.debian.org zack at users.alioth.debian.org
Fri May 29 16:12:02 UTC 2009


    Date: Friday, May 29, 2009 @ 16:12:02
  Author: zack
Revision: 8605

* debian/watch: port to new download location (from pypy)
* debian/{rules,control}: general packaging revamping, switch to
  python-support, CDBS, debhelper >= 7

Modified:
  packages/python-toscawidgets/trunk/debian/changelog
  packages/python-toscawidgets/trunk/debian/compat
  packages/python-toscawidgets/trunk/debian/control
  packages/python-toscawidgets/trunk/debian/rules

Modified: packages/python-toscawidgets/trunk/debian/changelog
===================================================================
--- packages/python-toscawidgets/trunk/debian/changelog	2009-05-29 16:08:43 UTC (rev 8604)
+++ packages/python-toscawidgets/trunk/debian/changelog	2009-05-29 16:12:02 UTC (rev 8605)
@@ -3,7 +3,9 @@
   [ Stefano Zacchiroli ]
   * New upstream release
   * First upload to the archive (Closes: #531042)
-  * make watch file point to pypy
+  * debian/watch: port to new download location (from pypy)
+  * debian/{rules,control}: general packaging revamping, switch to
+    python-support, CDBS, debhelper >= 7
 
  -- Stefano Zacchiroli <zack at debian.org>  Fri, 29 May 2009 17:54:05 +0200
   

Modified: packages/python-toscawidgets/trunk/debian/compat
===================================================================
--- packages/python-toscawidgets/trunk/debian/compat	2009-05-29 16:08:43 UTC (rev 8604)
+++ packages/python-toscawidgets/trunk/debian/compat	2009-05-29 16:12:02 UTC (rev 8605)
@@ -1 +1 @@
-5
+7

Modified: packages/python-toscawidgets/trunk/debian/control
===================================================================
--- packages/python-toscawidgets/trunk/debian/control	2009-05-29 16:08:43 UTC (rev 8604)
+++ packages/python-toscawidgets/trunk/debian/control	2009-05-29 16:12:02 UTC (rev 8605)
@@ -2,29 +2,42 @@
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11),
- python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1)
-Standards-Version: 3.7.2
+Uploaders:
+ Stefano Zacchiroli <zack at debian.org>
+Build-Depends:
+ debhelper (>= 7),
+ python-dev,
+ python-support,
+ python-setuptools
+Standards-Version: 3.8.1
 Homepage: http://toscawidgets.org/
-XS-Python-Version: >=2.4
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-toscawidgets/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-toscawidgets/trunk/
 
 Package: python-toscawidgets
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, python-paste (>= 1.3),
- python-pastescript (>= 1.3), python-cjson (>= 1.0.3)
-Suggests: python-pylons, python-cheetah (>= 1.0-1.1), python-kid (>= 0.9.1-3),
- python-genshi, python-mako
-XB-Python-Version: ${python:Versions}
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ python-paste (>= 1.3),
+ python-pastescript (>= 1.3),
+ python-cjson (>= 1.0.3)
+Suggests:
+ python-pylons,
+ python-cheetah (>= 1.0-1.1),
+ python-kid (>= 0.9.1-3),
+ python-genshi,
+ python-mako
 Description: web widget toolkit for Python
- ToscaWidgets is a web widget toolkit for Python to aid in the creation,
- packaging and distribution of common view elements normally used in the web.
+ ToscaWidgets is a web widget toolkit for Python to aid in the
+ creation, packaging and distribution of common view elements normally
+ used in the web.
  .
- ToscaWidgets is an almost complete rewrite of the widgets package bundled with
- TurboGears 1.0. The rewrite's goal was to decouple the widgets package from
- CherryPy and TurboGears itself to fit better with TurboGears 2.0 philosophy
- which is to partition it's services into independent WSGI components for
- easier maintenance and reuse in other Python web applications or frameworks.
- ToscaWidgets has been tested to interoperate nicely in TurboGears 1.0b2,
- Pylons 0.9.4 and a simple WSGI app served by Paste.
+ ToscaWidgets is an almost complete rewrite of the widgets package
+ bundled with TurboGears 1.0. The rewrite's goal was to decouple the
+ widgets package from CherryPy and TurboGears itself to fit better
+ with TurboGears 2.0 philosophy which is to partition it's services
+ into independent WSGI components for easier maintenance and reuse in
+ other Python web applications or frameworks.  ToscaWidgets has been
+ tested to interoperate nicely in TurboGears 1.0b2, Pylons 0.9.4 and a
+ simple WSGI app served by Paste.

Modified: packages/python-toscawidgets/trunk/debian/rules
===================================================================
--- packages/python-toscawidgets/trunk/debian/rules	2009-05-29 16:08:43 UTC (rev 8604)
+++ packages/python-toscawidgets/trunk/debian/rules	2009-05-29 16:12:02 UTC (rev 8605)
@@ -1,61 +1,5 @@
 #!/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
-
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
-    | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
-
-PYVERS=$(shell pyversions -vr)
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-*
-	rm -rf build
-	find . -name *\.py[co] -exec rm {} \;
-	dh_clean
-
-build:
-
-install: $(PYVERS:%=install-python%)
-install-python%:
-	python$* setup.py install \
-		--single-version-externally-managed \
-		--root $(CURDIR)/debian/python-toscawidgets
-	# share Egg dir
-	mv debian/python-toscawidgets/usr/lib/python$*/site-packages/ToscaWidgets-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
-		debian/python-toscawidgets/usr/lib/python$*/site-packages/ToscaWidgets-${DEB_UPSTREAM_VERSION}.egg-info
-
-# Build architecture-dependent files here.
-binary-arch:
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs CHANGELOG.txt
-	dh_installdocs
-	dh_installexamples
-#	dh_installman
-	dh_pycentral
-	dh_compress -X.py
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch install
-
+DEB_PYTHON_SYSTEM = pysupport
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/dpatch.mk




More information about the Python-modules-commits mailing list