20
0

Accepting request 1032474 from home:bnavigator:branches:devel:languages:python:numeric

required by python-bokeh 3

OBS-URL: https://build.opensuse.org/request/show/1032474
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-xyzservices?expand=0&rev=1
This commit is contained in:
2022-11-01 08:29:51 +00:00
committed by Git OBS Bridge
commit 36b6fcface
5 changed files with 127 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Mon Oct 31 11:51:21 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Initial specfile for v2022.9.0
- Required by bokeh 3
+91
View File
@@ -0,0 +1,91 @@
#
# spec file for package python-xyzservices
#
# Copyright (c) 2022 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
Version: 2022.9.0
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.7}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: xyzservices-data = %{version}
# SECTION test
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module mercantile}
# /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
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -m "not request"
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/xyzservices
%{python_sitelib}/xyzservices-%{version}*-info
%files -n xyzservices-data
%license LICENSE
%{_datadir}/xyzservices
%changelog
+24
View File
@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
+4
View File
@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55651961708b9a14849978b339df76008c886df7a8326308a5549bae5516260c
size 50676