summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:31:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:31:23 +0000
commitab87ffab2f17753f4007707975bbaabce693aadb (patch)
tree692254c3bb0e8ba8611f0ad47a6f45c2a00131b5
parentf91f229474de8fb6a2f0e8f8fb6eca6bbe682dd7 (diff)
automatic import of python-auto-labeling-pipelineopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-auto-labeling-pipeline.spec160
-rw-r--r--sources1
3 files changed, 162 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e50c797 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/auto-labeling-pipeline-0.1.21.tar.gz
diff --git a/python-auto-labeling-pipeline.spec b/python-auto-labeling-pipeline.spec
new file mode 100644
index 0000000..5dc0e6d
--- /dev/null
+++ b/python-auto-labeling-pipeline.spec
@@ -0,0 +1,160 @@
+%global _empty_manifest_terminate_build 0
+Name: python-auto-labeling-pipeline
+Version: 0.1.21
+Release: 1
+Summary: Auto labeling pipeline for doccano
+License: MIT
+URL: https://github.com/doccano/auto-labeling-pipeline
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/53/8a/ffa55f6b978c181e7bbee996b1b340a9bf0986c66af59b739f2e0c29a020/auto-labeling-pipeline-0.1.21.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-boto3
+Requires: python3-pydantic
+Requires: python3-jinja2
+
+%description
+
+# Auto labeling pipeline
+
+Auto labeling pipeline helps doccano to annotate a document automatically. This package is intended to be used from the inside of doccano. You shouldn't use this package directly.
+
+## Installation
+
+To install auto-labeling-pipeline, simply run:
+
+```bash
+pip install auto-labeling-pipeline
+```
+
+## How to contribute
+
+You can contribute this project by adding new templates as follows:
+
+1. Add a new request model class to [models.py](https://github.com/doccano/auto-labeling-pipeline/blob/master/auto_labeling_pipeline/models.py).
+2. Add a new template(Jinja2 format) to [templates/](https://github.com/doccano/auto-labeling-pipeline/tree/master/auto_labeling_pipeline/templates) directory.
+3. Add a new template class to [mappings.py](https://github.com/doccano/auto-labeling-pipeline/blob/master/auto_labeling_pipeline/mappings.py).
+4. Add a new option to [menu.py](https://github.com/doccano/auto-labeling-pipeline/blob/master/auto_labeling_pipeline/menu.py).
+5. Testing.
+
+## License
+
+[MIT](https://github.com/doccano/auto-labeling-pipeline/blob/master/LICENSE)
+
+
+
+
+%package -n python3-auto-labeling-pipeline
+Summary: Auto labeling pipeline for doccano
+Provides: python-auto-labeling-pipeline
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-auto-labeling-pipeline
+
+# Auto labeling pipeline
+
+Auto labeling pipeline helps doccano to annotate a document automatically. This package is intended to be used from the inside of doccano. You shouldn't use this package directly.
+
+## Installation
+
+To install auto-labeling-pipeline, simply run:
+
+```bash
+pip install auto-labeling-pipeline
+```
+
+## How to contribute
+
+You can contribute this project by adding new templates as follows:
+
+1. Add a new request model class to [models.py](https://github.com/doccano/auto-labeling-pipeline/blob/master/auto_labeling_pipeline/models.py).
+2. Add a new template(Jinja2 format) to [templates/](https://github.com/doccano/auto-labeling-pipeline/tree/master/auto_labeling_pipeline/templates) directory.
+3. Add a new template class to [mappings.py](https://github.com/doccano/auto-labeling-pipeline/blob/master/auto_labeling_pipeline/mappings.py).
+4. Add a new option to [menu.py](https://github.com/doccano/auto-labeling-pipeline/blob/master/auto_labeling_pipeline/menu.py).
+5. Testing.
+
+## License
+
+[MIT](https://github.com/doccano/auto-labeling-pipeline/blob/master/LICENSE)
+
+
+
+
+%package help
+Summary: Development documents and examples for auto-labeling-pipeline
+Provides: python3-auto-labeling-pipeline-doc
+%description help
+
+# Auto labeling pipeline
+
+Auto labeling pipeline helps doccano to annotate a document automatically. This package is intended to be used from the inside of doccano. You shouldn't use this package directly.
+
+## Installation
+
+To install auto-labeling-pipeline, simply run:
+
+```bash
+pip install auto-labeling-pipeline
+```
+
+## How to contribute
+
+You can contribute this project by adding new templates as follows:
+
+1. Add a new request model class to [models.py](https://github.com/doccano/auto-labeling-pipeline/blob/master/auto_labeling_pipeline/models.py).
+2. Add a new template(Jinja2 format) to [templates/](https://github.com/doccano/auto-labeling-pipeline/tree/master/auto_labeling_pipeline/templates) directory.
+3. Add a new template class to [mappings.py](https://github.com/doccano/auto-labeling-pipeline/blob/master/auto_labeling_pipeline/mappings.py).
+4. Add a new option to [menu.py](https://github.com/doccano/auto-labeling-pipeline/blob/master/auto_labeling_pipeline/menu.py).
+5. Testing.
+
+## License
+
+[MIT](https://github.com/doccano/auto-labeling-pipeline/blob/master/LICENSE)
+
+
+
+
+%prep
+%autosetup -n auto-labeling-pipeline-0.1.21
+
+%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-auto-labeling-pipeline -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.21-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d806ff8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bcf9181a7166fcbddfd59e86cae4c356 auto-labeling-pipeline-0.1.21.tar.gz