[python-shapely] 47/148: Removed patch for manual

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Aug 20 17:42:02 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 7272fb479d837aff71986f6340fcf7a10ea54f8b
Author: Pietro Battiston <me at pietrobattiston.it>
Date:   Sun Sep 19 10:14:57 2010 +0200

    Removed patch for manual
---
 debian/patches/manual-backported-fixes | 56 ----------------------------------
 debian/patches/series                  |  1 -
 2 files changed, 57 deletions(-)

diff --git a/debian/patches/manual-backported-fixes b/debian/patches/manual-backported-fixes
deleted file mode 100644
index 01f445a..0000000
--- a/debian/patches/manual-backported-fixes
+++ /dev/null
@@ -1,56 +0,0 @@
-Description: Backported fixes to manual.
- The manual in 1.2.3 contains a couple of fixes, this patch applies
- them to the 1.2.1 version. Notice that this doesn't make it identical
- to the 1.2.3 version, which also documents new features.
-Author: Pietro Battiston <toobaz at email.it>
-Forwarded: not-needed
-
---- python-shapely-1.2.1.orig/docs/manual.txt
-+++ python-shapely-1.2.1/docs/manual.txt
-@@ -1366,8 +1366,8 @@ Figure 1. Convex hull (blue) of 2 points
- 
- .. attribute:: object.envelope
- 
--  Returns a representation of the point or smallest rectangular polygon that
--  contains the object.
-+  Returns a representation of the point or smallest rectangular polygon (with
-+  sides parallel to the coordinate axes) that contains the object.
- 
- .. sourcecode:: pycon
- 
-@@ -1501,7 +1501,7 @@ first use the :func:`prepared.prep` func
- .. sourcecode:: pycon
- 
-   >>> from shapely.geometry import Point
--  >>> from shapely.prepared import polyprep
-+  >>> from shapely.prepared import prep
-   >>> points = [...] # large list of points
-   >>> polygon = Point(0.0, 0.0).buffer(1.0)
-   >>> prepared_polygon = prep(polygon)
-@@ -1514,6 +1514,26 @@ Prepared geometries instances have the f
- same arguments and usage as their counterparts in non-prepared geometric
- objects.
- 
-+Diagnostics
-+-----------
-+
-+.. function:: validation.explain_validity(ob):
-+
-+  Returns a string explaining the validity or invalidity of the object.
-+
-+  `New in version 1.2.1`.
-+
-+The messages may or may not have a representation of a problem point that can
-+be parsed out.
-+
-+.. sourcecode:: python
-+
-+  >>> coords = [(0, 0), (0, 2), (1, 1), (2, 2), (2, 0), (1, 1), (0, 0)]
-+  >>> p = Polygon(coords)
-+  >>> from shapely.validation import explain_validity
-+  >>> explain_validity(p)
-+  'Ring Self-intersection[1 1]'
-+
- Interoperation
- ==============
- 
diff --git a/debian/patches/series b/debian/patches/series
index 0952ee5..15b5446 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
 disable-broken-locale-test
 do-not-install-examples-as-scripts
-manual-backported-fixes
 disable-broken-locale-test

-- 
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