1
0

2 Commits

Author SHA256 Message Date
4e840602a1 Accepting request 1225494 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1225494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=30
2024-11-21 14:19:09 +00:00
28c30ef89e - avoid stale "requires:" requirement on shapely packages
- Remove upper bound on Cython, Cython 3 is supported.
- Update to 2.0.2
      these features are used.
 * Added new `shapely.ops.substring` function
 * Added new `shapely.ops.clip_by_rect` function
 * shapely.wkb.dumps` now accepts an `srid` integer keyword argument
    equality, preventing instances of base and derived classes from
  * Remove packaging module requirement added in 1.5.10 (#305). Distutils can't
  * Fix for 64 bit speedups compatibility (#274).
  * Added Provides lowercase
  sc

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=46
2024-11-21 09:21:18 +00:00
2 changed files with 18 additions and 14 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 21 09:13:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
- avoid stale "requires:" requirement on shapely packages
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 31 11:24:25 UTC 2024 - Ben Greiner <code@bnavigator.de> Sat Aug 31 11:24:25 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@@ -45,8 +45,7 @@ BuildRequires: geos-devel >= 3.5
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# Shapely calls the GEOS libs libgeos and libgeos_c via ctypes in python scripts, undetected by rpm ld analyzer. # Shapely calls the GEOS libs libgeos and libgeos_c via ctypes in python scripts, undetected by rpm ld analyzer.
# (libgeos_c1 is detected due to some Cython optimized lib, but libgeos3 is not) # (libgeos_c1 is detected due to some Cython optimized lib, but libgeos3 is not)
# use requires_eq in order to be detectable by the python_subpackages rewriter Requires: %(rpm -q --requires geos-devel | sed -rne 's/^(libgeos3.* = .*)-.*/\1/p')
%requires_eq %(rpm -q --requires geos-devel | grep libgeos)
Requires: (python-numpy >= 1.14 with python-numpy < 3) Requires: (python-numpy >= 1.14 with python-numpy < 3)
Provides: python-shapely = %{version}-%{release} Provides: python-shapely = %{version}-%{release}
Obsoletes: python-shapely < %{version}-%{release} Obsoletes: python-shapely < %{version}-%{release}