From 253dc5ec46f46b911cc01a06515bd82c6d8420f2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 17 May 2023 04:38:26 +0000 Subject: automatic import of python-turfpy --- python-turfpy.spec | 255 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 python-turfpy.spec (limited to 'python-turfpy.spec') diff --git a/python-turfpy.spec b/python-turfpy.spec new file mode 100644 index 0000000..e6fe096 --- /dev/null +++ b/python-turfpy.spec @@ -0,0 +1,255 @@ +%global _empty_manifest_terminate_build 0 +Name: python-turfpy +Version: 0.0.7 +Release: 1 +Summary: A Python library for performing geospatial data analysis which reimplements turf.js. +License: MIT +URL: https://pypi.org/project/turfpy/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/ef/30a4d7affda418275a00601a59da69ebf1575d8ccc0ae00f7943e36fb472/turfpy-0.0.7.tar.gz +BuildArch: noarch + + +%description +# Turfpy +[![Build Status](https://travis-ci.com/omanges/turfpy.svg?branch=master)](https://travis-ci.com/omanges/turfpy) +[![PyPI](https://img.shields.io/pypi/v/turfpy)](https://pypi.org/project/turfpy/) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/turfpy)](https://pypi.org/project/turfpy/) +[![PyPI - Status](https://img.shields.io/pypi/status/turfpy)](https://pypi.org/project/turfpy/) +[![PyPI - License](https://img.shields.io/pypi/l/turfpy)](https://pypi.org/project/turfpy/) +[![Total alerts](https://img.shields.io/lgtm/alerts/g/omanges/turfpy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/omanges/turfpy/alerts/) +[![code quality: python](https://img.shields.io/lgtm/grade/python/g/omanges/turfpy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/omanges/turfpy/context:python) +[![Downloads](https://pepy.tech/badge/turfpy/month)](https://pepy.tech/project/turfpy/month) +[![Conda (channel only)](https://img.shields.io/conda/vn/conda-forge/turfpy)](https://anaconda.org/conda-forge/turfpy) +[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/turfpy)](https://anaconda.org/conda-forge/turfpy) +[![Join the Gitter Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/turfpy/turfpy-user-group?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Documentation Status](https://readthedocs.org/projects/turfpy/badge/?version=latest)](https://turfpy.readthedocs.io/en/latest/?badge=latest) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![commits since](https://img.shields.io/github/commits-since/omanges/turfpy/latest.svg)](https://github.com/omanges/turfpy/commits/master) +[![GitHub contributors](https://img.shields.io/github/contributors/omanges/turfpy)](https://github.com/omanges/turfpy/graphs/contributors) + +Demo: + +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/omanges/turfpy/master?urlpath=lab/tree/examples) + + +A Python library for performing geospatial data analysis which reimplements turf.js. + +## Installation + +You can install the Turfpy from [PyPI](https://pypi.org/project/turfpy/): + + pip install turfpy + +If you prefer to use [conda](https://anaconda.org/conda-forge/turfpy): + + conda install -c conda-forge turfpy + +## Test Suite + +You can run the test suite locally: + +```bash +pip install -r dev_requirements.txt +pytest -s -v --cov=turfpy tests +``` + +## Features +It supports below features: + +- [Measurements](https://github.com/omanges/turfpy/blob/master/measurements.md) + +- [Transformations](https://github.com/omanges/turfpy/blob/master/transformation.md) + +- [Misc](https://github.com/omanges/turfpy/blob/master/misc.md) + +- [Random](https://github.com/omanges/turfpy/blob/master/random.md) + +## Documentation + +Documentation can be found at: [docs](https://turfpy.readthedocs.io/en/latest/) + + + + + + +%package -n python3-turfpy +Summary: A Python library for performing geospatial data analysis which reimplements turf.js. +Provides: python-turfpy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-turfpy +# Turfpy +[![Build Status](https://travis-ci.com/omanges/turfpy.svg?branch=master)](https://travis-ci.com/omanges/turfpy) +[![PyPI](https://img.shields.io/pypi/v/turfpy)](https://pypi.org/project/turfpy/) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/turfpy)](https://pypi.org/project/turfpy/) +[![PyPI - Status](https://img.shields.io/pypi/status/turfpy)](https://pypi.org/project/turfpy/) +[![PyPI - License](https://img.shields.io/pypi/l/turfpy)](https://pypi.org/project/turfpy/) +[![Total alerts](https://img.shields.io/lgtm/alerts/g/omanges/turfpy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/omanges/turfpy/alerts/) +[![code quality: python](https://img.shields.io/lgtm/grade/python/g/omanges/turfpy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/omanges/turfpy/context:python) +[![Downloads](https://pepy.tech/badge/turfpy/month)](https://pepy.tech/project/turfpy/month) +[![Conda (channel only)](https://img.shields.io/conda/vn/conda-forge/turfpy)](https://anaconda.org/conda-forge/turfpy) +[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/turfpy)](https://anaconda.org/conda-forge/turfpy) +[![Join the Gitter Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/turfpy/turfpy-user-group?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Documentation Status](https://readthedocs.org/projects/turfpy/badge/?version=latest)](https://turfpy.readthedocs.io/en/latest/?badge=latest) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![commits since](https://img.shields.io/github/commits-since/omanges/turfpy/latest.svg)](https://github.com/omanges/turfpy/commits/master) +[![GitHub contributors](https://img.shields.io/github/contributors/omanges/turfpy)](https://github.com/omanges/turfpy/graphs/contributors) + +Demo: + +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/omanges/turfpy/master?urlpath=lab/tree/examples) + + +A Python library for performing geospatial data analysis which reimplements turf.js. + +## Installation + +You can install the Turfpy from [PyPI](https://pypi.org/project/turfpy/): + + pip install turfpy + +If you prefer to use [conda](https://anaconda.org/conda-forge/turfpy): + + conda install -c conda-forge turfpy + +## Test Suite + +You can run the test suite locally: + +```bash +pip install -r dev_requirements.txt +pytest -s -v --cov=turfpy tests +``` + +## Features +It supports below features: + +- [Measurements](https://github.com/omanges/turfpy/blob/master/measurements.md) + +- [Transformations](https://github.com/omanges/turfpy/blob/master/transformation.md) + +- [Misc](https://github.com/omanges/turfpy/blob/master/misc.md) + +- [Random](https://github.com/omanges/turfpy/blob/master/random.md) + +## Documentation + +Documentation can be found at: [docs](https://turfpy.readthedocs.io/en/latest/) + + + + + + +%package help +Summary: Development documents and examples for turfpy +Provides: python3-turfpy-doc +%description help +# Turfpy +[![Build Status](https://travis-ci.com/omanges/turfpy.svg?branch=master)](https://travis-ci.com/omanges/turfpy) +[![PyPI](https://img.shields.io/pypi/v/turfpy)](https://pypi.org/project/turfpy/) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/turfpy)](https://pypi.org/project/turfpy/) +[![PyPI - Status](https://img.shields.io/pypi/status/turfpy)](https://pypi.org/project/turfpy/) +[![PyPI - License](https://img.shields.io/pypi/l/turfpy)](https://pypi.org/project/turfpy/) +[![Total alerts](https://img.shields.io/lgtm/alerts/g/omanges/turfpy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/omanges/turfpy/alerts/) +[![code quality: python](https://img.shields.io/lgtm/grade/python/g/omanges/turfpy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/omanges/turfpy/context:python) +[![Downloads](https://pepy.tech/badge/turfpy/month)](https://pepy.tech/project/turfpy/month) +[![Conda (channel only)](https://img.shields.io/conda/vn/conda-forge/turfpy)](https://anaconda.org/conda-forge/turfpy) +[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/turfpy)](https://anaconda.org/conda-forge/turfpy) +[![Join the Gitter Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/turfpy/turfpy-user-group?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Documentation Status](https://readthedocs.org/projects/turfpy/badge/?version=latest)](https://turfpy.readthedocs.io/en/latest/?badge=latest) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![commits since](https://img.shields.io/github/commits-since/omanges/turfpy/latest.svg)](https://github.com/omanges/turfpy/commits/master) +[![GitHub contributors](https://img.shields.io/github/contributors/omanges/turfpy)](https://github.com/omanges/turfpy/graphs/contributors) + +Demo: + +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/omanges/turfpy/master?urlpath=lab/tree/examples) + + +A Python library for performing geospatial data analysis which reimplements turf.js. + +## Installation + +You can install the Turfpy from [PyPI](https://pypi.org/project/turfpy/): + + pip install turfpy + +If you prefer to use [conda](https://anaconda.org/conda-forge/turfpy): + + conda install -c conda-forge turfpy + +## Test Suite + +You can run the test suite locally: + +```bash +pip install -r dev_requirements.txt +pytest -s -v --cov=turfpy tests +``` + +## Features +It supports below features: + +- [Measurements](https://github.com/omanges/turfpy/blob/master/measurements.md) + +- [Transformations](https://github.com/omanges/turfpy/blob/master/transformation.md) + +- [Misc](https://github.com/omanges/turfpy/blob/master/misc.md) + +- [Random](https://github.com/omanges/turfpy/blob/master/random.md) + +## Documentation + +Documentation can be found at: [docs](https://turfpy.readthedocs.io/en/latest/) + + + + + + +%prep +%autosetup -n turfpy-0.0.7 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-turfpy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot - 0.0.7-1 +- Package Spec generated -- cgit v1.2.3