summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-clldutils.spec182
-rw-r--r--sources1
3 files changed, 184 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..acdcccc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/clldutils-3.19.0.tar.gz
diff --git a/python-clldutils.spec b/python-clldutils.spec
new file mode 100644
index 0000000..8a7417b
--- /dev/null
+++ b/python-clldutils.spec
@@ -0,0 +1,182 @@
+%global _empty_manifest_terminate_build 0
+Name: python-clldutils
+Version: 3.19.0
+Release: 1
+Summary: Utilities for programmatic data curation
+License: Apache 2.0
+URL: https://github.com/clld/clldutils
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a2/a3/1418933d8e1d47b85ec37effbb721a62c30b0274a9db357a15f08c6a7c0f/clldutils-3.19.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-dateutil
+Requires: python3-tabulate
+Requires: python3-colorlog
+Requires: python3-attrs
+Requires: python3-pylatexenc
+Requires: python3-markdown
+Requires: python3-lxml
+Requires: python3-markupsafe
+Requires: python3-importlib-metadata
+Requires: python3-flake8
+Requires: python3-wheel
+Requires: python3-build
+Requires: python3-twine
+Requires: python3-sphinx
+Requires: python3-sphinx-autodoc-typehints
+Requires: python3-sphinx-rtd-theme
+Requires: python3-pytest
+Requires: python3-pytest-mock
+Requires: python3-pytest-cov
+Requires: python3-tox
+
+%description
+# clldutils
+
+Utilities for programmatic data curation
+
+[![Build Status](https://github.com/clld/clldutils/workflows/tests/badge.svg)](https://github.com/clld/clldutils/actions?query=workflow%3Atests)
+[![Documentation Status](https://readthedocs.org/projects/clldutils/badge/?version=latest)](https://clldutils.readthedocs.io/en/latest/?badge=latest)
+[![PyPI](https://img.shields.io/pypi/v/clldutils.svg)](https://pypi.python.org/pypi/clldutils)
+
+
+## Install
+
+Install from PyPI running
+```shell
+pip install clldutils
+```
+
+## Overview
+
+Originally, `clldutils` started out as a library for functionality often used in [clld](https://github.com/clld/clld)
+web apps. Over time, it turned into a toolbox for various data curation tasks, with a focus on cross-linguistic
+data (as reflected by modules such as `clldutils.iso_639_3` or `clldutils.sfm`).
+
+Design goals are
+- wide applicability of the included functionality
+- small number of dependencies, thus wide installability
+
+
+## API
+
+Documentation of the package is at https://clldutils.readthedocs.io/en/latest/index.html
+
+
+%package -n python3-clldutils
+Summary: Utilities for programmatic data curation
+Provides: python-clldutils
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-clldutils
+# clldutils
+
+Utilities for programmatic data curation
+
+[![Build Status](https://github.com/clld/clldutils/workflows/tests/badge.svg)](https://github.com/clld/clldutils/actions?query=workflow%3Atests)
+[![Documentation Status](https://readthedocs.org/projects/clldutils/badge/?version=latest)](https://clldutils.readthedocs.io/en/latest/?badge=latest)
+[![PyPI](https://img.shields.io/pypi/v/clldutils.svg)](https://pypi.python.org/pypi/clldutils)
+
+
+## Install
+
+Install from PyPI running
+```shell
+pip install clldutils
+```
+
+## Overview
+
+Originally, `clldutils` started out as a library for functionality often used in [clld](https://github.com/clld/clld)
+web apps. Over time, it turned into a toolbox for various data curation tasks, with a focus on cross-linguistic
+data (as reflected by modules such as `clldutils.iso_639_3` or `clldutils.sfm`).
+
+Design goals are
+- wide applicability of the included functionality
+- small number of dependencies, thus wide installability
+
+
+## API
+
+Documentation of the package is at https://clldutils.readthedocs.io/en/latest/index.html
+
+
+%package help
+Summary: Development documents and examples for clldutils
+Provides: python3-clldutils-doc
+%description help
+# clldutils
+
+Utilities for programmatic data curation
+
+[![Build Status](https://github.com/clld/clldutils/workflows/tests/badge.svg)](https://github.com/clld/clldutils/actions?query=workflow%3Atests)
+[![Documentation Status](https://readthedocs.org/projects/clldutils/badge/?version=latest)](https://clldutils.readthedocs.io/en/latest/?badge=latest)
+[![PyPI](https://img.shields.io/pypi/v/clldutils.svg)](https://pypi.python.org/pypi/clldutils)
+
+
+## Install
+
+Install from PyPI running
+```shell
+pip install clldutils
+```
+
+## Overview
+
+Originally, `clldutils` started out as a library for functionality often used in [clld](https://github.com/clld/clld)
+web apps. Over time, it turned into a toolbox for various data curation tasks, with a focus on cross-linguistic
+data (as reflected by modules such as `clldutils.iso_639_3` or `clldutils.sfm`).
+
+Design goals are
+- wide applicability of the included functionality
+- small number of dependencies, thus wide installability
+
+
+## API
+
+Documentation of the package is at https://clldutils.readthedocs.io/en/latest/index.html
+
+
+%prep
+%autosetup -n clldutils-3.19.0
+
+%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-clldutils -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 3.19.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..06403a6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c6737cea2f210859999b3e81bb1a961b clldutils-3.19.0.tar.gz