[Python-modules-commits] r512 - in /packages/python-pysnmp3/trunk/debian: README.Debian control control.in python-pysnmp3-doc.dirs python-pysnmp3-doc.examples python-pysnmp3-doc.install python-pysnmp3.dirs python-pysnmp3.docs rules

arnau-guest at users.alioth.debian.org arnau-guest at users.alioth.debian.org
Mon May 8 10:24:26 UTC 2006


Author: arnau-guest
Date: Mon May  8 10:24:25 2006
New Revision: 512

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=512
Log:
* Add myself as uploaders.
* Separate documentations and scripts.
* Update Standards-Version to 3.7.2.
* Clean debian/rules.
* Add Homepage field.


Added:
    packages/python-pysnmp3/trunk/debian/README.Debian
    packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.dirs
    packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.examples
    packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.install
    packages/python-pysnmp3/trunk/debian/python-pysnmp3.dirs
    packages/python-pysnmp3/trunk/debian/python-pysnmp3.docs
Modified:
    packages/python-pysnmp3/trunk/debian/control
    packages/python-pysnmp3/trunk/debian/control.in
    packages/python-pysnmp3/trunk/debian/rules

Added: packages/python-pysnmp3/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp3/trunk/debian/README.Debian?rev=512&op=file
==============================================================================
--- packages/python-pysnmp3/trunk/debian/README.Debian (added)
+++ packages/python-pysnmp3/trunk/debian/README.Debian Mon May  8 10:24:25 2006
@@ -1,0 +1,7 @@
+Please note:
+
+The documentation and examples for this package are in
+python-pysnmp3-doc.
+
+When you install that package, you can find the documentation and
+examples in /usr/share/doc/python-pysnmp3-doc.

Modified: packages/python-pysnmp3/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp3/trunk/debian/control?rev=512&op=diff
==============================================================================
--- packages/python-pysnmp3/trunk/debian/control (original)
+++ packages/python-pysnmp3/trunk/debian/control Mon May  8 10:24:25 2006
@@ -2,14 +2,15 @@
 Section: python
 Priority: optional
 Maintainer: Jan Luebbe <jluebbe at lasnet.de>
+Uploaders: Arnaud Fontaine <arnaud at andesi.org>
 Build-Depends-Indep: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), python-dev
-Standards-Version: 3.6.2.1
+Standards-Version: 3.7.2
 
 Package: python-pysnmp3
 Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2)
-Conflicts: python2.3-pysnmp3, python2.4-pysnmp3
-Replaces: python2.3-pysnmp3, python2.4-pysnmp3
+Depends: python (>= 2.3), python-support (>= 0.2), python-pysnmp-common
+Conflicts: python-pysnmp2, python-pysnmp4
+Suggests: python-pysnmp3-doc
 Description: Python SNMP library for agents and managers (old development branch)
  This is a Python implementation of SNMP v.1/v.2c engine. Its general
  functionality is to assemble/disassemble SNMP messages from/into
@@ -20,4 +21,18 @@
  that it does not rely on any third party tool (it is not a wrapper!).
  .
  PySNMP 3.x is the old development branch.
+ .
+  Homepage: http://pysnmp.sourceforge.net
 
+Package: python-pysnmp3-doc
+Section: doc
+Architecture: all
+Description: Python SNMP library for agents and managers (old development branch)
+ This is a Python implementation  of SNMP v.1/v.2c engine. Its general
+ functionality  is  to  assemble/disassemble SNMP  messages  from/into
+ given  SNMP Object  IDs  along with  associated  values. PySNMP  also
+ provides a few transport methods specific to TCP/IP networking.
+ .
+ This package contains the documentation for Pysnmp3.
+ .
+  Homepage: http://pysnmp.sourceforge.net

Modified: packages/python-pysnmp3/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp3/trunk/debian/control.in?rev=512&op=diff
==============================================================================
--- packages/python-pysnmp3/trunk/debian/control.in (original)
+++ packages/python-pysnmp3/trunk/debian/control.in Mon May  8 10:24:25 2006
@@ -2,14 +2,15 @@
 Section: python
 Priority: optional
 Maintainer: Jan Luebbe <jluebbe at lasnet.de>
+Uploaders: Arnaud Fontaine <arnaud at andesi.org>
 Build-Depends-Indep: @cdbs@, python-dev
-Standards-Version: 3.6.2.1
+Standards-Version: 3.7.2
 
 Package: python-pysnmp3
 Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2)
-Conflicts: python2.3-pysnmp3, python2.4-pysnmp3
-Replaces: python2.3-pysnmp3, python2.4-pysnmp3
+Depends: python (>= 2.3), python-support (>= 0.2), python-pysnmp-common
+Conflicts: python-pysnmp2, python-pysnmp4
+Suggests: python-pysnmp3-doc
 Description: Python SNMP library for agents and managers (old development branch)
  This is a Python implementation of SNMP v.1/v.2c engine. Its general
  functionality is to assemble/disassemble SNMP messages from/into
