2015-10-22 07:44:52 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-pyproj
|
|
|
|
|
#
|
2025-02-16 12:51:19 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2015-10-22 07:44:52 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-02-05 11:07:48 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-10-22 07:44:52 +00:00
|
|
|
#
|
|
|
|
|
|
2012-04-18 11:19:12 +00:00
|
|
|
|
2023-08-30 08:22:38 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2018-05-20 07:16:22 +00:00
|
|
|
Name: python-pyproj
|
2025-02-16 12:51:19 +00:00
|
|
|
Version: 3.7.1
|
2012-04-18 11:19:12 +00:00
|
|
|
Release: 0
|
2019-11-04 10:47:07 +00:00
|
|
|
Summary: Python interface to PROJ library
|
2018-05-20 07:16:22 +00:00
|
|
|
License: SUSE-Public-Domain AND X11
|
|
|
|
|
Group: Development/Languages/Python
|
2019-11-04 10:47:07 +00:00
|
|
|
URL: https://github.com/pyproj4/pyproj
|
2018-05-20 07:16:22 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pyproj/pyproj-%{version}.tar.gz
|
2024-03-14 08:03:16 +00:00
|
|
|
BuildRequires: %{python_module Cython}
|
2021-12-01 08:53:09 +00:00
|
|
|
BuildRequires: %{python_module devel >= 3.8}
|
2023-08-30 08:22:38 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2023-09-25 18:59:33 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2023-08-30 08:22:38 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2012-04-18 11:19:12 +00:00
|
|
|
BuildRequires: fdupes
|
2019-02-05 11:07:48 +00:00
|
|
|
BuildRequires: proj
|
2024-11-24 16:54:09 +00:00
|
|
|
BuildRequires: proj-devel >= 9.2
|
2018-05-20 07:16:22 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2022-09-21 15:18:29 +00:00
|
|
|
Requires: python-certifi
|
2021-02-10 06:36:50 +00:00
|
|
|
Requires(post): update-alternatives
|
2024-03-02 21:43:50 +00:00
|
|
|
Requires(postun): update-alternatives
|
Accepting request 709778 from home:TheBlackCat:branches:Application:Geo
- Update to 2.2.0
* Minimum PROJ version is now 6.1.0
+ `pyproj.crs` updates:
* Updated CRS repr (issue #264)
* Add Datum, CoordinateSystem, CoordinateOperation clases (issue #262)
* Added :meth:`~pyproj.crs.CRS.to_cf` and :meth:`~pyproj.crs.CRS.from_cf` for
converting to/from Climate and Forcast (CF) 1.8 grid mappings (pull #244)
* Added :meth:`~pyproj.crs.CRS.to_dict` (issue #226)
* Added :meth:`~pyproj.crs.CRS.to_authority` (pull #294)
* Added :attr:`~pyproj.crs.CRS.is_vertical` and :attr:`~pyproj.crs.CRS.is_engineering` (issue #316)
* Added :attr:`~pyproj.crs.CRS.target_crs` (pull #328)
* Provide option to "pretty print" WKT in :attr:`~pyproj.crs.CRS.to_wkt` (issue #258)
* Add support for Bound and Compound CRS for :attr:`~pyproj.crs.CRS.is_geographic`, :attr:`~pyproj.crs.CRS.is_projected` (issue #274)
* Add support for Bound CRS for :attr:`~pyproj.crs.CRS.is_geocentric` (issue #374)
* Add support for comparison with CRS a non-crs type supported by :meth:`~pyproj.crs.CRS.from_user_input` (issue #312)
* Added support for ITRF, compound EPSG, and urn projection strings in CRS (pull #289)
* Better handle Compound CRS (issue #265)
* Disallow creation of non-CRS object (eg pipeline) in CRS class (issue #267)
* Added check in :meth:`~pyproj.crs.CRS.to_epsg` for when `proj_list` is null (issue #257)
* Fix comparing classes of non-instance types (issue #310)
+ `pyroj.transformer` updates:
* Added `always_xy` option to Transformer so the transform method will
always accept as input and return as output coordinates using the
traditional GIS order, that is longitude, latitudecfor geographic
CRS and easting, northing for most projected CRS (issue #225)
* Provide `direction` option in :meth:`~pyproj.transformer.Transformer.transform` (issue #266)
* Add check for valid initialization of Transformer and ensure it is a transformer (issue #321)
* Added :meth:`~pyproj.transformer.Transformer.to_wkt` as well as attributes related to `PJ_PROJ_INFO` (pull #322)
* Undo deprecation of :meth:`~pyproj.transformer.Transformer.from_crs` (issue #275)
* Fix false positive errors raised in transformer (issue #249)
* Fix :class:`~pyproj.proj.Proj` initialization from DerivedGeographicCRS (issue #270)
* Add interface to get the projection/ellps/prime_meridian/units lists (issue #251)
* Docs/Build/Test fixes (pull #278, pull #245, pull #248, pull #247, issue #253, pull #252)
- Update to 2.1.3
* Added support for time transformations (issue #208)
* Fixed projection equivalence testing for transformations (pull #231).
* Switch to pytest for testing (pull #230)
* Various testing fixes (pull #223, #222, #221, #220)
* Convert PROJ error messages from bytes to strings (pull #219)
* Fix data dir path separator to be (;) for windows and (:) for linux (pull #234)
- Update to 2.1.2
* Updated to use the CRS definition for Proj instances in transforms (issue #207)
* Add option to skip tranformation operation if input and output projections are equivalent
and always skip if the input and output projections are exact (issue #128)
* Update setup.py method for checking PROJ version (pull #211)
* Add internal proj error log messages to exceptions (pull #215)
- Update to 2.1.1
* Restore behavior of 1.9.6 when illegal projection transformation requested
(return ``inf`` instead of raising an exception, issue #202). kwarg ``errcheck``
added to :func:`~pyproj.transformer.transform` and :func:`~pyproj.transformer.itransform`
(default ``False``). When ``errcheck=True`` an exception is raised.
- Update to 2.1.0
* Added :class:`~pyproj.transformer.Transformer` to make repetitive transformations more efficient (issue #187)
* Added fix for using local datumgrids with transform (issue #191)
* Added :meth:`~pyproj.transformer.Transformer.from_pipeline` to support pipeline transformations.
* Added fix for conversion between radians/degrees for transformations (issues #192 & #195)
- Update to 2.0.2
* add filter for boolean values in dict2string so "no_rot=True" works (issue #183).
* make sure .pxd files included in source tarball.
* add radians flag back in for transform/itransform (issue #185).
- Run unit tests
- Fix dependencies
OBS-URL: https://build.opensuse.org/request/show/709778
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=9
2019-07-17 17:35:06 +00:00
|
|
|
# SECTION test requirements
|
2022-12-19 14:14:21 +00:00
|
|
|
BuildRequires: %{python_module Shapely}
|
2023-03-21 14:50:30 +00:00
|
|
|
BuildRequires: %{python_module certifi}
|
2022-09-21 15:18:29 +00:00
|
|
|
BuildRequires: %{python_module numpy}
|
2024-11-24 16:54:09 +00:00
|
|
|
BuildRequires: %{python_module packaging}
|
2021-01-22 10:09:55 +00:00
|
|
|
BuildRequires: %{python_module pandas}
|
Accepting request 709778 from home:TheBlackCat:branches:Application:Geo
- Update to 2.2.0
* Minimum PROJ version is now 6.1.0
+ `pyproj.crs` updates:
* Updated CRS repr (issue #264)
* Add Datum, CoordinateSystem, CoordinateOperation clases (issue #262)
* Added :meth:`~pyproj.crs.CRS.to_cf` and :meth:`~pyproj.crs.CRS.from_cf` for
converting to/from Climate and Forcast (CF) 1.8 grid mappings (pull #244)
* Added :meth:`~pyproj.crs.CRS.to_dict` (issue #226)
* Added :meth:`~pyproj.crs.CRS.to_authority` (pull #294)
* Added :attr:`~pyproj.crs.CRS.is_vertical` and :attr:`~pyproj.crs.CRS.is_engineering` (issue #316)
* Added :attr:`~pyproj.crs.CRS.target_crs` (pull #328)
* Provide option to "pretty print" WKT in :attr:`~pyproj.crs.CRS.to_wkt` (issue #258)
* Add support for Bound and Compound CRS for :attr:`~pyproj.crs.CRS.is_geographic`, :attr:`~pyproj.crs.CRS.is_projected` (issue #274)
* Add support for Bound CRS for :attr:`~pyproj.crs.CRS.is_geocentric` (issue #374)
* Add support for comparison with CRS a non-crs type supported by :meth:`~pyproj.crs.CRS.from_user_input` (issue #312)
* Added support for ITRF, compound EPSG, and urn projection strings in CRS (pull #289)
* Better handle Compound CRS (issue #265)
* Disallow creation of non-CRS object (eg pipeline) in CRS class (issue #267)
* Added check in :meth:`~pyproj.crs.CRS.to_epsg` for when `proj_list` is null (issue #257)
* Fix comparing classes of non-instance types (issue #310)
+ `pyroj.transformer` updates:
* Added `always_xy` option to Transformer so the transform method will
always accept as input and return as output coordinates using the
traditional GIS order, that is longitude, latitudecfor geographic
CRS and easting, northing for most projected CRS (issue #225)
* Provide `direction` option in :meth:`~pyproj.transformer.Transformer.transform` (issue #266)
* Add check for valid initialization of Transformer and ensure it is a transformer (issue #321)
* Added :meth:`~pyproj.transformer.Transformer.to_wkt` as well as attributes related to `PJ_PROJ_INFO` (pull #322)
* Undo deprecation of :meth:`~pyproj.transformer.Transformer.from_crs` (issue #275)
* Fix false positive errors raised in transformer (issue #249)
* Fix :class:`~pyproj.proj.Proj` initialization from DerivedGeographicCRS (issue #270)
* Add interface to get the projection/ellps/prime_meridian/units lists (issue #251)
* Docs/Build/Test fixes (pull #278, pull #245, pull #248, pull #247, issue #253, pull #252)
- Update to 2.1.3
* Added support for time transformations (issue #208)
* Fixed projection equivalence testing for transformations (pull #231).
* Switch to pytest for testing (pull #230)
* Various testing fixes (pull #223, #222, #221, #220)
* Convert PROJ error messages from bytes to strings (pull #219)
* Fix data dir path separator to be (;) for windows and (:) for linux (pull #234)
- Update to 2.1.2
* Updated to use the CRS definition for Proj instances in transforms (issue #207)
* Add option to skip tranformation operation if input and output projections are equivalent
and always skip if the input and output projections are exact (issue #128)
* Update setup.py method for checking PROJ version (pull #211)
* Add internal proj error log messages to exceptions (pull #215)
- Update to 2.1.1
* Restore behavior of 1.9.6 when illegal projection transformation requested
(return ``inf`` instead of raising an exception, issue #202). kwarg ``errcheck``
added to :func:`~pyproj.transformer.transform` and :func:`~pyproj.transformer.itransform`
(default ``False``). When ``errcheck=True`` an exception is raised.
- Update to 2.1.0
* Added :class:`~pyproj.transformer.Transformer` to make repetitive transformations more efficient (issue #187)
* Added fix for using local datumgrids with transform (issue #191)
* Added :meth:`~pyproj.transformer.Transformer.from_pipeline` to support pipeline transformations.
* Added fix for conversion between radians/degrees for transformations (issues #192 & #195)
- Update to 2.0.2
* add filter for boolean values in dict2string so "no_rot=True" works (issue #183).
* make sure .pxd files included in source tarball.
* add radians flag back in for transform/itransform (issue #185).
- Run unit tests
- Fix dependencies
OBS-URL: https://build.opensuse.org/request/show/709778
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=9
2019-07-17 17:35:06 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2024-11-24 16:54:09 +00:00
|
|
|
BuildRequires: %{python_module xarray}
|
Accepting request 709778 from home:TheBlackCat:branches:Application:Geo
- Update to 2.2.0
* Minimum PROJ version is now 6.1.0
+ `pyproj.crs` updates:
* Updated CRS repr (issue #264)
* Add Datum, CoordinateSystem, CoordinateOperation clases (issue #262)
* Added :meth:`~pyproj.crs.CRS.to_cf` and :meth:`~pyproj.crs.CRS.from_cf` for
converting to/from Climate and Forcast (CF) 1.8 grid mappings (pull #244)
* Added :meth:`~pyproj.crs.CRS.to_dict` (issue #226)
* Added :meth:`~pyproj.crs.CRS.to_authority` (pull #294)
* Added :attr:`~pyproj.crs.CRS.is_vertical` and :attr:`~pyproj.crs.CRS.is_engineering` (issue #316)
* Added :attr:`~pyproj.crs.CRS.target_crs` (pull #328)
* Provide option to "pretty print" WKT in :attr:`~pyproj.crs.CRS.to_wkt` (issue #258)
* Add support for Bound and Compound CRS for :attr:`~pyproj.crs.CRS.is_geographic`, :attr:`~pyproj.crs.CRS.is_projected` (issue #274)
* Add support for Bound CRS for :attr:`~pyproj.crs.CRS.is_geocentric` (issue #374)
* Add support for comparison with CRS a non-crs type supported by :meth:`~pyproj.crs.CRS.from_user_input` (issue #312)
* Added support for ITRF, compound EPSG, and urn projection strings in CRS (pull #289)
* Better handle Compound CRS (issue #265)
* Disallow creation of non-CRS object (eg pipeline) in CRS class (issue #267)
* Added check in :meth:`~pyproj.crs.CRS.to_epsg` for when `proj_list` is null (issue #257)
* Fix comparing classes of non-instance types (issue #310)
+ `pyroj.transformer` updates:
* Added `always_xy` option to Transformer so the transform method will
always accept as input and return as output coordinates using the
traditional GIS order, that is longitude, latitudecfor geographic
CRS and easting, northing for most projected CRS (issue #225)
* Provide `direction` option in :meth:`~pyproj.transformer.Transformer.transform` (issue #266)
* Add check for valid initialization of Transformer and ensure it is a transformer (issue #321)
* Added :meth:`~pyproj.transformer.Transformer.to_wkt` as well as attributes related to `PJ_PROJ_INFO` (pull #322)
* Undo deprecation of :meth:`~pyproj.transformer.Transformer.from_crs` (issue #275)
* Fix false positive errors raised in transformer (issue #249)
* Fix :class:`~pyproj.proj.Proj` initialization from DerivedGeographicCRS (issue #270)
* Add interface to get the projection/ellps/prime_meridian/units lists (issue #251)
* Docs/Build/Test fixes (pull #278, pull #245, pull #248, pull #247, issue #253, pull #252)
- Update to 2.1.3
* Added support for time transformations (issue #208)
* Fixed projection equivalence testing for transformations (pull #231).
* Switch to pytest for testing (pull #230)
* Various testing fixes (pull #223, #222, #221, #220)
* Convert PROJ error messages from bytes to strings (pull #219)
* Fix data dir path separator to be (;) for windows and (:) for linux (pull #234)
- Update to 2.1.2
* Updated to use the CRS definition for Proj instances in transforms (issue #207)
* Add option to skip tranformation operation if input and output projections are equivalent
and always skip if the input and output projections are exact (issue #128)
* Update setup.py method for checking PROJ version (pull #211)
* Add internal proj error log messages to exceptions (pull #215)
- Update to 2.1.1
* Restore behavior of 1.9.6 when illegal projection transformation requested
(return ``inf`` instead of raising an exception, issue #202). kwarg ``errcheck``
added to :func:`~pyproj.transformer.transform` and :func:`~pyproj.transformer.itransform`
(default ``False``). When ``errcheck=True`` an exception is raised.
- Update to 2.1.0
* Added :class:`~pyproj.transformer.Transformer` to make repetitive transformations more efficient (issue #187)
* Added fix for using local datumgrids with transform (issue #191)
* Added :meth:`~pyproj.transformer.Transformer.from_pipeline` to support pipeline transformations.
* Added fix for conversion between radians/degrees for transformations (issues #192 & #195)
- Update to 2.0.2
* add filter for boolean values in dict2string so "no_rot=True" works (issue #183).
* make sure .pxd files included in source tarball.
* add radians flag back in for transform/itransform (issue #185).
- Run unit tests
- Fix dependencies
OBS-URL: https://build.opensuse.org/request/show/709778
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=9
2019-07-17 17:35:06 +00:00
|
|
|
# /SECTION
|
2018-05-20 07:16:22 +00:00
|
|
|
%python_subpackages
|
2012-04-18 11:19:12 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Performs cartographic transformations and geodetic computations.
|
2018-05-20 07:16:22 +00:00
|
|
|
|
2012-04-18 11:19:12 +00:00
|
|
|
The Proj class can convert from geographic (longitude,latitude) to native map
|
|
|
|
|
projection (x,y) coordinates and vice versa, or from one map projection
|
|
|
|
|
coordinate system directly to another.
|
|
|
|
|
|
|
|
|
|
The Geod class can perform forward and inverse geodetic, or Great Circle,
|
|
|
|
|
computations. The forward computation involves determining latitude, longitude
|
|
|
|
|
and back azimuth of a terminus point given the latitude and longitude of an
|
|
|
|
|
initial point, plus azimuth and distance. The inverse computation involves
|
|
|
|
|
determining the forward and back azimuths and distance given the latitudes and
|
|
|
|
|
longitudes of an initial and terminus point.
|
|
|
|
|
|
|
|
|
|
Input coordinates can be given as python arrays, lists/tuples, scalars or
|
|
|
|
|
numpy/Numeric/numarray arrays. Optimized for objects that support the Python
|
|
|
|
|
buffer protocol (regular python and numpy array objects).
|
|
|
|
|
|
2019-11-04 10:47:07 +00:00
|
|
|
This project has a git repository https://github.com/pyproj4/pyproj
|
2018-05-20 07:16:22 +00:00
|
|
|
where you may access the most up-to-date source.
|
|
|
|
|
|
2012-04-18 11:19:12 +00:00
|
|
|
%prep
|
2024-03-14 08:03:16 +00:00
|
|
|
%autosetup -p1 -n pyproj-%{version}
|
2012-04-18 11:19:12 +00:00
|
|
|
|
|
|
|
|
%build
|
2023-08-30 08:22:38 +00:00
|
|
|
%pyproject_wheel
|
2012-04-18 11:19:12 +00:00
|
|
|
|
|
|
|
|
%install
|
2023-08-30 08:22:38 +00:00
|
|
|
%pyproject_install
|
2021-01-22 10:09:55 +00:00
|
|
|
%python_clone -a %{buildroot}%{_bindir}/pyproj
|
|
|
|
|
%python_expand rm -rf %{buildroot}%{$python_sitearch}/test
|
2018-05-20 07:16:22 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
2012-04-18 11:19:12 +00:00
|
|
|
|
2018-05-20 07:16:22 +00:00
|
|
|
%check
|
Accepting request 709778 from home:TheBlackCat:branches:Application:Geo
- Update to 2.2.0
* Minimum PROJ version is now 6.1.0
+ `pyproj.crs` updates:
* Updated CRS repr (issue #264)
* Add Datum, CoordinateSystem, CoordinateOperation clases (issue #262)
* Added :meth:`~pyproj.crs.CRS.to_cf` and :meth:`~pyproj.crs.CRS.from_cf` for
converting to/from Climate and Forcast (CF) 1.8 grid mappings (pull #244)
* Added :meth:`~pyproj.crs.CRS.to_dict` (issue #226)
* Added :meth:`~pyproj.crs.CRS.to_authority` (pull #294)
* Added :attr:`~pyproj.crs.CRS.is_vertical` and :attr:`~pyproj.crs.CRS.is_engineering` (issue #316)
* Added :attr:`~pyproj.crs.CRS.target_crs` (pull #328)
* Provide option to "pretty print" WKT in :attr:`~pyproj.crs.CRS.to_wkt` (issue #258)
* Add support for Bound and Compound CRS for :attr:`~pyproj.crs.CRS.is_geographic`, :attr:`~pyproj.crs.CRS.is_projected` (issue #274)
* Add support for Bound CRS for :attr:`~pyproj.crs.CRS.is_geocentric` (issue #374)
* Add support for comparison with CRS a non-crs type supported by :meth:`~pyproj.crs.CRS.from_user_input` (issue #312)
* Added support for ITRF, compound EPSG, and urn projection strings in CRS (pull #289)
* Better handle Compound CRS (issue #265)
* Disallow creation of non-CRS object (eg pipeline) in CRS class (issue #267)
* Added check in :meth:`~pyproj.crs.CRS.to_epsg` for when `proj_list` is null (issue #257)
* Fix comparing classes of non-instance types (issue #310)
+ `pyroj.transformer` updates:
* Added `always_xy` option to Transformer so the transform method will
always accept as input and return as output coordinates using the
traditional GIS order, that is longitude, latitudecfor geographic
CRS and easting, northing for most projected CRS (issue #225)
* Provide `direction` option in :meth:`~pyproj.transformer.Transformer.transform` (issue #266)
* Add check for valid initialization of Transformer and ensure it is a transformer (issue #321)
* Added :meth:`~pyproj.transformer.Transformer.to_wkt` as well as attributes related to `PJ_PROJ_INFO` (pull #322)
* Undo deprecation of :meth:`~pyproj.transformer.Transformer.from_crs` (issue #275)
* Fix false positive errors raised in transformer (issue #249)
* Fix :class:`~pyproj.proj.Proj` initialization from DerivedGeographicCRS (issue #270)
* Add interface to get the projection/ellps/prime_meridian/units lists (issue #251)
* Docs/Build/Test fixes (pull #278, pull #245, pull #248, pull #247, issue #253, pull #252)
- Update to 2.1.3
* Added support for time transformations (issue #208)
* Fixed projection equivalence testing for transformations (pull #231).
* Switch to pytest for testing (pull #230)
* Various testing fixes (pull #223, #222, #221, #220)
* Convert PROJ error messages from bytes to strings (pull #219)
* Fix data dir path separator to be (;) for windows and (:) for linux (pull #234)
- Update to 2.1.2
* Updated to use the CRS definition for Proj instances in transforms (issue #207)
* Add option to skip tranformation operation if input and output projections are equivalent
and always skip if the input and output projections are exact (issue #128)
* Update setup.py method for checking PROJ version (pull #211)
* Add internal proj error log messages to exceptions (pull #215)
- Update to 2.1.1
* Restore behavior of 1.9.6 when illegal projection transformation requested
(return ``inf`` instead of raising an exception, issue #202). kwarg ``errcheck``
added to :func:`~pyproj.transformer.transform` and :func:`~pyproj.transformer.itransform`
(default ``False``). When ``errcheck=True`` an exception is raised.
- Update to 2.1.0
* Added :class:`~pyproj.transformer.Transformer` to make repetitive transformations more efficient (issue #187)
* Added fix for using local datumgrids with transform (issue #191)
* Added :meth:`~pyproj.transformer.Transformer.from_pipeline` to support pipeline transformations.
* Added fix for conversion between radians/degrees for transformations (issues #192 & #195)
- Update to 2.0.2
* add filter for boolean values in dict2string so "no_rot=True" works (issue #183).
* make sure .pxd files included in source tarball.
* add radians flag back in for transform/itransform (issue #185).
- Run unit tests
- Fix dependencies
OBS-URL: https://build.opensuse.org/request/show/709778
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=9
2019-07-17 17:35:06 +00:00
|
|
|
mv pyproj pyproj_temp
|
|
|
|
|
export PROJ_DIR=$(pkg-config --variable=libdir proj)
|
|
|
|
|
%{python_expand # Multiline
|
|
|
|
|
export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
|
|
|
|
$python -c "import pyproj; pyproj.Proj(init='epsg:4269')"
|
|
|
|
|
}
|
2021-02-10 06:36:50 +00:00
|
|
|
# Reset to remove wrong flavor path from loop above
|
|
|
|
|
export PYTHONPATH=""
|
2024-11-24 16:54:09 +00:00
|
|
|
%pytest_arch -rs -k "not (network)"
|
Accepting request 709778 from home:TheBlackCat:branches:Application:Geo
- Update to 2.2.0
* Minimum PROJ version is now 6.1.0
+ `pyproj.crs` updates:
* Updated CRS repr (issue #264)
* Add Datum, CoordinateSystem, CoordinateOperation clases (issue #262)
* Added :meth:`~pyproj.crs.CRS.to_cf` and :meth:`~pyproj.crs.CRS.from_cf` for
converting to/from Climate and Forcast (CF) 1.8 grid mappings (pull #244)
* Added :meth:`~pyproj.crs.CRS.to_dict` (issue #226)
* Added :meth:`~pyproj.crs.CRS.to_authority` (pull #294)
* Added :attr:`~pyproj.crs.CRS.is_vertical` and :attr:`~pyproj.crs.CRS.is_engineering` (issue #316)
* Added :attr:`~pyproj.crs.CRS.target_crs` (pull #328)
* Provide option to "pretty print" WKT in :attr:`~pyproj.crs.CRS.to_wkt` (issue #258)
* Add support for Bound and Compound CRS for :attr:`~pyproj.crs.CRS.is_geographic`, :attr:`~pyproj.crs.CRS.is_projected` (issue #274)
* Add support for Bound CRS for :attr:`~pyproj.crs.CRS.is_geocentric` (issue #374)
* Add support for comparison with CRS a non-crs type supported by :meth:`~pyproj.crs.CRS.from_user_input` (issue #312)
* Added support for ITRF, compound EPSG, and urn projection strings in CRS (pull #289)
* Better handle Compound CRS (issue #265)
* Disallow creation of non-CRS object (eg pipeline) in CRS class (issue #267)
* Added check in :meth:`~pyproj.crs.CRS.to_epsg` for when `proj_list` is null (issue #257)
* Fix comparing classes of non-instance types (issue #310)
+ `pyroj.transformer` updates:
* Added `always_xy` option to Transformer so the transform method will
always accept as input and return as output coordinates using the
traditional GIS order, that is longitude, latitudecfor geographic
CRS and easting, northing for most projected CRS (issue #225)
* Provide `direction` option in :meth:`~pyproj.transformer.Transformer.transform` (issue #266)
* Add check for valid initialization of Transformer and ensure it is a transformer (issue #321)
* Added :meth:`~pyproj.transformer.Transformer.to_wkt` as well as attributes related to `PJ_PROJ_INFO` (pull #322)
* Undo deprecation of :meth:`~pyproj.transformer.Transformer.from_crs` (issue #275)
* Fix false positive errors raised in transformer (issue #249)
* Fix :class:`~pyproj.proj.Proj` initialization from DerivedGeographicCRS (issue #270)
* Add interface to get the projection/ellps/prime_meridian/units lists (issue #251)
* Docs/Build/Test fixes (pull #278, pull #245, pull #248, pull #247, issue #253, pull #252)
- Update to 2.1.3
* Added support for time transformations (issue #208)
* Fixed projection equivalence testing for transformations (pull #231).
* Switch to pytest for testing (pull #230)
* Various testing fixes (pull #223, #222, #221, #220)
* Convert PROJ error messages from bytes to strings (pull #219)
* Fix data dir path separator to be (;) for windows and (:) for linux (pull #234)
- Update to 2.1.2
* Updated to use the CRS definition for Proj instances in transforms (issue #207)
* Add option to skip tranformation operation if input and output projections are equivalent
and always skip if the input and output projections are exact (issue #128)
* Update setup.py method for checking PROJ version (pull #211)
* Add internal proj error log messages to exceptions (pull #215)
- Update to 2.1.1
* Restore behavior of 1.9.6 when illegal projection transformation requested
(return ``inf`` instead of raising an exception, issue #202). kwarg ``errcheck``
added to :func:`~pyproj.transformer.transform` and :func:`~pyproj.transformer.itransform`
(default ``False``). When ``errcheck=True`` an exception is raised.
- Update to 2.1.0
* Added :class:`~pyproj.transformer.Transformer` to make repetitive transformations more efficient (issue #187)
* Added fix for using local datumgrids with transform (issue #191)
* Added :meth:`~pyproj.transformer.Transformer.from_pipeline` to support pipeline transformations.
* Added fix for conversion between radians/degrees for transformations (issues #192 & #195)
- Update to 2.0.2
* add filter for boolean values in dict2string so "no_rot=True" works (issue #183).
* make sure .pxd files included in source tarball.
* add radians flag back in for transform/itransform (issue #185).
- Run unit tests
- Fix dependencies
OBS-URL: https://build.opensuse.org/request/show/709778
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=9
2019-07-17 17:35:06 +00:00
|
|
|
mv pyproj_temp pyproj
|
2012-04-18 11:19:12 +00:00
|
|
|
|
2021-02-10 06:36:50 +00:00
|
|
|
%post
|
|
|
|
|
%python_install_alternative pyproj
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
%python_uninstall_alternative pyproj
|
|
|
|
|
|
2018-05-20 07:16:22 +00:00
|
|
|
%files %{python_files}
|
2021-01-22 10:09:55 +00:00
|
|
|
%python_alternative %{_bindir}/pyproj
|
2019-03-11 14:07:47 +00:00
|
|
|
%license LICENSE
|
Accepting request 709778 from home:TheBlackCat:branches:Application:Geo
- Update to 2.2.0
* Minimum PROJ version is now 6.1.0
+ `pyproj.crs` updates:
* Updated CRS repr (issue #264)
* Add Datum, CoordinateSystem, CoordinateOperation clases (issue #262)
* Added :meth:`~pyproj.crs.CRS.to_cf` and :meth:`~pyproj.crs.CRS.from_cf` for
converting to/from Climate and Forcast (CF) 1.8 grid mappings (pull #244)
* Added :meth:`~pyproj.crs.CRS.to_dict` (issue #226)
* Added :meth:`~pyproj.crs.CRS.to_authority` (pull #294)
* Added :attr:`~pyproj.crs.CRS.is_vertical` and :attr:`~pyproj.crs.CRS.is_engineering` (issue #316)
* Added :attr:`~pyproj.crs.CRS.target_crs` (pull #328)
* Provide option to "pretty print" WKT in :attr:`~pyproj.crs.CRS.to_wkt` (issue #258)
* Add support for Bound and Compound CRS for :attr:`~pyproj.crs.CRS.is_geographic`, :attr:`~pyproj.crs.CRS.is_projected` (issue #274)
* Add support for Bound CRS for :attr:`~pyproj.crs.CRS.is_geocentric` (issue #374)
* Add support for comparison with CRS a non-crs type supported by :meth:`~pyproj.crs.CRS.from_user_input` (issue #312)
* Added support for ITRF, compound EPSG, and urn projection strings in CRS (pull #289)
* Better handle Compound CRS (issue #265)
* Disallow creation of non-CRS object (eg pipeline) in CRS class (issue #267)
* Added check in :meth:`~pyproj.crs.CRS.to_epsg` for when `proj_list` is null (issue #257)
* Fix comparing classes of non-instance types (issue #310)
+ `pyroj.transformer` updates:
* Added `always_xy` option to Transformer so the transform method will
always accept as input and return as output coordinates using the
traditional GIS order, that is longitude, latitudecfor geographic
CRS and easting, northing for most projected CRS (issue #225)
* Provide `direction` option in :meth:`~pyproj.transformer.Transformer.transform` (issue #266)
* Add check for valid initialization of Transformer and ensure it is a transformer (issue #321)
* Added :meth:`~pyproj.transformer.Transformer.to_wkt` as well as attributes related to `PJ_PROJ_INFO` (pull #322)
* Undo deprecation of :meth:`~pyproj.transformer.Transformer.from_crs` (issue #275)
* Fix false positive errors raised in transformer (issue #249)
* Fix :class:`~pyproj.proj.Proj` initialization from DerivedGeographicCRS (issue #270)
* Add interface to get the projection/ellps/prime_meridian/units lists (issue #251)
* Docs/Build/Test fixes (pull #278, pull #245, pull #248, pull #247, issue #253, pull #252)
- Update to 2.1.3
* Added support for time transformations (issue #208)
* Fixed projection equivalence testing for transformations (pull #231).
* Switch to pytest for testing (pull #230)
* Various testing fixes (pull #223, #222, #221, #220)
* Convert PROJ error messages from bytes to strings (pull #219)
* Fix data dir path separator to be (;) for windows and (:) for linux (pull #234)
- Update to 2.1.2
* Updated to use the CRS definition for Proj instances in transforms (issue #207)
* Add option to skip tranformation operation if input and output projections are equivalent
and always skip if the input and output projections are exact (issue #128)
* Update setup.py method for checking PROJ version (pull #211)
* Add internal proj error log messages to exceptions (pull #215)
- Update to 2.1.1
* Restore behavior of 1.9.6 when illegal projection transformation requested
(return ``inf`` instead of raising an exception, issue #202). kwarg ``errcheck``
added to :func:`~pyproj.transformer.transform` and :func:`~pyproj.transformer.itransform`
(default ``False``). When ``errcheck=True`` an exception is raised.
- Update to 2.1.0
* Added :class:`~pyproj.transformer.Transformer` to make repetitive transformations more efficient (issue #187)
* Added fix for using local datumgrids with transform (issue #191)
* Added :meth:`~pyproj.transformer.Transformer.from_pipeline` to support pipeline transformations.
* Added fix for conversion between radians/degrees for transformations (issues #192 & #195)
- Update to 2.0.2
* add filter for boolean values in dict2string so "no_rot=True" works (issue #183).
* make sure .pxd files included in source tarball.
* add radians flag back in for transform/itransform (issue #185).
- Run unit tests
- Fix dependencies
OBS-URL: https://build.opensuse.org/request/show/709778
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=9
2019-07-17 17:35:06 +00:00
|
|
|
%doc README.md
|
2021-02-10 06:36:50 +00:00
|
|
|
%{python_sitearch}/pyproj
|
|
|
|
|
%{python_sitearch}/pyproj-%{version}*-info
|
2012-04-18 11:19:12 +00:00
|
|
|
|
|
|
|
|
%changelog
|