summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 07:13:03 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 07:13:03 +0000
commit1fc93d0ae337a7f5ceaadfbc0d5948539e36f7e9 (patch)
tree984cd9db8abb1aadde7cac7591e48f1ed6a58258
parent8b844dd9b40547c47dfe66eb494724cc92e570bf (diff)
automatic import of python-openpechaopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-openpecha.spec298
-rw-r--r--sources1
3 files changed, 300 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f2ba333 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/openpecha-0.11.4.tar.gz
diff --git a/python-openpecha.spec b/python-openpecha.spec
new file mode 100644
index 0000000..cfc88b8
--- /dev/null
+++ b/python-openpecha.spec
@@ -0,0 +1,298 @@
+%global _empty_manifest_terminate_build 0
+Name: python-openpecha
+Version: 0.11.4
+Release: 1
+Summary: OpenPecha Toolkit allows state of the art for distributed standoff annotations on moving texts
+License: Apache2
+URL: https://github.com/OpenPoti/openpecha-toolkit
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/98/5f/f6de21f7577ee33e824e5bfe67f08e313a00931ad3f546f7bc501664b3e9/openpecha-0.11.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-botok
+Requires: python3-boto3
+Requires: python3-Click
+Requires: python3-diff-match-patch
+Requires: python3-polib
+Requires: python3-PyYAML
+Requires: python3-requests
+Requires: python3-antx
+Requires: python3-tqdm
+Requires: python3-PyGithub
+Requires: python3-GitPython
+Requires: python3-bs4
+Requires: python3-pyewts
+Requires: python3-rdflib
+Requires: python3-pydantic
+Requires: python3-docx
+Requires: python3-fonttools[unicode]
+Requires: python3-transifex-python
+Requires: python3-slugify[unidecode]
+
+%description
+<h1 align="center">
+ <br>
+ <a href="https://openpecha.org"><img src="https://avatars.githubusercontent.com/u/82142807?s=400&u=19e108a15566f3a1449bafb03b8dd706a72aebcd&v=4" alt="OpenPecha" width="150"></a>
+ <br>
+</h1>
+
+<h3 align="center">OpenPecha Toolkit</h3>
+
+<!-- Replace the title of the repository -->
+
+<p align="center">
+ <a href="#description">Description</a> •
+ <a href="#owner">Owner</a> •
+ <a href="#floppy_disk-install">Install</a> •
+ <a href="#docs">Docs</a>
+</p>
+<hr>
+
+## Description
+
+[![PyPI version](https://badge.fury.io/py/openpecha.svg)](https://badge.fury.io/py/openpecha)
+[![Test](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test.yml/badge.svg)](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test.yml)
+[![Test Coverage](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test-coverage.yaml)
+[![Publish](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/publish.yaml/badge.svg)](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/publish.yaml)
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+
+OpenPecha Toolkit allows state of the art solution for distributed standoff annotations on moving texts, in which Base layer can be edited without affecting annotations. This is made possible by our OpenPecha Native Format called `opf` (OpenPecha Format) and our collection of `importers` which can parse existing text into `opf` and `exporters` which can export `opf` text into any format (`.epub`, `.docx`, `.pdf`, etc)
+
+<!-- This section provides a high-level overview for the repo -->
+
+## Owner
+
+- [@10zinten](https://github.com/10zinten)
+
+<!-- This section lists the owners of the repo -->
+
+
+## :floppy_disk: Install
+Stable version:
+
+#### `pip install openpecha`
+
+Daily development version:
+
+#### `pip install git+https://github.com/OpenPecha/Openpecha-Toolkit`
+
+
+<!-- This section must list as bulleted list how this repo depends or is integrated with other repos -->
+
+## Docs
+
+- Documentation: [docs](https://openpecha.org)
+- If you have any problems with `openpecha-toolkit`, please open [issues](https://github.com/OpenPecha-dev/openpecha-toolkit/issues/new/choose)
+
+## Developer Installation.
+```bash
+git clone https://github.com/OpenPecha-dev/openpecha-toolkit.git
+cd openpecha-toolkit
+pip install -r requirements-dev.txt
+pip install -e .
+pre-commit install
+```
+
+## Testing
+```bash
+PYTHONPATH=.:$PYTHONPATH pytest tests
+```
+<!-- This section must link to the docs which are in the root of the repository in /docs -->
+
+
+
+%package -n python3-openpecha
+Summary: OpenPecha Toolkit allows state of the art for distributed standoff annotations on moving texts
+Provides: python-openpecha
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-openpecha
+<h1 align="center">
+ <br>
+ <a href="https://openpecha.org"><img src="https://avatars.githubusercontent.com/u/82142807?s=400&u=19e108a15566f3a1449bafb03b8dd706a72aebcd&v=4" alt="OpenPecha" width="150"></a>
+ <br>
+</h1>
+
+<h3 align="center">OpenPecha Toolkit</h3>
+
+<!-- Replace the title of the repository -->
+
+<p align="center">
+ <a href="#description">Description</a> •
+ <a href="#owner">Owner</a> •
+ <a href="#floppy_disk-install">Install</a> •
+ <a href="#docs">Docs</a>
+</p>
+<hr>
+
+## Description
+
+[![PyPI version](https://badge.fury.io/py/openpecha.svg)](https://badge.fury.io/py/openpecha)
+[![Test](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test.yml/badge.svg)](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test.yml)
+[![Test Coverage](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test-coverage.yaml)
+[![Publish](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/publish.yaml/badge.svg)](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/publish.yaml)
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+
+OpenPecha Toolkit allows state of the art solution for distributed standoff annotations on moving texts, in which Base layer can be edited without affecting annotations. This is made possible by our OpenPecha Native Format called `opf` (OpenPecha Format) and our collection of `importers` which can parse existing text into `opf` and `exporters` which can export `opf` text into any format (`.epub`, `.docx`, `.pdf`, etc)
+
+<!-- This section provides a high-level overview for the repo -->
+
+## Owner
+
+- [@10zinten](https://github.com/10zinten)
+
+<!-- This section lists the owners of the repo -->
+
+
+## :floppy_disk: Install
+Stable version:
+
+#### `pip install openpecha`
+
+Daily development version:
+
+#### `pip install git+https://github.com/OpenPecha/Openpecha-Toolkit`
+
+
+<!-- This section must list as bulleted list how this repo depends or is integrated with other repos -->
+
+## Docs
+
+- Documentation: [docs](https://openpecha.org)
+- If you have any problems with `openpecha-toolkit`, please open [issues](https://github.com/OpenPecha-dev/openpecha-toolkit/issues/new/choose)
+
+## Developer Installation.
+```bash
+git clone https://github.com/OpenPecha-dev/openpecha-toolkit.git
+cd openpecha-toolkit
+pip install -r requirements-dev.txt
+pip install -e .
+pre-commit install
+```
+
+## Testing
+```bash
+PYTHONPATH=.:$PYTHONPATH pytest tests
+```
+<!-- This section must link to the docs which are in the root of the repository in /docs -->
+
+
+
+%package help
+Summary: Development documents and examples for openpecha
+Provides: python3-openpecha-doc
+%description help
+<h1 align="center">
+ <br>
+ <a href="https://openpecha.org"><img src="https://avatars.githubusercontent.com/u/82142807?s=400&u=19e108a15566f3a1449bafb03b8dd706a72aebcd&v=4" alt="OpenPecha" width="150"></a>
+ <br>
+</h1>
+
+<h3 align="center">OpenPecha Toolkit</h3>
+
+<!-- Replace the title of the repository -->
+
+<p align="center">
+ <a href="#description">Description</a> •
+ <a href="#owner">Owner</a> •
+ <a href="#floppy_disk-install">Install</a> •
+ <a href="#docs">Docs</a>
+</p>
+<hr>
+
+## Description
+
+[![PyPI version](https://badge.fury.io/py/openpecha.svg)](https://badge.fury.io/py/openpecha)
+[![Test](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test.yml/badge.svg)](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test.yml)
+[![Test Coverage](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/test-coverage.yaml)
+[![Publish](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/publish.yaml/badge.svg)](https://github.com/OpenPecha-dev/openpecha-toolkit/actions/workflows/publish.yaml)
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+
+OpenPecha Toolkit allows state of the art solution for distributed standoff annotations on moving texts, in which Base layer can be edited without affecting annotations. This is made possible by our OpenPecha Native Format called `opf` (OpenPecha Format) and our collection of `importers` which can parse existing text into `opf` and `exporters` which can export `opf` text into any format (`.epub`, `.docx`, `.pdf`, etc)
+
+<!-- This section provides a high-level overview for the repo -->
+
+## Owner
+
+- [@10zinten](https://github.com/10zinten)
+
+<!-- This section lists the owners of the repo -->
+
+
+## :floppy_disk: Install
+Stable version:
+
+#### `pip install openpecha`
+
+Daily development version:
+
+#### `pip install git+https://github.com/OpenPecha/Openpecha-Toolkit`
+
+
+<!-- This section must list as bulleted list how this repo depends or is integrated with other repos -->
+
+## Docs
+
+- Documentation: [docs](https://openpecha.org)
+- If you have any problems with `openpecha-toolkit`, please open [issues](https://github.com/OpenPecha-dev/openpecha-toolkit/issues/new/choose)
+
+## Developer Installation.
+```bash
+git clone https://github.com/OpenPecha-dev/openpecha-toolkit.git
+cd openpecha-toolkit
+pip install -r requirements-dev.txt
+pip install -e .
+pre-commit install
+```
+
+## Testing
+```bash
+PYTHONPATH=.:$PYTHONPATH pytest tests
+```
+<!-- This section must link to the docs which are in the root of the repository in /docs -->
+
+
+
+%prep
+%autosetup -n openpecha-0.11.4
+
+%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-openpecha -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f7b6661
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b834a303559db881c93ae8d3c8d6574a openpecha-0.11.4.tar.gz