[Python-modules-commits] r11792 - in packages/myghtyutils/trunk/debian (changelog control rules)

malex at users.alioth.debian.org malex at users.alioth.debian.org
Thu Feb 18 20:48:18 UTC 2010


    Date: Thursday, February 18, 2010 @ 20:48:15
  Author: malex
Revision: 11792

Switch to DPMT group maintenance and update build system.

Modified:
  packages/myghtyutils/trunk/debian/changelog
  packages/myghtyutils/trunk/debian/control
  packages/myghtyutils/trunk/debian/rules

Modified: packages/myghtyutils/trunk/debian/changelog
===================================================================
--- packages/myghtyutils/trunk/debian/changelog	2010-02-18 20:44:19 UTC (rev 11791)
+++ packages/myghtyutils/trunk/debian/changelog	2010-02-18 20:48:15 UTC (rev 11792)
@@ -1,4 +1,4 @@
-myghtyutils (0.52-4) UNRELEASED; urgency=low
+myghtyutils (0.52-4) unstable; urgency=low
 
   [ Piotr Ożarowski ]
   * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
@@ -11,8 +11,21 @@
   * debian/control
     - switch Vcs-Browser field to viewsvn
 
- -- Piotr Ożarowski <piotr at debian.org>  Sat,  6 Oct 2007 23:46:40 +0200
+  [ Oleksandr Moskalenko ]
+  * debian/control:
+    - Changed maintainer to dpmt and put myself in uploaders.
+    - Changed section to python.
+    - Updated copyright notice.
+    - Updated Standards-Version to 3.8.4.
+    - Moved python depends to Build-Depends-Indep.
+    - Updated Build-Depends-Indep.
+  * debian/rules:
+    - Updated build system.
+  * debian/dirs:
+    - Added the file to create doc and pysupport dirs.
 
+ -- Oleksandr Moskalenko <malex at debian.org>  Thu, 18 Feb 2010 14:13:00 -0600
+
 myghtyutils (0.52-3) unstable; urgency=low
 
   * Piotr Ożarowski <piotr at debian.org>:

Modified: packages/myghtyutils/trunk/debian/control
===================================================================
--- packages/myghtyutils/trunk/debian/control	2010-02-18 20:44:19 UTC (rev 11791)
+++ packages/myghtyutils/trunk/debian/control	2010-02-18 20:48:15 UTC (rev 11792)
@@ -1,10 +1,11 @@
 Source: myghtyutils
-Section: web
+Section: python
 Priority: optional
-Maintainer: Oleksandr Moskalenko <malex at debian.org>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5), python (>= 2.3.3), python-all-dev, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1)
-Standards-Version: 3.7.2
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Oleksandr Moskalenko <malex at debian.org>
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: python-all, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~)
+Standards-Version: 3.8.4
 XS-Python-Version: all
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/myghtyutils/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/myghtyutils/trunk/
@@ -12,9 +13,9 @@
 
 Package: python-myghtyutils
 Architecture: all
-Depends: ${python:Depends}, python
+Depends: ${python:Depends}, python, ${misc:Depends}
 XB-Python-Version: ${python:Versions}
-Enhances: python-myghtyutils
+Enhances: python-myghty
 Description: Set of utility classes used by Myghty templating
  Utility classes used by Myghty templating:
  container - the Containment system providing back-end neutral key/value

Modified: packages/myghtyutils/trunk/debian/rules
===================================================================
--- packages/myghtyutils/trunk/debian/rules	2010-02-18 20:44:19 UTC (rev 11791)
+++ packages/myghtyutils/trunk/debian/rules	2010-02-18 20:48:15 UTC (rev 11792)
@@ -3,12 +3,17 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 package=python-myghtyutils
+PYVERS=$(shell pyversions -vr)
 
+-include /usr/share/python/python.mk
+ifeq (,$(py_libdir))
+	    py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages
+	endif
+
 clean:
 	rm -f build-*
 	dh_testdir
 	dh_testroot
-	python setup.py clean
 	rm -rf build
 	find . -name *\.py[co] -exec rm -f {} \;
 	dh_clean
@@ -23,28 +28,28 @@
 	python setup.py build
 	touch $@
 
-install: build
+install: $(PYVERS:%=install-python%)
+install-python%:
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	python setup.py install \
-		--no-compile \
+	python$* setup.py install \
+		--no-compile $(py_setup_install_args) \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/$(package)
 
 binary-indep: build install
 	dh_testdir
 	dh_testroot
+	dh_installdirs
 	dh_installchangelogs
 	dh_installdocs
 	dh_installexamples
-	dh_strip
+	dh_pysupport
 	dh_compress -X.py
 	dh_fixperms
-	dh_pysupport
 	dh_installdeb
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
@@ -52,4 +57,4 @@
 binary-arch:
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




More information about the Python-modules-commits mailing list