Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37814867
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-mercantile

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname mercantile

Name: python3-module-%oname
Version: 1.2.1
Release: alt1

Summary: Spherical mercator and XYZ tile utilities

License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/mercantile/

# Source-url: %__pypi_url %oname

Source: %name-%version.tar

BuildArch: noarch

# due %_bindir tools

Obsoletes: python-module-%oname
Provides: python-module-%oname

BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-module-setuptools
#BuildPreReq: python3-module-click
BuildRequires: python3-module-pytest

%description
The mercantile module provides ul(xtile, ytile, zoom) and bounds(xtile,
ytile, zoom) functions that respectively return the upper left corner
and bounding longitudes and latitudes for XYZ tiles, a xy(lng, lat)
function that returns spherical mercator x and y coordinates, and a
tile(lng, lat, zoom) function that returns the tile containing a given
point.

%prep
%setup

%build
%python3_build_debug

%install
%python3_install
%python3_prune

%check
#py.test3 -vv

%files
%doc README.rst
%_bindir/%oname
%python3_sitelibdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin