+neutron (1:2015.1.0-1~u14.04+mos5) mos7.0; urgency=medium
+
+ * debian/control:
+ - Add neutron-doc package section
+ - Add python-sphinx to build dependencies
+ * debian/rules:
+ - Add sphinxdoc to build with
+ - Add override_dh_sphinxdoc section
+
+ -- Sergey Kolekonov <skolekonov@mirantis.com> Thu, 09 Jul 2015 15:35:48 +0300
+
neutron (1:2015.1.0-1~u14.04+mos4) mos7.0; urgency=medium
* python-neutron-fwaas was removed to avoid cross-dependency conflict when
Section: net
Priority: optional
Maintainer: MOS Neutron Team <mos-neutron@mirantis.com>
-Build-Depends: debhelper (>= 9), python-all (>= 2.7.1)
+Build-Depends: debhelper (>= 9), python-all (>= 2.7.1), python-sphinx (>= 1.1.2)
Build-Depends-Indep:
alembic (>= 0.7.2),
python-anyjson (>= 0.3.3),
etc.)
.
This package provides the OpenContail plugin.
+
+Package: neutron-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Neutron is a virtual network service for Openstack - Docs
+ Neutron is a virtual network service for Openstack, and a part of
+ Netstack. Just like OpenStack Nova provides an API to dynamically
+ request and configure virtual servers, Neutron provides an API to
+ dynamically request and configure virtual networks. These networks
+ connect "interfaces" from other OpenStack services (e.g., virtual NICs
+ from Nova VMs). The Neutron API supports extensions to provide
+ advanced network capabilities (e.g., QoS, ACLs, network monitoring,
+ etc.)
+ .
+ This package contains the documentation
#export DH_VERBOSE=1
%:
- dh $@ --with python2
+ dh $@ --with python2,sphinxdoc
override_dh_install:
dh_install --fail-missing -X/usr/etc -X/usr/bin/neutron-hyperv-agent
patch -p1 < debian/patches/fix-neutron-configuration.patch
endif
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+ python setup.py build_sphinx
+ cp -rf doc/build/html $(CURDIR)/debian/neutron-doc/usr/share/doc/neutron-doc
+ dh_sphinxdoc -O--buildsystem=python_distutils
+endif