- 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
62 lines
2.0 KiB
RPMSpec
62 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package python-Shapely
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: python-Shapely
|
|
Version: 1.2.16
|
|
Release: 0
|
|
Summary: Geospatial geometries, predicates, and operations
|
|
License: BSD-3-Clause
|
|
Group: Development/Libraries/Python
|
|
Url: http://pypi.python.org/pypi/Shapely
|
|
Source: http://pypi.python.org/packages/source/S/Shapely/Shapely-%{version}.tar.gz
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-distribute
|
|
Requires: python-ctypes
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
%else
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
%description
|
|
Shapely is a Python package for manipulation and analysis of 2D geospatial
|
|
geometries. It is based on GEOS (http://geos.refractions.net). Shapely 1.0
|
|
is not concerned with data formats or coordinate reference systems.
|
|
Responsibility for reading and writing data and projecting coordinates is
|
|
left to other packages like WorldMill and pyproj.
|
|
|
|
%prep
|
|
%setup -q -n Shapely-%{version}
|
|
|
|
%build
|
|
python setup.py build
|
|
|
|
%install
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
#%%check
|
|
#python setup.py test
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc CREDITS.txt LICENSE.txt README.rst docs/*
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|