[Python-modules-commits] r970 - in
/packages/python-pysnmp4/trunk/debian: changelog control
control.in python-pysnmp-common.dirs python-pysnmp-common.postinst
python-pysnmp-common.prerm python-pysnmp4.dirs python-pysnmp4.install
python-pysnmp4.postinst python-pysnmp4.prerm rules
arnau-guest at users.alioth.debian.org
arnau-guest at users.alioth.debian.org
Tue Jun 20 10:36:46 UTC 2006
Author: arnau-guest
Date: Tue Jun 20 10:36:43 2006
New Revision: 970
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=970
Log:
New Python policy
Added:
packages/python-pysnmp4/trunk/debian/python-pysnmp4.install
Removed:
packages/python-pysnmp4/trunk/debian/python-pysnmp-common.dirs
packages/python-pysnmp4/trunk/debian/python-pysnmp-common.postinst
packages/python-pysnmp4/trunk/debian/python-pysnmp-common.prerm
packages/python-pysnmp4/trunk/debian/python-pysnmp4.dirs
packages/python-pysnmp4/trunk/debian/python-pysnmp4.postinst
packages/python-pysnmp4/trunk/debian/python-pysnmp4.prerm
Modified:
packages/python-pysnmp4/trunk/debian/changelog
packages/python-pysnmp4/trunk/debian/control
packages/python-pysnmp4/trunk/debian/control.in
packages/python-pysnmp4/trunk/debian/rules
Modified: packages/python-pysnmp4/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4/trunk/debian/changelog?rev=970&op=diff
==============================================================================
--- packages/python-pysnmp4/trunk/debian/changelog (original)
+++ packages/python-pysnmp4/trunk/debian/changelog Tue Jun 20 10:36:43 2006
@@ -1,3 +1,19 @@
+python-pysnmp4 (4.1.6a-2) unstable; urgency=low
+
+ * New Python policy changes.
+ + debian/rules:
+ - Add DEB_PYTHON_SYSTEM=pysupport.
+ - Clean debian/rules.
+ + 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:20:29 +0200
+
python-pysnmp4 (4.1.6a-1) unstable; urgency=low
* Initial release. Closes: #263417.
Modified: packages/python-pysnmp4/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4/trunk/debian/control?rev=970&op=diff
==============================================================================
--- packages/python-pysnmp4/trunk/debian/control (original)
+++ packages/python-pysnmp4/trunk/debian/control Tue Jun 20 10:36:43 2006
@@ -4,13 +4,15 @@
Maintainer: Arnaud Fontaine <arnaud at andesi.org>
Uploaders: Jan Luebbe <jluebbe at lasnet.de>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Standards-Version: 3.7.2
-Build-Depends: cdbs (>= 0.4.40), debhelper (>= 5), python-dev
+XS-Python-Version: all
+Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.42), python-dev (>= 2.3.5-7), python-support (>= 0.2.3)
Package: python-pysnmp4
Architecture: all
-Depends: python, python-support (>= 0.2), libsmi2, libsmi2-common, python-pyasn1, python-pysnmp-common
+Depends: ${python:Depends}, libsmi2, libsmi2-common, python-pyasn1, python-pysnmp-common
Recommends: python-crypto, python-pysnmp4-mibs, python-pysnmp4-apps
Suggests: python-pysnmp4-doc
+XB-Python-Version: ${python:Versions}
Description: Python SNMP library for agents and managers (unstable branch)
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
@@ -44,8 +46,9 @@
Package: python-pysnmp-common
Architecture: all
-Depends: python, python-support (>= 0.2)
+Depends: ${python:Depends}
Recommends: python-pysnmp4
+XB-Python-Version: ${python:Versions}
Description: Python SNMP library for agents and managers (version selection module)
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
@@ -59,4 +62,3 @@
select the API version.
.
Homepage: http://pysnmp.sourceforge.net/
-
Modified: packages/python-pysnmp4/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4/trunk/debian/control.in?rev=970&op=diff
==============================================================================
--- packages/python-pysnmp4/trunk/debian/control.in (original)
+++ packages/python-pysnmp4/trunk/debian/control.in Tue Jun 20 10:36:43 2006
@@ -4,13 +4,15 @@
Maintainer: Arnaud Fontaine <arnaud at andesi.org>
Uploaders: Jan Luebbe <jluebbe at lasnet.de>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Standards-Version: 3.7.2
-Build-Depends: @cdbs@, python-dev
+XS-Python-Version: all
+Build-Depends: @cdbs@
Package: python-pysnmp4
Architecture: all
-Depends: python, python-support (>= 0.2), libsmi2, libsmi2-common, python-pyasn1, python-pysnmp-common
+Depends: ${python:Depends}, libsmi2, libsmi2-common, python-pyasn1, python-pysnmp-common
Recommends: python-crypto, python-pysnmp4-mibs, python-pysnmp4-apps
Suggests: python-pysnmp4-doc
+XB-Python-Version: ${python:Versions}
Description: Python SNMP library for agents and managers (unstable branch)
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
@@ -44,8 +46,9 @@
Package: python-pysnmp-common
Architecture: all
-Depends: python, python-support (>= 0.2)
+Depends: ${python:Depends}
Recommends: python-pysnmp4
+XB-Python-Version: ${python:Versions}
Description: Python SNMP library for agents and managers (version selection module)
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
@@ -59,4 +62,3 @@
select the API version.
.
Homepage: http://pysnmp.sourceforge.net/
-
Added: packages/python-pysnmp4/trunk/debian/python-pysnmp4.install
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4/trunk/debian/python-pysnmp4.install?rev=970&op=file
==============================================================================
--- packages/python-pysnmp4/trunk/debian/python-pysnmp4.install (added)
+++ packages/python-pysnmp4/trunk/debian/python-pysnmp4.install Tue Jun 20 10:36:43 2006
@@ -1,0 +1,1 @@
+debian/tmp/usr/share/python-support/
Modified: packages/python-pysnmp4/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4/trunk/debian/rules?rev=970&op=diff
==============================================================================
--- packages/python-pysnmp4/trunk/debian/rules (original)
+++ packages/python-pysnmp4/trunk/debian/rules Tue Jun 20 10:36:43 2006
@@ -1,24 +1,17 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
-DEB_PYTHON_PACKAGES_EXCLUDE=python-pysnmp4-doc python-pysnmp-common
+DEB_PYTHON_SYSTEM=pysupport
-# python-distutils before debhelper to avoid it calling dh_python
-# itself
+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
include /usr/share/cdbs/1/rules/simple-patchsys.mk
# Don't compress .py files
DEB_COMPRESS_EXCLUDE := .py
-# python-support stuff (based on python-cherrypy, thanks to its
-# maintainer)
-DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pysnmp4
+binary-install/python-pysnmp4::
+ rm -f debian/python-pysnmp4/$(cdbs_python_support_path)/pysnmp4/pysnmp/__init__.py
-binary-install/python-pysnmp4::
- rm -f debian/python-pysnmp4/usr/share/python-support/pysnmp4/pysnmp/__init__.py
- echo "2.3-" > debian/python-pysnmp4/usr/share/python-support/pysnmp4/.version
-
-binary-install/python-pysnmp-common::
- echo "2.3-" > debian/python-pysnmp-common/usr/share/python-support/pysnmp-common/.version
+binary-install/$(DEBIAN_PYTHON_MODULE_PACKAGE)::
+ echo "2.3-" > debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/.version
More information about the Python-modules-commits
mailing list