17
0
Files
python-xyzservices/python-xyzservices.spec

95 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package python-xyzservices
#
Accepting request 1130261 from home:dirkmueller:Factory - update to 2023.10.1: * ``Stamen`` tiles have been removed due to their upstream deprecation. * Use ``Stamen`` styles of ``Stadia`` provider instead. * ``JusticeMap`` tiles are temporarily marked as broken. * ``Stamen`` tiles are now available under ``Stadia`` provider. * Providers: * Added ``GeoportailFrance`` ``Orthoimagery_Orthophotos_Irc_express_2023`` and * ``Orthoimagery_Orthophotos_Ortho_express_2023`` layers * Updated domain for ``OpenStreetMap.DE`` ``GeoportailFrance.Orthoimagery_Orthophotos_1980_1995`` as possibly broken * Added ``OrdnanceSurvey`` layers * xyzservices 2023.2.0 (February 19, 2023) * Updated available layers of ``GeoportailFrance`` * Use ``pkgutil`` instead of ``importlib`` to fetch the JSON if the default in ``share`` * is not available. Fixes this fallback for Python 3.8. * Added ``GeoportailFrance`` tile layers (#126) * Better cleaning of names in ``query_name`` method * Added a gallery of included tiles to the documentation (#114) * xyzservices 2022.06.0 (June 21, 2022) * Added ``NASAGIBS.ASTER_GDEM_Greyscale_Shaded_Relief`` * Added ``Esri.ArcticImagery`` (EPSG:5936) and ``Esri.AntarcticImagery`` (EPSG:3031) * Update ``OpenStreetMap.DE`` URL * Remove broken Hydda tiles * Added ``Esri`` ``ArcticOceanBase``, ``ArcticOceanReference`` and ``AntarcticBasemap`` OBS-URL: https://build.opensuse.org/request/show/1130261 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-xyzservices?expand=0&rev=3
2023-12-01 15:01:44 +00:00
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: python-xyzservices
Accepting request 1130261 from home:dirkmueller:Factory - update to 2023.10.1: * ``Stamen`` tiles have been removed due to their upstream deprecation. * Use ``Stamen`` styles of ``Stadia`` provider instead. * ``JusticeMap`` tiles are temporarily marked as broken. * ``Stamen`` tiles are now available under ``Stadia`` provider. * Providers: * Added ``GeoportailFrance`` ``Orthoimagery_Orthophotos_Irc_express_2023`` and * ``Orthoimagery_Orthophotos_Ortho_express_2023`` layers * Updated domain for ``OpenStreetMap.DE`` ``GeoportailFrance.Orthoimagery_Orthophotos_1980_1995`` as possibly broken * Added ``OrdnanceSurvey`` layers * xyzservices 2023.2.0 (February 19, 2023) * Updated available layers of ``GeoportailFrance`` * Use ``pkgutil`` instead of ``importlib`` to fetch the JSON if the default in ``share`` * is not available. Fixes this fallback for Python 3.8. * Added ``GeoportailFrance`` tile layers (#126) * Better cleaning of names in ``query_name`` method * Added a gallery of included tiles to the documentation (#114) * xyzservices 2022.06.0 (June 21, 2022) * Added ``NASAGIBS.ASTER_GDEM_Greyscale_Shaded_Relief`` * Added ``Esri.ArcticImagery`` (EPSG:5936) and ``Esri.AntarcticImagery`` (EPSG:3031) * Update ``OpenStreetMap.DE`` URL * Remove broken Hydda tiles * Added ``Esri`` ``ArcticOceanBase``, ``ArcticOceanReference`` and ``AntarcticBasemap`` OBS-URL: https://build.opensuse.org/request/show/1130261 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-xyzservices?expand=0&rev=3
2023-12-01 15:01:44 +00:00
Version: 2023.10.1
Release: 0
Summary: Source of XYZ tiles providers
License: BSD-3-Clause
URL: https://xyzservices.readthedocs.io/
#Repo-URL: https://github.com/geopandas/xyzservices
Source: https://files.pythonhosted.org/packages/source/x/xyzservices/xyzservices-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
Accepting request 1130261 from home:dirkmueller:Factory - update to 2023.10.1: * ``Stamen`` tiles have been removed due to their upstream deprecation. * Use ``Stamen`` styles of ``Stadia`` provider instead. * ``JusticeMap`` tiles are temporarily marked as broken. * ``Stamen`` tiles are now available under ``Stadia`` provider. * Providers: * Added ``GeoportailFrance`` ``Orthoimagery_Orthophotos_Irc_express_2023`` and * ``Orthoimagery_Orthophotos_Ortho_express_2023`` layers * Updated domain for ``OpenStreetMap.DE`` ``GeoportailFrance.Orthoimagery_Orthophotos_1980_1995`` as possibly broken * Added ``OrdnanceSurvey`` layers * xyzservices 2023.2.0 (February 19, 2023) * Updated available layers of ``GeoportailFrance`` * Use ``pkgutil`` instead of ``importlib`` to fetch the JSON if the default in ``share`` * is not available. Fixes this fallback for Python 3.8. * Added ``GeoportailFrance`` tile layers (#126) * Better cleaning of names in ``query_name`` method * Added a gallery of included tiles to the documentation (#114) * xyzservices 2022.06.0 (June 21, 2022) * Added ``NASAGIBS.ASTER_GDEM_Greyscale_Shaded_Relief`` * Added ``Esri.ArcticImagery`` (EPSG:5936) and ``Esri.AntarcticImagery`` (EPSG:3031) * Update ``OpenStreetMap.DE`` URL * Remove broken Hydda tiles * Added ``Esri`` ``ArcticOceanBase``, ``ArcticOceanReference`` and ``AntarcticBasemap`` OBS-URL: https://build.opensuse.org/request/show/1130261 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-xyzservices?expand=0&rev=3
2023-12-01 15:01:44 +00:00
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
Accepting request 1130261 from home:dirkmueller:Factory - update to 2023.10.1: * ``Stamen`` tiles have been removed due to their upstream deprecation. * Use ``Stamen`` styles of ``Stadia`` provider instead. * ``JusticeMap`` tiles are temporarily marked as broken. * ``Stamen`` tiles are now available under ``Stadia`` provider. * Providers: * Added ``GeoportailFrance`` ``Orthoimagery_Orthophotos_Irc_express_2023`` and * ``Orthoimagery_Orthophotos_Ortho_express_2023`` layers * Updated domain for ``OpenStreetMap.DE`` ``GeoportailFrance.Orthoimagery_Orthophotos_1980_1995`` as possibly broken * Added ``OrdnanceSurvey`` layers * xyzservices 2023.2.0 (February 19, 2023) * Updated available layers of ``GeoportailFrance`` * Use ``pkgutil`` instead of ``importlib`` to fetch the JSON if the default in ``share`` * is not available. Fixes this fallback for Python 3.8. * Added ``GeoportailFrance`` tile layers (#126) * Better cleaning of names in ``query_name`` method * Added a gallery of included tiles to the documentation (#114) * xyzservices 2022.06.0 (June 21, 2022) * Added ``NASAGIBS.ASTER_GDEM_Greyscale_Shaded_Relief`` * Added ``Esri.ArcticImagery`` (EPSG:5936) and ``Esri.AntarcticImagery`` (EPSG:3031) * Update ``OpenStreetMap.DE`` URL * Remove broken Hydda tiles * Added ``Esri`` ``ArcticOceanBase``, ``ArcticOceanReference`` and ``AntarcticBasemap`` OBS-URL: https://build.opensuse.org/request/show/1130261 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-xyzservices?expand=0&rev=3
2023-12-01 15:01:44 +00:00
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: xyzservices-data = %{version}
# SECTION test
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module mercantile}
Accepting request 1130261 from home:dirkmueller:Factory - update to 2023.10.1: * ``Stamen`` tiles have been removed due to their upstream deprecation. * Use ``Stamen`` styles of ``Stadia`` provider instead. * ``JusticeMap`` tiles are temporarily marked as broken. * ``Stamen`` tiles are now available under ``Stadia`` provider. * Providers: * Added ``GeoportailFrance`` ``Orthoimagery_Orthophotos_Irc_express_2023`` and * ``Orthoimagery_Orthophotos_Ortho_express_2023`` layers * Updated domain for ``OpenStreetMap.DE`` ``GeoportailFrance.Orthoimagery_Orthophotos_1980_1995`` as possibly broken * Added ``OrdnanceSurvey`` layers * xyzservices 2023.2.0 (February 19, 2023) * Updated available layers of ``GeoportailFrance`` * Use ``pkgutil`` instead of ``importlib`` to fetch the JSON if the default in ``share`` * is not available. Fixes this fallback for Python 3.8. * Added ``GeoportailFrance`` tile layers (#126) * Better cleaning of names in ``query_name`` method * Added a gallery of included tiles to the documentation (#114) * xyzservices 2022.06.0 (June 21, 2022) * Added ``NASAGIBS.ASTER_GDEM_Greyscale_Shaded_Relief`` * Added ``Esri.ArcticImagery`` (EPSG:5936) and ``Esri.AntarcticImagery`` (EPSG:3031) * Update ``OpenStreetMap.DE`` URL * Remove broken Hydda tiles * Added ``Esri`` ``ArcticOceanBase``, ``ArcticOceanReference`` and ``AntarcticBasemap`` OBS-URL: https://build.opensuse.org/request/show/1130261 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-xyzservices?expand=0&rev=3
2023-12-01 15:01:44 +00:00
BuildRequires: %{python_module requests}
# /SECTION
BuildArch: noarch
%python_subpackages
%description
xyzservices is a lightweight library providing a repository
of available XYZ services offering raster basemap tiles.
The repository is provided via Python API and as a compressed
JSON file.
XYZ tiles can be used as background for your maps to provide
necessary spatial context. xyzservices offer specifications
of many tile services and provide an easy-to-use tools to
plug them into your work, no matter if interactive or static.
%package -n xyzservices-data
Summary: Source of XYZ tiles providers - common data package
%description -n xyzservices-data
xyzservices is a lightweight library providing a repository
of available XYZ services offering raster basemap tiles.
The repository is provided via Python API and as a compressed
JSON file.
XYZ tiles can be used as background for your maps to provide
necessary spatial context. xyzservices offer specifications
of many tile services and provide an easy-to-use tools to
plug them into your work, no matter if interactive or static.
This package provides the common compressed JSON file for the
pythonXY-xyzservices packages.
%prep
%setup -q -n xyzservices-%{version}
%build
Accepting request 1130261 from home:dirkmueller:Factory - update to 2023.10.1: * ``Stamen`` tiles have been removed due to their upstream deprecation. * Use ``Stamen`` styles of ``Stadia`` provider instead. * ``JusticeMap`` tiles are temporarily marked as broken. * ``Stamen`` tiles are now available under ``Stadia`` provider. * Providers: * Added ``GeoportailFrance`` ``Orthoimagery_Orthophotos_Irc_express_2023`` and * ``Orthoimagery_Orthophotos_Ortho_express_2023`` layers * Updated domain for ``OpenStreetMap.DE`` ``GeoportailFrance.Orthoimagery_Orthophotos_1980_1995`` as possibly broken * Added ``OrdnanceSurvey`` layers * xyzservices 2023.2.0 (February 19, 2023) * Updated available layers of ``GeoportailFrance`` * Use ``pkgutil`` instead of ``importlib`` to fetch the JSON if the default in ``share`` * is not available. Fixes this fallback for Python 3.8. * Added ``GeoportailFrance`` tile layers (#126) * Better cleaning of names in ``query_name`` method * Added a gallery of included tiles to the documentation (#114) * xyzservices 2022.06.0 (June 21, 2022) * Added ``NASAGIBS.ASTER_GDEM_Greyscale_Shaded_Relief`` * Added ``Esri.ArcticImagery`` (EPSG:5936) and ``Esri.AntarcticImagery`` (EPSG:3031) * Update ``OpenStreetMap.DE`` URL * Remove broken Hydda tiles * Added ``Esri`` ``ArcticOceanBase``, ``ArcticOceanReference`` and ``AntarcticBasemap`` OBS-URL: https://build.opensuse.org/request/show/1130261 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-xyzservices?expand=0&rev=3
2023-12-01 15:01:44 +00:00
%pyproject_wheel
%install
Accepting request 1130261 from home:dirkmueller:Factory - update to 2023.10.1: * ``Stamen`` tiles have been removed due to their upstream deprecation. * Use ``Stamen`` styles of ``Stadia`` provider instead. * ``JusticeMap`` tiles are temporarily marked as broken. * ``Stamen`` tiles are now available under ``Stadia`` provider. * Providers: * Added ``GeoportailFrance`` ``Orthoimagery_Orthophotos_Irc_express_2023`` and * ``Orthoimagery_Orthophotos_Ortho_express_2023`` layers * Updated domain for ``OpenStreetMap.DE`` ``GeoportailFrance.Orthoimagery_Orthophotos_1980_1995`` as possibly broken * Added ``OrdnanceSurvey`` layers * xyzservices 2023.2.0 (February 19, 2023) * Updated available layers of ``GeoportailFrance`` * Use ``pkgutil`` instead of ``importlib`` to fetch the JSON if the default in ``share`` * is not available. Fixes this fallback for Python 3.8. * Added ``GeoportailFrance`` tile layers (#126) * Better cleaning of names in ``query_name`` method * Added a gallery of included tiles to the documentation (#114) * xyzservices 2022.06.0 (June 21, 2022) * Added ``NASAGIBS.ASTER_GDEM_Greyscale_Shaded_Relief`` * Added ``Esri.ArcticImagery`` (EPSG:5936) and ``Esri.AntarcticImagery`` (EPSG:3031) * Update ``OpenStreetMap.DE`` URL * Remove broken Hydda tiles * Added ``Esri`` ``ArcticOceanBase``, ``ArcticOceanReference`` and ``AntarcticBasemap`` OBS-URL: https://build.opensuse.org/request/show/1130261 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-xyzservices?expand=0&rev=3
2023-12-01 15:01:44 +00:00
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -m "not request"
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/xyzservices
Accepting request 1130261 from home:dirkmueller:Factory - update to 2023.10.1: * ``Stamen`` tiles have been removed due to their upstream deprecation. * Use ``Stamen`` styles of ``Stadia`` provider instead. * ``JusticeMap`` tiles are temporarily marked as broken. * ``Stamen`` tiles are now available under ``Stadia`` provider. * Providers: * Added ``GeoportailFrance`` ``Orthoimagery_Orthophotos_Irc_express_2023`` and * ``Orthoimagery_Orthophotos_Ortho_express_2023`` layers * Updated domain for ``OpenStreetMap.DE`` ``GeoportailFrance.Orthoimagery_Orthophotos_1980_1995`` as possibly broken * Added ``OrdnanceSurvey`` layers * xyzservices 2023.2.0 (February 19, 2023) * Updated available layers of ``GeoportailFrance`` * Use ``pkgutil`` instead of ``importlib`` to fetch the JSON if the default in ``share`` * is not available. Fixes this fallback for Python 3.8. * Added ``GeoportailFrance`` tile layers (#126) * Better cleaning of names in ``query_name`` method * Added a gallery of included tiles to the documentation (#114) * xyzservices 2022.06.0 (June 21, 2022) * Added ``NASAGIBS.ASTER_GDEM_Greyscale_Shaded_Relief`` * Added ``Esri.ArcticImagery`` (EPSG:5936) and ``Esri.AntarcticImagery`` (EPSG:3031) * Update ``OpenStreetMap.DE`` URL * Remove broken Hydda tiles * Added ``Esri`` ``ArcticOceanBase``, ``ArcticOceanReference`` and ``AntarcticBasemap`` OBS-URL: https://build.opensuse.org/request/show/1130261 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-xyzservices?expand=0&rev=3
2023-12-01 15:01:44 +00:00
%{python_sitelib}/xyzservices-%{version}.dist-info
%files -n xyzservices-data
%license LICENSE
%{_datadir}/xyzservices
%changelog