[Python-modules-commits] r11788 - in packages/myghty/trunk/debian (changelog control dirs rules)
malex at users.alioth.debian.org
malex at users.alioth.debian.org
Thu Feb 18 20:09:33 UTC 2010
Date: Thursday, February 18, 2010 @ 20:09:11
Author: malex
Revision: 11788
Switch package to DPMT group maintenance
Added:
packages/myghty/trunk/debian/dirs
Modified:
packages/myghty/trunk/debian/changelog
packages/myghty/trunk/debian/control
packages/myghty/trunk/debian/rules
Modified: packages/myghty/trunk/debian/changelog
===================================================================
--- packages/myghty/trunk/debian/changelog 2010-02-18 20:00:54 UTC (rev 11787)
+++ packages/myghty/trunk/debian/changelog 2010-02-18 20:09:11 UTC (rev 11788)
@@ -1,4 +1,4 @@
-myghty (1.1-4) UNRELEASED; urgency=low
+myghty (1.1-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:39 +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 13:14:40 -0600
+
myghty (1.1-3) unstable; urgency=low
* Piotr Ożarowski <piotr at debian.org>:
Modified: packages/myghty/trunk/debian/control
===================================================================
--- packages/myghty/trunk/debian/control 2010-02-18 20:00:54 UTC (rev 11787)
+++ packages/myghty/trunk/debian/control 2010-02-18 20:09:11 UTC (rev 11788)
@@ -1,10 +1,11 @@
Source: myghty
-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/myghty/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/myghty/trunk/
@@ -12,7 +13,7 @@
Package: python-myghty
Architecture: all
-Depends: ${python:Depends}, python
+Depends: ${python:Depends}, python, ${misc:Depends}
Recommends: python-paste
XB-Python-Version: ${python:Versions}
Enhances: python-pylons
Added: packages/myghty/trunk/debian/dirs
===================================================================
--- packages/myghty/trunk/debian/dirs (rev 0)
+++ packages/myghty/trunk/debian/dirs 2010-02-18 20:09:11 UTC (rev 11788)
@@ -0,0 +1,2 @@
+usr/share/python-support/python-beaker
+usr/share/doc/python-myghty/html
Modified: packages/myghty/trunk/debian/rules
===================================================================
--- packages/myghty/trunk/debian/rules 2010-02-18 20:00:54 UTC (rev 11787)
+++ packages/myghty/trunk/debian/rules 2010-02-18 20:09:11 UTC (rev 11788)
@@ -1,17 +1,21 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
package=python-myghty
+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 {} \;
- rm -f *pyc lib/myghty/*pyc doc/lib/*pyc
rm -f doc/html/*html
dh_clean
@@ -26,13 +30,11 @@
python setup.py build
touch $@
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
+install: $(PYVERS:%=install-python%)
+install-python%:
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)
cp -a doc/html/* $(CURDIR)/debian/$(package)/usr/share/doc/$(package)/html
@@ -41,20 +43,19 @@
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
+ dh_builddeb -- -Z bzip2
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