[Python-apps-commits] r4565 - in packages/ibid/trunk (4 files)

stefanor-guest at users.alioth.debian.org stefanor-guest at users.alioth.debian.org
Sat Jan 23 09:23:14 UTC 2010


    Date: Saturday, January 23, 2010 @ 09:23:13
  Author: stefanor-guest
Revision: 4565

Build documentation and add man pages

Added:
  packages/ibid/trunk/README.Debian
  packages/ibid/trunk/debian/doc-base
Modified:
  packages/ibid/trunk/debian/control
  packages/ibid/trunk/debian/rules

Added: packages/ibid/trunk/README.Debian
===================================================================
--- packages/ibid/trunk/README.Debian	                        (rev 0)
+++ packages/ibid/trunk/README.Debian	2010-01-23 09:23:13 UTC (rev 4565)
@@ -0,0 +1,11 @@
+Ibid for Debian
+---------------
+
+To install an Ibid on Debian follow the "Package Managed Installation" section
+of docs/install.rst or docs/html/install.html. You can obviously skip the bits
+about adding alternate APT repositories.
+
+This package doesn't (yet) support automatic running of bots at system
+start-up. You'll need to do that yourself.
+
+ -- Stefano Rivera <stefano at rivera.za.net>  Sat, 23 Jan 2010 11:17:24 +0200

Modified: packages/ibid/trunk/debian/control
===================================================================
--- packages/ibid/trunk/debian/control	2010-01-22 19:52:59 UTC (rev 4564)
+++ packages/ibid/trunk/debian/control	2010-01-23 09:23:13 UTC (rev 4565)
@@ -3,27 +3,34 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Stefano Rivera <stefano at rivera.za.net>
-Build-Depends: debhelper (>= 7), python-setuptools, python-support
+Build-Depends: debhelper (>= 7.0.50~), python-setuptools, python-support,
+ python-sphinx
 Standards-Version: 3.8.3
 Homepage: http://ibid.omnia.za.net/
 Vcs-Svn: svn://svn.debian.org/python-apps/packages/ibid/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/ibid/trunk/
-XS-Python-Version: >= 2.4
+XS-Python-Version: all
 
 Package: ibid
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
+ libjs-jquery,
  python-twisted-words, python-twisted-web, python-sqlalchemy (>= 0.4.6),
  python-simplejson | python (>= 2.6), python-soappy, python-jinja,
  python-html5lib, python-beautifulsoup, python-twisted-mail,
  python-celementtree | python (>= 2.5), python-pkg-resources, python-dateutil,
  python-pysqlite2 | python-mysqldb | python-psycopg2, python-openssl
-Recommends: python-dictclient, python-dnspython, python-feedparser, python-imdbpy (>= 3.8),
- units, bc, ipcalc, iputils-tracepath, man-db, fortune, python-wokkel (>= 0.4)
-Suggests: python-pysilc, apt-file, bzr, dictd, python-figlet, python-aalib, caca-utils
+Recommends: python-dictclient, python-dnspython, python-feedparser,
+ python-imdbpy (>= 3.8), python-wokkel (>= 0.4),
+ units, bc, ipcalc, iputils-tracepath, man-db, fortune
+Suggests: python-pysilc, apt-file, bzr, dictd, python-figlet, python-aalib,
+ caca-utils
 Description: Multi-protocol general purpose chat bot
- Ibid is a multi-protocol general purpose chat bot written in Python. It uses a
- natural language interface, and can connect to multiple sources, including IRC,
- Jabber and SILC servers, as well as allowing interaction using SMTP, HTTP and
- various RPC protocols. It aims to be agnostic with regard to how it is used,
- and to make plugins and extensions as easy as possible to write.
+ Ibid is a multi-protocol general purpose chat bot written in Python.
+ It uses a natural language interface, and can connect to multiple sources,
+ including IRC, Jabber and SILC servers, as well as allowing interaction using
+ SMTP, HTTP and various RPC protocols.
+ It aims to be agnostic with regard to how it is used, and to make plugins and
+ extensions as easy as possible to write.
+ .
+ It ships with a large collection of plugins.

Added: packages/ibid/trunk/debian/doc-base
===================================================================
--- packages/ibid/trunk/debian/doc-base	                        (rev 0)
+++ packages/ibid/trunk/debian/doc-base	2010-01-23 09:23:13 UTC (rev 4565)
@@ -0,0 +1,9 @@
+Document: ibid
+Title: Ibid bot documentation
+Author: The Ibid Developers
+Abstract: Ibid is a multi-protocol chat bot, wrtitten in Python
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/ibid/docs/html/index.html
+Files: /usr/share/doc/ibid/docs/html/*.html

Modified: packages/ibid/trunk/debian/rules
===================================================================
--- packages/ibid/trunk/debian/rules	2010-01-22 19:52:59 UTC (rev 4564)
+++ packages/ibid/trunk/debian/rules	2010-01-23 09:23:13 UTC (rev 4565)
@@ -3,6 +3,25 @@
 %:
 	dh $@
 
+.PHONY: override_dh_installdocs
+override_dh_installdocs:
+	sphinx-build -bhtml docs/ docs/html/
+	dh_installdocs -Xdocs/html/_sources -Xdocs/_build -Xdocs/html/.doctrees \
+	               -Xdocs/html/_static/jquery.js
+
+.PHONY: override_dh_link
+override_dh_link:
+	dh_link /usr/share/javascript/jquery/jquery.js \
+	        /usr/share/doc/ibid/docs/html/_static/jquery.js
+
+.PHONY: override_dh_compress
+override_dh_compress:
+	dh_compress -i -X.png -X.css -X.html -X.js
+
+.PHONY: override_dh_installman
+override_dh_installman:
+	dh_installman man/*
+
 .PHONY: get-orig-source
 get-orig-source:
 	REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*bzr([^-]+).*,\1,p'); \
@@ -10,5 +29,5 @@
 	if [ "$$REV" = "" ]; then \
 		uscan --force-download --rename --repack --download-version=$$VER --destdir=.; \
 	else \
-#		bzr export -r $$REV ibid_$$VER.orig.tar.gz lp:ibid; \
+		bzr export -r $$REV ibid_$$VER.orig.tar.gz lp:ibid; \
 	fi




More information about the Python-apps-commits mailing list