[Python-modules-commits] r19431 - in packages/circuits/trunk/debian (4 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Fri Nov 25 03:06:34 UTC 2011


    Date: Friday, November 25, 2011 @ 03:06:30
  Author: eriol-guest
Revision: 19431

Added python-circuits-doc package and moved documentation and examples
inside it

Added:
  packages/circuits/trunk/debian/python-circuits-doc.docs
Modified:
  packages/circuits/trunk/debian/changelog
  packages/circuits/trunk/debian/control
  packages/circuits/trunk/debian/rules

Modified: packages/circuits/trunk/debian/changelog
===================================================================
--- packages/circuits/trunk/debian/changelog	2011-11-25 01:28:06 UTC (rev 19430)
+++ packages/circuits/trunk/debian/changelog	2011-11-25 03:06:30 UTC (rev 19431)
@@ -3,12 +3,18 @@
   * New upstream release
     - Added Python 3 support
   * Builded python3 packages
+  * Added python-circuits-doc package and moved documentation and examples
+    inside it
   * debian/control
     - Removed Sandro Tosi and added myself as uploader (Closes: #634186)
       Thanks to Sandro Tosi for his past work!
     - Updated Homepage field
     - Switched to dh_python2
     - Bumped Standards-Version to 3.9.2 (no changes needed)
+    - Moved Build-Depends-Indep packages into Build-Depends
+    - Removed python-epydoc from Build-Depends since upstream is using
+      python-sphinx
+    - Added python-sphinx to Build-Depends to build documentation
   * debian/patches/01_use_issuetraker_instead_of_bitbucket.patch
     - Use python-sphinxcontrib.issuetracker instead of sphinxcontrib-bitbucket
       because the latter is not packaged for Debian and it does't add more
@@ -22,7 +28,7 @@
   * debian/watch
     - Updated to new upstream download location (PyPI)
 
- -- Daniele Tricoli <eriol at mornie.org>  Fri, 25 Nov 2011 02:23:12 +0100
+ -- Daniele Tricoli <eriol at mornie.org>  Fri, 25 Nov 2011 03:54:21 +0100
 
 circuits (1.2.1-1) unstable; urgency=low
 

Modified: packages/circuits/trunk/debian/control
===================================================================
--- packages/circuits/trunk/debian/control	2011-11-25 01:28:06 UTC (rev 19430)
+++ packages/circuits/trunk/debian/control	2011-11-25 03:06:30 UTC (rev 19431)
@@ -6,14 +6,13 @@
 Build-Depends:
  debhelper (>= 7.0.50~),
  python-all (>= 2.6.6-3~),
- python3-all (>= 3.1.2-7~),
  python-py,
- python-setuptools
-Build-Depends-Indep:
- ghostscript,
  python-pyinotify,
  python-pygame,
- python-epydoc
+ python-setuptools,
+ python-sphinx (>= 1.0.7+dfsg),
+ python-sphinxcontrib.issuetracker,
+ python3-all (>= 3.1.2-7~)
 Standards-Version: 3.9.2
 Homepage: http://bitbucket.org/prologic/circuits/
 XS-Python-Version: >= 2.5
@@ -60,3 +59,24 @@
  by the Trac architecture.
  .
  This package contains the Python 3 version of the library.
+
+Package: python-circuits-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: event-driven framework with a component architecture
+ circuits is an event-driven framework with a focus on Component
+ Software Architectures where System Functionality is defined in
+ Components. Components communicate with one another by propagating
+ events throughout the system. Each Component can react to events and
+ expose events to other parts of the system Components are able to
+ manage their own events and can also be linked to other Components.
+ .
+ Circuits has a clean architecture and has no external dependencies on
+ any other library. It's simplistic design is unmatchable but yet
+ delivers a powerful framework for building large, scalable,
+ maintainable applications and systems. Circuits was a core integral
+ part of the pymills library developed in 2006 and was partly inspired
+ by the Trac architecture.
+ .
+ This package contains documentation and examples.

Added: packages/circuits/trunk/debian/python-circuits-doc.docs
===================================================================
--- packages/circuits/trunk/debian/python-circuits-doc.docs	                        (rev 0)
+++ packages/circuits/trunk/debian/python-circuits-doc.docs	2011-11-25 03:06:30 UTC (rev 19431)
@@ -0,0 +1,2 @@
+docs/build/html
+examples

Modified: packages/circuits/trunk/debian/rules
===================================================================
--- packages/circuits/trunk/debian/rules	2011-11-25 01:28:06 UTC (rev 19430)
+++ packages/circuits/trunk/debian/rules	2011-11-25 03:06:30 UTC (rev 19431)
@@ -4,7 +4,7 @@
 PY3VERS := $(shell py3versions -r)
 
 %:
-	dh $(@) --with python2,python3 -Spython_distutils
+	dh $(@) --with python2,python3,sphinxdoc -Spython_distutils
 
 override_dh_auto_build:
 	dh_auto_build
@@ -14,6 +14,9 @@
 		$$python3 setup.py build; \
 	done
 
+	rm -rf docs/build/html
+	PYTHONPATH=. sphinx-build -N -bhtml docs/source docs/build/html
+
 override_dh_auto_install:
 	dh_auto_install
 
@@ -27,12 +30,7 @@
 # override_dh_auto_test:
 # ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 # 	set -e; \
-# 	for python in $(PY2VERS); do \
+# 	for python in $(PY2VERS) $(PY3VERS); do \
 # 		$$python setup.py test; \
 # 	done
-#
-# 	set -e; \
-# 	for python3 in $(PY3VERS); do \
-# 		$$python3 setup.py test; \
-# 	done
 # endif




More information about the Python-modules-commits mailing list