diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 13:47:53 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 13:47:53 +0000 |
commit | 758045a2e573c819e5a7fa30ec527c0430711ddc (patch) | |
tree | 74d6055893c45f40a6bb9e579600abe0a5aff799 | |
parent | e9ecc97a569263afb28a042abd3c7d7ea0688349 (diff) |
automatic import of python-reprobenchopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-reprobench.spec | 143 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 145 insertions, 0 deletions
@@ -0,0 +1 @@ +/reprobench-0.11.1.tar.gz diff --git a/python-reprobench.spec b/python-reprobench.spec new file mode 100644 index 0000000..86ecc54 --- /dev/null +++ b/python-reprobench.spec @@ -0,0 +1,143 @@ +%global _empty_manifest_terminate_build 0 +Name: python-reprobench +Version: 0.11.1 +Release: 1 +Summary: Reproducible Benchmark for Everyone +License: MIT +URL: https://pypi.org/project/reprobench/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b7/9b/051ba37208624f00b7d8e6a4c2fa6c3e4fc158a56177b68ea13253276c44/reprobench-0.11.1.tar.gz +BuildArch: noarch + +Requires: python3-strictyaml +Requires: python3-loguru +Requires: python3-click +Requires: python3-tqdm +Requires: python3-pathspec +Requires: python3-requests +Requires: python3-numpy +Requires: python3-psmon +Requires: python3-psutil +Requires: python3-py-cpuinfo +Requires: python3-msgpack-python +Requires: python3-pyzmq +Requires: python3-gevent +Requires: python3-peewee +Requires: python3-apsw +Requires: python3-configspace +Requires: python3-pandas +Requires: python3-papermill +Requires: python3-retrying +Requires: python3-sshtunnel + +%description +# reprobench + +[](https://app.codacy.com/app/rkkautsar/reprobench?utm_source=github.com&utm_medium=referral&utm_content=rkkautsar/reprobench&utm_campaign=Badge_Grade_Dashboard) +[](https://pypi.org/project/reprobench) +[](https://dependabot.com) +[](https://conda.anaconda.org/rkkautsar) + +## Development Guide + +### Installing locally + +We recommend using Anaconda. + +```sh +$ conda env create -f environment.yml +$ conda activate reprobench +``` + + +%package -n python3-reprobench +Summary: Reproducible Benchmark for Everyone +Provides: python-reprobench +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-reprobench +# reprobench + +[](https://app.codacy.com/app/rkkautsar/reprobench?utm_source=github.com&utm_medium=referral&utm_content=rkkautsar/reprobench&utm_campaign=Badge_Grade_Dashboard) +[](https://pypi.org/project/reprobench) +[](https://dependabot.com) +[](https://conda.anaconda.org/rkkautsar) + +## Development Guide + +### Installing locally + +We recommend using Anaconda. + +```sh +$ conda env create -f environment.yml +$ conda activate reprobench +``` + + +%package help +Summary: Development documents and examples for reprobench +Provides: python3-reprobench-doc +%description help +# reprobench + +[](https://app.codacy.com/app/rkkautsar/reprobench?utm_source=github.com&utm_medium=referral&utm_content=rkkautsar/reprobench&utm_campaign=Badge_Grade_Dashboard) +[](https://pypi.org/project/reprobench) +[](https://dependabot.com) +[](https://conda.anaconda.org/rkkautsar) + +## Development Guide + +### Installing locally + +We recommend using Anaconda. + +```sh +$ conda env create -f environment.yml +$ conda activate reprobench +``` + + +%prep +%autosetup -n reprobench-0.11.1 + +%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-reprobench -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.1-1 +- Package Spec generated @@ -0,0 +1 @@ +05b00085a754d287d63bcecc6acff099 reprobench-0.11.1.tar.gz |