From 05b17780c57bc1980d451cd9aefb2f5387d1ff67 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 03:33:43 +0000 Subject: automatic import of python-hirola --- .gitignore | 1 + python-hirola.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 83 insertions(+) create mode 100644 python-hirola.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..dc5db3b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/hirola-0.3.0.tar.gz diff --git a/python-hirola.spec b/python-hirola.spec new file mode 100644 index 0000000..6865484 --- /dev/null +++ b/python-hirola.spec @@ -0,0 +1,81 @@ +%global _empty_manifest_terminate_build 0 +Name: python-hirola +Version: 0.3.0 +Release: 1 +Summary: NumPy vectorized hash table for fast set and dict operations. +License: MIT license +URL: https://github.com/bwoodsend/hirola +Source0: https://mirrors.aliyun.com/pypi/web/packages/9e/f8/808540c0c674d3a098caa0ccd1955d5f9bf020b77903072f176c7eb331df/hirola-0.3.0.tar.gz + +Requires: python3-cslug +Requires: python3-numpy +Requires: python3-pytest +Requires: python3-pytest-order +Requires: python3-coverage +Requires: python3-pytest-cov +Requires: python3-coverage-conditional-plugin + +%description + + +%package -n python3-hirola +Summary: NumPy vectorized hash table for fast set and dict operations. +Provides: python-hirola +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-hirola + + +%package help +Summary: Development documents and examples for hirola +Provides: python3-hirola-doc +%description help + + +%prep +%autosetup -n hirola-0.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-hirola -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.3.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..d8b0c8e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d30b6959b06863dd40a49979b159edee hirola-0.3.0.tar.gz -- cgit v1.2.3