Commit Graph

19 Commits

Author SHA256 Message Date
4737ce30ce Accepting request 1007759 from home:andythe_great:branches:Application:Geo
- Update to version 1.8.4.
  * The new c_geom_p type caused a regression and has been removed
    (#1487).
- Update for version 1.8.3.
  * Deprecations:
    * The STRtree class will be changed in 2.0.0 and will not be
      compatible with the class in versions 1.8.x. This change
      obsoletes the deprecation announcement in 1.8a3 (below).
  * Bug fixes:
    * The signature for GEOSMinimumClearance has been corrected,
      fixing an issue affecting aarch64-darwin (#1480)
    * Return and arg types have been corrected and made more strict
      for area, length, and distance properties.
    * A new c_geom_p type has been created to replace c_void_p when
      calling GEOS functions (#1479).
    * An incorrect polygon-line intersection (#1427) has been fixed
      in GEOS 3.10.3,mwhich will be included in wheels published
      to PyPI.
    * GEOS buffer parameters are now destroyed, fixing a memory
      leak (#1440).
- Remove patch, fix upstream.
  Shapely-issue1436-ef380ba-geos311.patch

OBS-URL: https://build.opensuse.org/request/show/1007759
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=30
2022-10-03 22:05:34 +00:00
120be91db1 Accepting request 990299 from home:bnavigator:branches:Application:Geo
- Add Shapely-issue1436-ef380ba-geos311.patch
  * gh#shapely/shapely#1436 -- work around issue with geos 3.11.0

OBS-URL: https://build.opensuse.org/request/show/990299
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=28
2022-07-19 20:11:41 +00:00
9b4373bca9 Accepting request 983941 from home:bnavigator:branches:Application:Geo
- Update to 1.8.2
  - Make Polygons and MultiPolygons closed by definition, like
    LinearRings. Resolves #1246.
  - Perform frozen app check for GEOS before conda env check on
    macos as we already do on linux (#1301).
  - Fix leak of GEOS coordinate sequence in nearest_points reported
    in #1098.
- Release 1.8.1
  * Wheels for 1.8.1 published on PyPI include GEOS 3.10.2. This
    version is the best version of GDAL yet. Discrepancies in
    behavior compared to previous versions are considered to be
    improvements.
  * Shapely 1.8.1 works with Pythons 3.6-3.10.
  * Require Cython >= 0.29.24 to support Python 3.10 (#1224).
  * Fix array_interface_base (#1235).
- Fix libgeos* runtime requirement undetected due to the ctypes
  load

OBS-URL: https://build.opensuse.org/request/show/983941
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=26
2022-06-20 11:44:07 +00:00
e0e34ddd59 Accepting request 945434 from home:bnavigator:branches:Application:Geo
- Update to 1.8.0
  * Shapely 1.8.0 is a transitional version. There are a few bug
    fixes and new features, but it largely exists to warn about the
    upcoming changes in 2.0.0. See the new migration guide for more
    details on how to update your code from Shapely 1.8 to 2.0.
  * Shapely 1.8.0 supports only Python versions >= 3.6. The release
    is compatible with GEOS versions 3.6-3.10.
  * Deprecations: The following functions and geometry attributes
    and methods will be removed in version 2.0.0.
    - ops.cascaded_union
    - BaseGeometry.empty
    - BaseGeometry.ctypes and __array_interface__
    - multi-part geometry __len__
    - setting custom attributes on geometry objects
    - BaseGeometry.almost_exact
    - Deprecation warnings will be emitted in 1.8.0 when any of
      these features are used. 
  * The deprecated to_wkb and to_wkt methods of BaseGeometry have
    been removed.
  * The STRtree nearest* methods now take an optional argument that
    specifies exclusion of the input geometry from results (#1115).
  * A GeometryTypeError has been added to shapely.errors and is
    consistently raised instead of TypeError or ValueError as in
    version 1.7. For backwards compatibility, the new exception
    will derive from TypeError and Value error until version 2.0
    (#1099).
  * The STRtree class constructor now takes an optional second
    argument, a sequence of objects to be stored in the tree. If
    not provided, the sequence indices of the geometries will be
    stored, as before (#1112).
  * The STRtree class has new query_geoms, query_items,
    nearest_geom, and nearest_item methods (#1112). The query and
    nearest methods remain as aliases for query_geoms and
    nearest_geom.
  * A normalize method has been added to geometry classes, exposing
    the GEOSNormalize algorithm (#1090).
  * STRtree instances have a new default capacity of 10 items per
    node (#1070).
  * The new shapely.ops.voronoi_diagram computes the Voronoi
    Diagram of a geometry or geometry collection (#833, #851).
  * shapely.validation.make_valid fixes invalid geometries (#883).
- Drop Shapely-fix-svg-collection-pr1042.patch

OBS-URL: https://build.opensuse.org/request/show/945434
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=25
2022-01-13 09:39:09 +00:00
18153e57c1 Accepting request 886265 from home:bnavigator:branches:Application:Geo
- Don't use and test NumPy for python36 flavor: not available on
  Tumbleweed (NEP29)
- Make sure to test shapely.vectorized on remaining flavors by
  changing the working dir.

OBS-URL: https://build.opensuse.org/request/show/886265
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=23
2021-04-19 07:14:14 +00:00
e39615a71b Accepting request 862034 from home:bnavigator:branches:Application:Geo
- Add Shapely-fix-svg-collection-pr1042.patch
  gh#Toblerity/Shapely#1042 to fix failing test due to newer
  matplotlib version (and GEOS?)

OBS-URL: https://build.opensuse.org/request/show/862034
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=21
2021-01-10 08:09:37 +00:00
9e9b65bdfe Accepting request 859972 from home:bnavigator:branches:Application:Geo
- Skip Python2 build. It is not supported by upstream anymore and
  the unit tests in Leap fail because of it
- Let the %python_subpackages macro take care of the correct
  provides/obsoletes flavors. (gh#openSUSE/python-rpm-macros#66)


Why do you have Tumbleweed disabled in the repolist for this package?

OBS-URL: https://build.opensuse.org/request/show/859972
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=19
2021-01-04 07:37:18 +00:00
b6f4579d4d Accepting request 838103 from home:frispete:python
- update to 1.7.1
 * ``STRtree`` now safely implements the pickle protocol (#915).^
 * Documentation has been added for ``minimum_clearance`` (#875, #874).
 * In ``STRtree.__del__()`` we guard against calling ``GEOSSTRtree_destroy``
   when the lgeos module has already been torn down on exit (#897, #830).
 * Documentation for the ``overlaps()`` method has been corrected (#920).
 * Correct the test in ``shapely.geometry.base.BaseGeometry.empty()`` to
   eliminate memory leaks like the one reported in #745.
 * Get free() not from libc but from the processes global symbols (#891),
   fixing a bug that manifests on OS X 10.15 and 10.16.
 * Extracting substrings from complex lines has been made more correct (#848,
   #849).
 * Splitting of complex geometries has been sped up by preparing the input
   geometry (#871).
 * Fix bug in concatenation of function argtypes (#866).
 * Improved documentation of STRtree usage (#857).
 * Improved handling for empty list or list of lists in GeoJSON coordinates
   (#852).
 * The polylabel algorithm now accounts for polygon holes (#851, #817).

OBS-URL: https://build.opensuse.org/request/show/838103
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=17
2020-09-29 05:58:17 +00:00
4a999415ad Accepting request 783819 from home:mimi_vx:branches:Application:Geo
- drop fix-build-with-geos-3.8.0.patch
- update to 1.7.0
 * the buffer operation can now be single-sides
 * Nearest neighbor search has been added to STRtree
 * Removed vendorized `functools`
 * Disallow sequences of MultiPolygons as arguments to the MultiPolygon constructor
 * Added a new `EmptyGeometry` class to support GeoPandas
 * Added new `shapely.ops.substring` function 
 * Added new `shapely.ops.clip_by_rect` function 
 * shapely.wkb.dumps` now accepts an `srid` integer keyword argument

OBS-URL: https://build.opensuse.org/request/show/783819
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=15
2020-03-11 12:56:46 +00:00
881261f49f Accepting request 783465 from home:Guillaume_G:branches:Application:Geo
- Fix build with upstream patch:
  * fix-build-with-geos-3.8.0.patch

OBS-URL: https://build.opensuse.org/request/show/783465
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=14
2020-03-10 17:37:58 +00:00
a97e8409c3 Accepting request 709776 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/709776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=13
2019-06-14 18:42:16 +00:00
4aef88b012 Accepting request 660784 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/660784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=12
2019-01-08 11:25:56 +00:00
57ee669669 Accepting request 509796 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/509796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=11
2017-07-17 07:08:51 +00:00
726cab6eed Accepting request 312467 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/312467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=10
2015-06-23 09:56:27 +00:00
6f2ca31533 Accepting request 308525 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/308525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=9
2015-05-25 09:14:13 +00:00
Tomáš Chvátal
c7d4098876 Accepting request 204659 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=7
2013-10-25 09:31:25 +00:00
Stephan Kulow
bdd30de25a Accepting request 200661 from devel:languages:python
update (forwarded request 200602 from posophe)

OBS-URL: https://build.opensuse.org/request/show/200661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=6
2013-09-26 17:56:04 +00:00
Stephan Kulow
6fbf48e14f Accepting request 142492 from devel:languages:python
- Update to version 1.2.16:
  + Add ops.unary_union function.
  + Alias ops.cascaded_union to ops.unary_union when GEOS CAPI >= (1,7,0).
  + Add geos_version_string attribute to shapely.geos.
  + Ensure parent is set when child geometry is accessed.
  + Generate _speedups.c using Cython when building from repo when missing,
    stale, or the build target is "sdist".
  + The is_simple predicate of invalid, self-intersecting linear rings now
    returns ``False``.
  + Remove VERSION.txt from repo, it's now written by the distutils setup script
    with value of shapely.__version__.
- Changes from version 1.2.15:
  + Eliminate numerical sensitivity in a method chaining test (Debian bug
    #663210).
  + Account for cascaded union of random buffered test points being a polygon
    or multipolygon (Debian bug #666655).
  + Use Cython to build speedups if it is installed.
  + Avoid stumbling over SVN revision numbers in GEOS C API version strings.

- Update to version 1.2.14:
  + A geometry's coords property is now sliceable, yielding a list of coordinate
    values.
  + Homogeneous collections are now sliceable, yielding a new collection of the
    same type.

OBS-URL: https://build.opensuse.org/request/show/142492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=3
2012-11-25 13:03:48 +00:00
Stephan Kulow
314aedb70b Accepting request 109274 from devel:languages:python
Please add

OBS-URL: https://build.opensuse.org/request/show/109274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=1
2012-03-27 06:58:29 +00:00