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

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

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

%define _unpackaged_files_terminate_build 1
%define oname geojson

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

Summary: Python bindings and utilities for GeoJSON
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/geojson/
# https://github.com/frewsxcv/python-geojson.git
BuildArch: noarch

Source0: https://pypi.python.org/packages/56/2d/44abe5d3fda94b524e93a8e0f8c83d1e890a9e97e3791f40483a28ccb971/%{oname}-%{version}.tar.gz

Patch: d88e32f1b05ad287a8d612e6f61ed7432fc72957.patch

BuildRequires(pre): rpm-build-python3

%py3_provides %oname
%py3_requires json


%description
This library contains:

* Functions for encoding and decoding GeoJSON formatted data
* Classes for all GeoJSON Objects
* An implementation of the Python __geo_interface__ Specification

%package examples
Summary: Examples for %oname
Group: Development/Python3
Requires: %name = %EVR

%description examples
This library contains:

* Functions for encoding and decoding GeoJSON formatted data
* Classes for all GeoJSON Objects
* An implementation of the Python __geo_interface__ Specification

This package contains examples for %oname.

%prep
%setup -q -n %{oname}-%{version}
%patch -p1

%build
%python3_build_debug

%install
%python3_install

%check
%__python3 setup.py test

%files
%doc *.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/examples.*
%exclude %python3_sitelibdir/*/*/examples.*

%files examples
%python3_sitelibdir/*/examples.*
%python3_sitelibdir/*/*/examples.*


%changelog

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

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