@@ -20,4 +21,18 @@
  that it does not rely on any third party tool (it is not a wrapper!).
  .
  PySNMP 3.x is the old development branch.
+ .
+  Homepage: http://pysnmp.sourceforge.net
 
+Package: python-pysnmp3-doc
+Section: doc
+Architecture: all
+Description: Python SNMP library for agents and managers (old development branch)
+ This is a Python implementation  of SNMP v.1/v.2c engine. Its general
+ functionality  is  to  assemble/disassemble SNMP  messages  from/into
+ given  SNMP Object  IDs  along with  associated  values. PySNMP  also
+ provides a few transport methods specific to TCP/IP networking.
+ .
+ This package contains the documentation for Pysnmp3.
+ .
+  Homepage: http://pysnmp.sourceforge.net

Added: packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.dirs?rev=512&op=file
==============================================================================
--- packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.dirs (added)
+++ packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.dirs Mon May  8 10:24:25 2006
@@ -1,0 +1,1 @@
+usr/share/doc/python-pysnmp3-doc/html

Added: packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.examples
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.examples?rev=512&op=file
==============================================================================
--- packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.examples (added)
+++ packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.examples Mon May  8 10:24:25 2006
@@ -1,0 +1,1 @@
+examples/*

Added: packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.install
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.install?rev=512&op=file
==============================================================================
--- packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.install (added)
+++ packages/python-pysnmp3/trunk/debian/python-pysnmp3-doc.install Mon May  8 10:24:25 2006
@@ -1,0 +1,1 @@
+docs/*		usr/share/doc/python-pysnmp3-doc/html

Added: packages/python-pysnmp3/trunk/debian/python-pysnmp3.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp3/trunk/debian/python-pysnmp3.dirs?rev=512&op=file
==============================================================================
--- packages/python-pysnmp3/trunk/debian/python-pysnmp3.dirs (added)
+++ packages/python-pysnmp3/trunk/debian/python-pysnmp3.dirs Mon May  8 10:24:25 2006
@@ -1,0 +1,1 @@
+usr/share/python-support/pysnmp3/pysnmp/v3

Added: packages/python-pysnmp3/trunk/debian/python-pysnmp3.docs
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp3/trunk/debian/python-pysnmp3.docs?rev=512&op=file
==============================================================================
--- packages/python-pysnmp3/trunk/debian/python-pysnmp3.docs (added)
+++ packages/python-pysnmp3/trunk/debian/python-pysnmp3.docs Mon May  8 10:24:25 2006
@@ -1,0 +1,1 @@
+debian/README.Debian

Modified: packages/python-pysnmp3/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp3/trunk/debian/rules?rev=512&op=diff
==============================================================================
--- packages/python-pysnmp3/trunk/debian/rules (original)
+++ packages/python-pysnmp3/trunk/debian/rules Mon May  8 10:24:25 2006
@@ -4,13 +4,23 @@
 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/pysnmp3
-DEB_INSTALL_DOCS_python-pysnmp3 := docs examples
+DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support
 
-install/python-pysnmp3::
-	mv debian/python-pysnmp3/usr/share/python-support/pysnmp3/pysnmp \
-		debian/python-pysnmp3/usr/share/python-support/pysnmp3/v3
-	mkdir debian/python-pysnmp3/usr/share/python-support/pysnmp3/pysnmp
-	mv debian/python-pysnmp3/usr/share/python-support/pysnmp3/v3 \
-		debian/python-pysnmp3/usr/share/python-support/pysnmp3/pysnmp/
+binary-predeb/python-pysnmp3::
+	# Which .py files to byte-compile
+	echo "2.3-" >debian/python-pysnmp3/usr/share/python-support/pysnmp3/.version
 
+	# Remove the test directory
+	rm -rf debian/python-pysnmp3/usr/share/python-support/pysnmp/test
+
+	# Move the pysnmp3 files and directories into the proper directory
+	mv debian/python-pysnmp3/usr/share/python-support/pysnmp/* \
+		debian/python-pysnmp3/usr/share/python-support/pysnmp3/pysnmp/v3
+
+	# Remove the temporary pysnmp3 directory
+	rm -rf debian/python-pysnmp3/usr/share/python-support/pysnmp
+
+common-binary-post-install-indep::
+	# Clean the python-pysnmp3-doc packages by removing *.py files.
+	# See: #365257.
+	rm -rf debian/python-pysnmp3-doc/usr/share/python-support




More information about the Python-modules-commits mailing list