diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 08:17:52 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 08:17:52 +0000 |
commit | bf7a92409137d2cc30213516156d97b5e31a278d (patch) | |
tree | c740d2d3bebd30380d85bd244f07f2306f4fadf5 | |
parent | 31078a09ebf18f0ef8d0ed08b82876ff4295b5bb (diff) |
automatic import of python-bramboxopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-brambox.spec | 244 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 246 insertions, 0 deletions
@@ -0,0 +1 @@ +/brambox-4.3.0.tar.gz diff --git a/python-brambox.spec b/python-brambox.spec new file mode 100644 index 0000000..10a4ea2 --- /dev/null +++ b/python-brambox.spec @@ -0,0 +1,244 @@ +%global _empty_manifest_terminate_build 0 +Name: python-brambox +Version: 4.3.0 +Release: 1 +Summary: Basic Requisites for Algorithms on iMages toolBOX +License: MIT +URL: https://gitlab.com/eavise/brambox +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/16/b7/2e9ea4df97a922b052eb6b1fe3b81be9e8fff2b09e59589b11c64621f48c/brambox-4.3.0.tar.gz + +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-scipy +Requires: python3-tqdm +Requires: python3-pgpd + +%description +<img src="https://gitlab.com/EAVISE/brambox/raw/master/docs/.static/logo-wide.png" alt="Logo" width="1000" /> + +_Basic Requisites for Algorithms on iMages toolBOX_ + +[![Version][version-badge]][release-url] +[![Python][python-badge]]() +[![Pandas][pandas-badge]]() +[![Wheel][wheel-badge]][wheel-url] +[![Pipeline][pipeline-badge]][pipeline-badge] +[![Coverage][coverage-badge]][coverage-url] + +Brambox is a python toolbox that provides the necessary tools to convert image annotations, compute statistics and more. +Its main use is for object detection algorithms and datasets. + + +## Installing +```bash +# From wheel +pip install brambox + +# From source +pip install git+https://gitlab.com/eavise/brambox +``` +> This project is python 3.6 and higher so on some systems you might want to use 'pip3.6' instead of 'pip' + + +## Using +Once you installed brambox, you can import it in your own python program with: +```python +import brambox as bb +``` +For tutorials and the API documentation [click here][doc-url]. + + +## Contributing +See [the contribution guidelines](CONTRIBUTING.md) + + +## Main Contributors +Here is a list of people that made noteworthy contributions and helped to get this project where it stands today! + + - [Tanguy Ophoff](https://gitlab.com/0phoff) [](https://ko-fi.com/D1D31LPHE) + - [Maarten Vandersteegen](https://gitlab.com/maartenvds) + + +[version-badge]: https://img.shields.io/pypi/v/brambox.svg?label=version +[python-badge]: https://img.shields.io/badge/python-3.6%20%7C%203.10-9cf +[pandas-badge]: https://img.shields.io/badge/pandas-1.1%2B-e70488 +[wheel-badge]: https://img.shields.io/pypi/wheel/brambox.svg +[pipeline-badge]: https://gitlab.com/EAVISE/brambox/badges/master/pipeline.svg +[coverage-badge]: https://img.shields.io/codecov/c/gitlab/eavise/brambox?token=EG18cFdzfX +[release-url]: https://gitlab.com/EAVISE/brambox/tags +[wheel-url]: https://pypi.org/project/brambox +[coverage-url]: https://codecov.io/gl/EAVISE/brambox +[doc-url]: https://eavise.gitlab.io/brambox + + +%package -n python3-brambox +Summary: Basic Requisites for Algorithms on iMages toolBOX +Provides: python-brambox +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-brambox +<img src="https://gitlab.com/EAVISE/brambox/raw/master/docs/.static/logo-wide.png" alt="Logo" width="1000" /> + +_Basic Requisites for Algorithms on iMages toolBOX_ + +[![Version][version-badge]][release-url] +[![Python][python-badge]]() +[![Pandas][pandas-badge]]() +[![Wheel][wheel-badge]][wheel-url] +[![Pipeline][pipeline-badge]][pipeline-badge] +[![Coverage][coverage-badge]][coverage-url] + +Brambox is a python toolbox that provides the necessary tools to convert image annotations, compute statistics and more. +Its main use is for object detection algorithms and datasets. + + +## Installing +```bash +# From wheel +pip install brambox + +# From source +pip install git+https://gitlab.com/eavise/brambox +``` +> This project is python 3.6 and higher so on some systems you might want to use 'pip3.6' instead of 'pip' + + +## Using +Once you installed brambox, you can import it in your own python program with: +```python +import brambox as bb +``` +For tutorials and the API documentation [click here][doc-url]. + + +## Contributing +See [the contribution guidelines](CONTRIBUTING.md) + + +## Main Contributors +Here is a list of people that made noteworthy contributions and helped to get this project where it stands today! + + - [Tanguy Ophoff](https://gitlab.com/0phoff) [](https://ko-fi.com/D1D31LPHE) + - [Maarten Vandersteegen](https://gitlab.com/maartenvds) + + +[version-badge]: https://img.shields.io/pypi/v/brambox.svg?label=version +[python-badge]: https://img.shields.io/badge/python-3.6%20%7C%203.10-9cf +[pandas-badge]: https://img.shields.io/badge/pandas-1.1%2B-e70488 +[wheel-badge]: https://img.shields.io/pypi/wheel/brambox.svg +[pipeline-badge]: https://gitlab.com/EAVISE/brambox/badges/master/pipeline.svg +[coverage-badge]: https://img.shields.io/codecov/c/gitlab/eavise/brambox?token=EG18cFdzfX +[release-url]: https://gitlab.com/EAVISE/brambox/tags +[wheel-url]: https://pypi.org/project/brambox +[coverage-url]: https://codecov.io/gl/EAVISE/brambox +[doc-url]: https://eavise.gitlab.io/brambox + + +%package help +Summary: Development documents and examples for brambox +Provides: python3-brambox-doc +%description help +<img src="https://gitlab.com/EAVISE/brambox/raw/master/docs/.static/logo-wide.png" alt="Logo" width="1000" /> + +_Basic Requisites for Algorithms on iMages toolBOX_ + +[![Version][version-badge]][release-url] +[![Python][python-badge]]() +[![Pandas][pandas-badge]]() +[![Wheel][wheel-badge]][wheel-url] +[![Pipeline][pipeline-badge]][pipeline-badge] +[![Coverage][coverage-badge]][coverage-url] + +Brambox is a python toolbox that provides the necessary tools to convert image annotations, compute statistics and more. +Its main use is for object detection algorithms and datasets. + + +## Installing +```bash +# From wheel +pip install brambox + +# From source +pip install git+https://gitlab.com/eavise/brambox +``` +> This project is python 3.6 and higher so on some systems you might want to use 'pip3.6' instead of 'pip' + + +## Using +Once you installed brambox, you can import it in your own python program with: +```python +import brambox as bb +``` +For tutorials and the API documentation [click here][doc-url]. + + +## Contributing +See [the contribution guidelines](CONTRIBUTING.md) + + +## Main Contributors +Here is a list of people that made noteworthy contributions and helped to get this project where it stands today! + + - [Tanguy Ophoff](https://gitlab.com/0phoff) [](https://ko-fi.com/D1D31LPHE) + - [Maarten Vandersteegen](https://gitlab.com/maartenvds) + + +[version-badge]: https://img.shields.io/pypi/v/brambox.svg?label=version +[python-badge]: https://img.shields.io/badge/python-3.6%20%7C%203.10-9cf +[pandas-badge]: https://img.shields.io/badge/pandas-1.1%2B-e70488 +[wheel-badge]: https://img.shields.io/pypi/wheel/brambox.svg +[pipeline-badge]: https://gitlab.com/EAVISE/brambox/badges/master/pipeline.svg +[coverage-badge]: https://img.shields.io/codecov/c/gitlab/eavise/brambox?token=EG18cFdzfX +[release-url]: https://gitlab.com/EAVISE/brambox/tags +[wheel-url]: https://pypi.org/project/brambox +[coverage-url]: https://codecov.io/gl/EAVISE/brambox +[doc-url]: https://eavise.gitlab.io/brambox + + +%prep +%autosetup -n brambox-4.3.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-brambox -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 4.3.0-1 +- Package Spec generated @@ -0,0 +1 @@ +42a29417f466d5dcd3907ad4e222d13a brambox-4.3.0.tar.gz |