[Python-modules-commits] r971 - in
/packages/python-pysnmp2/trunk/debian: changelog compat control
control.in dirs postinst prerm rules
arnau-guest at users.alioth.debian.org
arnau-guest at users.alioth.debian.org
Tue Jun 20 11:27:05 UTC 2006
Author: arnau-guest
Date: Tue Jun 20 11:27:03 2006
New Revision: 971
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=971
Log:
New python policy
Removed:
packages/python-pysnmp2/trunk/debian/dirs
packages/python-pysnmp2/trunk/debian/postinst
packages/python-pysnmp2/trunk/debian/prerm
Modified:
packages/python-pysnmp2/trunk/debian/changelog
packages/python-pysnmp2/trunk/debian/compat
packages/python-pysnmp2/trunk/debian/control
packages/python-pysnmp2/trunk/debian/control.in
packages/python-pysnmp2/trunk/debian/rules
Modified: packages/python-pysnmp2/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/changelog?rev=971&op=diff
==============================================================================
--- packages/python-pysnmp2/trunk/debian/changelog (original)
+++ packages/python-pysnmp2/trunk/debian/changelog Tue Jun 20 11:27:03 2006
@@ -1,3 +1,20 @@
+python-pysnmp2 (2.0.8-3) unstable; urgency=low
+
+ * New Python policy changes.
+ + debian/compat:
+ - Update debhelper compatibility to 5.
+ + debian/rules:
+ - Add DEB_PYTHON_SYSTEM=pysupport.
+ + debian/control.in
+ - Add XS-Python-Version to source package.
+ - Clean Build-Depends and Depends, cdbs handles that
+ automatically now.
+ - XB-Python-Version and Provides for binary package.
+ + debian/postinst && debian/prerm:
+ - Remove "hand made" python-support stuff, cdbs does this.
+
+ -- Arnaud Fontaine <arnaud at andesi.org> Tue, 20 Jun 2006 12:41:20 +0200
+
python-pysnmp2 (2.0.8-2) unstable; urgency=low
[ Jan Luebbe ]
Modified: packages/python-pysnmp2/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/compat?rev=971&op=diff
==============================================================================
--- packages/python-pysnmp2/trunk/debian/compat (original)
+++ packages/python-pysnmp2/trunk/debian/compat Tue Jun 20 11:27:03 2006
@@ -1,1 +1,1 @@
-4
+5
Modified: packages/python-pysnmp2/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/control?rev=971&op=diff
==============================================================================
--- packages/python-pysnmp2/trunk/debian/control (original)
+++ packages/python-pysnmp2/trunk/debian/control Tue Jun 20 11:27:03 2006
@@ -3,14 +3,16 @@
Priority: optional
Maintainer: Jan Luebbe <jluebbe at lasnet.de>
Uploaders: Arnaud Fontaine <arnaud at andesi.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), python-dev
+Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.41), python-dev (>= 2.3.5-7), python-support (>= 0.2.3)
+XS-Python-Version: all
Standards-Version: 3.7.2
Package: python-pysnmp2
Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2), python-pysnmp-common
+Depends: ${python:Depends}, python-pysnmp-common
Conflicts: python2.3-pysnmp2, python2.4-pysnmp2
Replaces: python2.3-pysnmp2, python2.4-pysnmp2
+XB-Python-Version: ${python:Versions}
Description: Python SNMP library for agents and managers (stable branch)
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
Modified: packages/python-pysnmp2/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/control.in?rev=971&op=diff
==============================================================================
--- packages/python-pysnmp2/trunk/debian/control.in (original)
+++ packages/python-pysnmp2/trunk/debian/control.in Tue Jun 20 11:27:03 2006
@@ -3,14 +3,16 @@
Priority: optional
Maintainer: Jan Luebbe <jluebbe at lasnet.de>
Uploaders: Arnaud Fontaine <arnaud at andesi.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: @cdbs@, python-dev
+Build-Depends: @cdbs@
+XS-Python-Version: all
Standards-Version: 3.7.2
Package: python-pysnmp2
Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2), python-pysnmp-common
+Depends: ${python:Depends}, python-pysnmp-common
Conflicts: python2.3-pysnmp2, python2.4-pysnmp2
Replaces: python2.3-pysnmp2, python2.4-pysnmp2
+XB-Python-Version: ${python:Versions}
Description: Python SNMP library for agents and managers (stable branch)
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
Modified: packages/python-pysnmp2/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/rules?rev=971&op=diff
==============================================================================
--- packages/python-pysnmp2/trunk/debian/rules (original)
+++ packages/python-pysnmp2/trunk/debian/rules Tue Jun 20 11:27:03 2006
@@ -1,16 +1,18 @@
#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
-# python-distutils before debhelper to avoid it calling dh_python by itself
+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/debhelper.mk
-
-DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pysnmp2
# Don't compress .py files
DEB_COMPRESS_EXCLUDE := .py
-install/python-pysnmp2::
- mv debian/python-pysnmp2/usr/share/python-support/pysnmp2/pysnmp/*.py \
- debian/python-pysnmp2/usr/share/python-support/pysnmp2/pysnmp/v2/
+binary-install/$(DEB_PYTHON_MODULE_PACKAGE)::
+ mkdir -p debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/pysnmp/v2/
- echo "2.3-" > debian/python-pysnmp2/usr/share/python-support/pysnmp2/.version
+ mv debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/pysnmp/*.py \
+ debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/pysnmp/v2/
+
+ echo "2.3-" > debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/.version
More information about the Python-modules-commits
mailing list