[python-shapely] 115/148: Build documentation, now using sphinx

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Aug 20 17:42:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository python-shapely.

commit 81263f634a32d109860101d3fc0bc20a4864cd3c
Author: Pietro Battiston <me at pietrobattiston.it>
Date:   Tue Sep 30 14:08:56 2014 +0200

    Build documentation, now using sphinx
---
 debian/control | 18 +++++++++++++++++-
 debian/docs    |  1 -
 debian/rules   |  2 ++
 3 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index b53b703..7eec32b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: python-shapely
 Section: python
 Priority: optional
 Maintainer: Pietro Battiston <me at pietrobattiston.it>
-Build-Depends: debhelper (>= 7.0.50), python-setuptools (>= 0.6), libgeos-c1 (>= 3.1.0), libgeos-dev, python-numpy, python-all (>= 2.6.6-3), python-all-dev, python3-all, python3-setuptools, cython, cython3, dh-python
+Build-Depends: debhelper (>= 7.0.50), python-setuptools (>= 0.6), libgeos-c1 (>= 3.1.0), libgeos-dev, python-numpy, python-all (>= 2.6.6-3), python-all-dev, python3-all, python3-setuptools, cython, cython3, dh-python, python-sphinx, python3-sphinx, python-matplotlib
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
@@ -41,3 +41,19 @@ Description: geometric objects, predicates, and operations (Python 3)
  homogeneous or heterogeneous collections thereof.
  .
  This is the Python 3 version of the package.
+
+Package: python-shapely-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: python-shapely | python3-shapely, libjs-mathjax
+Description: geometric objects, predicates, and operations (documentation)
+ Shapely is a package for manipulation and analysis of 2D features.
+ Its capabilities include:
+  * calculating the point set unions, intersections, or differences of features
+  * predicate tests on features: intersects, touches, contains, and more.
+ .
+ Supported geometric types are points, line strings, linear rings, polygons, and
+ homogeneous or heterogeneous collections thereof.
+ .
+ This package provides the documentation for Shapely.
diff --git a/debian/docs b/debian/docs
index 5d2dc70..a1320b1 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,2 +1 @@
 README.rst
-docs/manual.txt
diff --git a/debian/rules b/debian/rules
index 73b17fc..6ff50be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,3 +27,5 @@ endif
 override_dh_auto_build:
 	rm -f shapely/speedups/_speedups.c
 	dh_auto_build
+	python setup.py build_sphinx
+	ln -s /usr/share/javascript/mathjax build/sphinx/html/_static/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-shapely.git



More information about the Pkg-grass-devel mailing list