diff options
Diffstat (limited to 'python-vectools.spec')
-rw-r--r-- | python-vectools.spec | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/python-vectools.spec b/python-vectools.spec new file mode 100644 index 0000000..17bcba5 --- /dev/null +++ b/python-vectools.spec @@ -0,0 +1,124 @@ +%global _empty_manifest_terminate_build 0 +Name: python-vectools +Version: 0.1.3.2.50 +Release: 1 +Summary: Vectools - A bioinformatics-focused command-line utility for linear algebra, table manipulation, machine leaning, networks/graphs, and more. +License: MIT +URL: https://pypi.org/project/vectools/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/06/95/33502f092f775d0fae279b4aa2332ce295bd71d6b785ad052b1ec0cc2bf9/vectools-0.1.3.2.50.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-scikit-learn +Requires: python3-networkx +Requires: python3-pandas +Requires: python3-natsort +Requires: python3-mock + +%description +Vectools was created to simultaneously simplify and increase the development speed of informatics pipelines by +reducing the amount of custom programs needed in analyses. Furthermore, Vectools is extensively tested reducing the +changes of bungs in pipelines. + +Vectools offers a wide range of operations related to the manipulation of vectors an matrices. +These operations include: +- Linear algebra +- Table (Spreadsheets, CSV/TSV files, etc.) manipulation (Join, uniquifying, ) +- Machine learning (Supervised and Unsupervised) +- Support functions for machine learning (descriptors, PCA, feature selection, normalization, etc.). +- Statistical analysis +- Network-Graph manipulation + + + + + +%package -n python3-vectools +Summary: Vectools - A bioinformatics-focused command-line utility for linear algebra, table manipulation, machine leaning, networks/graphs, and more. +Provides: python-vectools +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-vectools +Vectools was created to simultaneously simplify and increase the development speed of informatics pipelines by +reducing the amount of custom programs needed in analyses. Furthermore, Vectools is extensively tested reducing the +changes of bungs in pipelines. + +Vectools offers a wide range of operations related to the manipulation of vectors an matrices. +These operations include: +- Linear algebra +- Table (Spreadsheets, CSV/TSV files, etc.) manipulation (Join, uniquifying, ) +- Machine learning (Supervised and Unsupervised) +- Support functions for machine learning (descriptors, PCA, feature selection, normalization, etc.). +- Statistical analysis +- Network-Graph manipulation + + + + + +%package help +Summary: Development documents and examples for vectools +Provides: python3-vectools-doc +%description help +Vectools was created to simultaneously simplify and increase the development speed of informatics pipelines by +reducing the amount of custom programs needed in analyses. Furthermore, Vectools is extensively tested reducing the +changes of bungs in pipelines. + +Vectools offers a wide range of operations related to the manipulation of vectors an matrices. +These operations include: +- Linear algebra +- Table (Spreadsheets, CSV/TSV files, etc.) manipulation (Join, uniquifying, ) +- Machine learning (Supervised and Unsupervised) +- Support functions for machine learning (descriptors, PCA, feature selection, normalization, etc.). +- Statistical analysis +- Network-Graph manipulation + + + + + +%prep +%autosetup -n vectools-0.1.3.2.50 + +%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-vectools -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.3.2.50-1 +- Package Spec generated |