[Python-modules-commits] r30889 - in packages/pywbem/trunk/debian (5 files)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Sat Oct 4 10:51:20 UTC 2014
Date: Saturday, October 4, 2014 @ 10:51:19
Author: bzed
Revision: 30889
Rename wbemcli to wbemcli.py (Closes: #679607)
Added:
packages/pywbem/trunk/debian/wbemcli.py.1.xml
(from rev 30874, packages/pywbem/trunk/debian/pywbemcli.1.xml)
Modified:
packages/pywbem/trunk/debian/changelog
packages/pywbem/trunk/debian/manpages
packages/pywbem/trunk/debian/rules
Deleted:
packages/pywbem/trunk/debian/pywbemcli.1.xml
Modified: packages/pywbem/trunk/debian/changelog
===================================================================
--- packages/pywbem/trunk/debian/changelog 2014-10-04 10:41:54 UTC (rev 30888)
+++ packages/pywbem/trunk/debian/changelog 2014-10-04 10:51:19 UTC (rev 30889)
@@ -3,7 +3,7 @@
[ Bernd Zeimetz ]
* Lower Python-all dependency for backports. We don't
need python.mk to build.
- * Rename wbemcli to pywbemcli (Closes: #679607)
+ * Rename wbemcli to wbemcli.py (Closes: #679607)
* Take upstream code from svn
- Fixes security issues (Closes: #732594)
- Ship mof_compiler (Closes: #627864)
Modified: packages/pywbem/trunk/debian/manpages
===================================================================
--- packages/pywbem/trunk/debian/manpages 2014-10-04 10:41:54 UTC (rev 30888)
+++ packages/pywbem/trunk/debian/manpages 2014-10-04 10:51:19 UTC (rev 30889)
@@ -1 +1 @@
-wbemcli.1
+wbemcli.py.1
Deleted: packages/pywbem/trunk/debian/pywbemcli.1.xml
===================================================================
--- packages/pywbem/trunk/debian/pywbemcli.1.xml 2014-10-04 10:41:54 UTC (rev 30888)
+++ packages/pywbem/trunk/debian/pywbemcli.1.xml 2014-10-04 10:51:19 UTC (rev 30889)
@@ -1,153 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-
-<!--
-
-`xsltproc -''-nonet \
- -''-param man.charmap.use.subset "0" \
- -''-param make.year.ranges "1" \
- -''-param make.single.year.ranges "1" \
- /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
- manpage.xml'
-
-A manual page <package>.<section> will be generated. You may view the
-manual page with: nroff -man <package>.<section> | less'. A typical entry
-in a Makefile or Makefile.am is:
-
-DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
-XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
-
-manpage.1: manpage.xml
- $(XP) $(DB2MAN) $<
-
-The xsltproc binary is found in the xsltproc package. The XSL files are in
-docbook-xsl. A description of the parameters you can use can be found in the
-docbook-xsl-doc-* packages. Please remember that if you create the nroff
-version in one of the debian/rules file targets (such as build), you will need
-to include xsltproc and docbook-xsl in your Build-Depends control field.
-Alternatively use the xmlto command/package. That will also automatically
-pull in xsltproc and docbook-xsl.
-
-Notes for using docbook2x: docbook2x-man does not automatically create the
-AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
-<refsect1> ... </refsect1>.
-
-To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
-read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
-found in the docbook-xsl-doc-html package.
-
-Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`
-
-General documentation about man-pages and man-page-formatting:
-man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
-
--->
-
- <!-- Fill in your name for FIRSTNAME and SURNAME. -->
- <!ENTITY dhfirstname "Bernd">
- <!ENTITY dhsurname "Zeimetz">
- <!-- dhusername could also be set to "&firstname; &surname;". -->
- <!ENTITY dhusername "&dhfirstname; &dhsurname;">
- <!ENTITY dhemail "bzed at debian.org">
- <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
- allowed: see man(7), man(1) and
- http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
- <!ENTITY dhsection "1">
- <!-- TITLE should be something like "User commands" or similar (see
- http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
- <!ENTITY dhtitle "wbemcli User Manual">
- <!ENTITY dhucpackage "PYWBEM">
- <!ENTITY dhpackage "wbemcli">
-]>
-
-<refentry>
- <refentryinfo>
- <title>&dhtitle;</title>
- <productname>&dhpackage;</productname>
- <authorgroup>
- <author>
- <firstname>&dhfirstname;</firstname>
- <surname>&dhsurname;</surname>
- <contrib>Wrote this manpage for the Debian system.</contrib>
- <address>
- <email>&dhemail;</email>
- </address>
- </author>
- </authorgroup>
- <copyright>
- <year>2009</year>
- <holder>&dhusername;</holder>
- </copyright>
- <legalnotice>
- <para>This manual page was written for the Debian system
- (and may be used by others). The description was taken from
- wbemcli.py and is
- (C) Copyright 2008 Hewlett-Packard Development Company, L.P.</para>
- <para>Permission is granted to copy, distribute and/or modify this
- document under the terms of the GNU Lesser General Public License,
- Version 2 or (at your option) any later version published by
- the Free Software Foundation.</para>
- <para>On Debian systems, the complete text of the GNU General Public
- License can be found in
- <filename>/usr/share/common-licenses/LGPL-2</filename>.</para>
- </legalnotice>
- </refentryinfo>
- <refmeta>
- <refentrytitle>&dhucpackage;</refentrytitle>
- <manvolnum>&dhsection;</manvolnum>
- </refmeta>
- <refnamediv>
- <refname>&dhpackage;</refname>
- <refpurpose>utility to wrap up a PyWBEM session in a Python interactive console</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <cmdsynopsis>
- <command>&dhpackage;</command>
- <arg choice="plain"><option><replaceable>HOSTNAME</replaceable></option></arg>
- <arg choice="opt">
- <arg choice="plain"><option>-u<replaceable> USERNAME</replaceable></option></arg>
- <arg choice="plain"><option>-p<replaceable> PASSWORD</replaceable></option></arg>
- </arg>
- <arg choice="opt"><option>-n<replaceable> NAMESPACE</replaceable></option></arg>
- <arg choice="opt"><option>--no-ssl</option></arg>
- <arg choice="opt"><option>--port<replaceable> PORT</replaceable></option></arg>
- </cmdsynopsis>
- </refsynopsisdiv>
- <refsect1 id="description">
- <title>DESCRIPTION</title>
- <para>This manual page documents briefly the
- <command>&dhpackage;</command> command.</para>
- <para>This manual page was written for the Debian distribution
- because the original program does not have a manual page.</para>
- <para><command>&dhpackage;</command> is small utility to wrap up
- a PyWBEM session in a Python interactive console.</para>
- <para>CIM operations can be executed by using the PyWBEM connection object
- called 'cli' in the global scope. There are two sets of aliases
- available for usage in the interpreter. For example the following
- three commands are equivalent:
- </para>
- <blockquote>
-<literallayout>
->>> cli.EnumerateInstanceNames('SMX_ComputerSystem')
->>> EnumerateInstanceNames('SMX_ComputerSystem')
->>> ein('SMX_ComputerSystem')
-</literallayout>
- </blockquote>
- <para>Pretty-printing of results is also available using the 'pp'
- function. For example:
- </para>
- <blockquote>
-<literallayout>
->>> cs = ei('SMX_ComputerSystem')[0]
->>> pp(cs.items())
-[(u'RequestedState', 12L),
-(u'Dedicated', [1L]),
-(u'StatusDescriptions', [u'System is Functional']),
-(u'IdentifyingNumber', u'6F880AA1-F4F5-11D5-8C45-C0116FBAE02A'),
-..
-</literallayout>
- </blockquote>
- </refsect1>
-</refentry>
-
Modified: packages/pywbem/trunk/debian/rules
===================================================================
--- packages/pywbem/trunk/debian/rules 2014-10-04 10:41:54 UTC (rev 30888)
+++ packages/pywbem/trunk/debian/rules 2014-10-04 10:51:19 UTC (rev 30889)
@@ -17,20 +17,11 @@
install:
dh $@ --with python2
-build: pywbemcli.1
- dh $@ --with python2
-
clean:
dh clean --with python2
+ rm -f wbemcli.py.1
-binary: binary-indep
-binary-arch:
- # nothing to do
-binary-indep:
- dh $@ --with python2 --before dh_install
- mv $(CURDIR)/debian/$(PACKAGE)/$(DEFAULT_PYLIB)/pywbem/wbemcli.py \
- $(CURDIR)/debian/$(PACKAGE)/usr/bin/pywbemcli
- rm -f $(CURDIR)/debian/$(PACKAGE)/usr/lib/*/*/pywbem/wbemcli.py
- dh $@ --with python2 --remaining
+%: wbemcli.py.1
+ dh $@ --with python2
.PHONY: binary binary-arch binary-indep install build clean clean-patched
Copied: packages/pywbem/trunk/debian/wbemcli.py.1.xml (from rev 30874, packages/pywbem/trunk/debian/pywbemcli.1.xml)
===================================================================
--- packages/pywbem/trunk/debian/wbemcli.py.1.xml (rev 0)
+++ packages/pywbem/trunk/debian/wbemcli.py.1.xml 2014-10-04 10:51:19 UTC (rev 30889)
@@ -0,0 +1,153 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+
+<!--
+
+`xsltproc -''-nonet \
+ -''-param man.charmap.use.subset "0" \
+ -''-param make.year.ranges "1" \
+ -''-param make.single.year.ranges "1" \
+ /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
+ manpage.xml'
+
+A manual page <package>.<section> will be generated. You may view the
+manual page with: nroff -man <package>.<section> | less'. A typical entry
+in a Makefile or Makefile.am is:
+
+DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
+XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
+
+manpage.1: manpage.xml
+ $(XP) $(DB2MAN) $<
+
+The xsltproc binary is found in the xsltproc package. The XSL files are in
+docbook-xsl. A description of the parameters you can use can be found in the
+docbook-xsl-doc-* packages. Please remember that if you create the nroff
+version in one of the debian/rules file targets (such as build), you will need
+to include xsltproc and docbook-xsl in your Build-Depends control field.
+Alternatively use the xmlto command/package. That will also automatically
+pull in xsltproc and docbook-xsl.
+
+Notes for using docbook2x: docbook2x-man does not automatically create the
+AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
+<refsect1> ... </refsect1>.
+
+To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
+read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
+found in the docbook-xsl-doc-html package.
+
+Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`
+
+General documentation about man-pages and man-page-formatting:
+man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
+
+-->
+
+ <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+ <!ENTITY dhfirstname "Bernd">
+ <!ENTITY dhsurname "Zeimetz">
+ <!-- dhusername could also be set to "&firstname; &surname;". -->
+ <!ENTITY dhusername "&dhfirstname; &dhsurname;">
+ <!ENTITY dhemail "bzed at debian.org">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1) and
+ http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
+ <!ENTITY dhsection "1">
+ <!-- TITLE should be something like "User commands" or similar (see
+ http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
+ <!ENTITY dhtitle "wbemcli User Manual">
+ <!ENTITY dhucpackage "PYWBEM">
+ <!ENTITY dhpackage "wbemcli">
+]>
+
+<refentry>
+ <refentryinfo>
+ <title>&dhtitle;</title>
+ <productname>&dhpackage;</productname>
+ <authorgroup>
+ <author>
+ <firstname>&dhfirstname;</firstname>
+ <surname>&dhsurname;</surname>
+ <contrib>Wrote this manpage for the Debian system.</contrib>
+ <address>
+ <email>&dhemail;</email>
+ </address>
+ </author>
+ </authorgroup>
+ <copyright>
+ <year>2009</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ <legalnotice>
+ <para>This manual page was written for the Debian system
+ (and may be used by others). The description was taken from
+ wbemcli.py and is
+ (C) Copyright 2008 Hewlett-Packard Development Company, L.P.</para>
+ <para>Permission is granted to copy, distribute and/or modify this
+ document under the terms of the GNU Lesser General Public License,
+ Version 2 or (at your option) any later version published by
+ the Free Software Foundation.</para>
+ <para>On Debian systems, the complete text of the GNU General Public
+ License can be found in
+ <filename>/usr/share/common-licenses/LGPL-2</filename>.</para>
+ </legalnotice>
+ </refentryinfo>
+ <refmeta>
+ <refentrytitle>&dhucpackage;</refentrytitle>
+ <manvolnum>&dhsection;</manvolnum>
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+ <refpurpose>utility to wrap up a PyWBEM session in a Python interactive console</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+ <arg choice="plain"><option><replaceable>HOSTNAME</replaceable></option></arg>
+ <arg choice="opt">
+ <arg choice="plain"><option>-u<replaceable> USERNAME</replaceable></option></arg>
+ <arg choice="plain"><option>-p<replaceable> PASSWORD</replaceable></option></arg>
+ </arg>
+ <arg choice="opt"><option>-n<replaceable> NAMESPACE</replaceable></option></arg>
+ <arg choice="opt"><option>--no-ssl</option></arg>
+ <arg choice="opt"><option>--port<replaceable> PORT</replaceable></option></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1 id="description">
+ <title>DESCRIPTION</title>
+ <para>This manual page documents briefly the
+ <command>&dhpackage;</command> command.</para>
+ <para>This manual page was written for the Debian distribution
+ because the original program does not have a manual page.</para>
+ <para><command>&dhpackage;</command> is small utility to wrap up
+ a PyWBEM session in a Python interactive console.</para>
+ <para>CIM operations can be executed by using the PyWBEM connection object
+ called 'cli' in the global scope. There are two sets of aliases
+ available for usage in the interpreter. For example the following
+ three commands are equivalent:
+ </para>
+ <blockquote>
+<literallayout>
+>>> cli.EnumerateInstanceNames('SMX_ComputerSystem')
+>>> EnumerateInstanceNames('SMX_ComputerSystem')
+>>> ein('SMX_ComputerSystem')
+</literallayout>
+ </blockquote>
+ <para>Pretty-printing of results is also available using the 'pp'
+ function. For example:
+ </para>
+ <blockquote>
+<literallayout>
+>>> cs = ei('SMX_ComputerSystem')[0]
+>>> pp(cs.items())
+[(u'RequestedState', 12L),
+(u'Dedicated', [1L]),
+(u'StatusDescriptions', [u'System is Functional']),
+(u'IdentifyingNumber', u'6F880AA1-F4F5-11D5-8C45-C0116FBAE02A'),
+..
+</literallayout>
+ </blockquote>
+ </refsect1>
+</refentry>
+
More information about the Python-modules-commits
mailing list