From e97758342ad44b14335e77bca37640101c47643c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 08:12:40 +0000 Subject: automatic import of python-bioarch --- python-bioarch.spec | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 python-bioarch.spec (limited to 'python-bioarch.spec') diff --git a/python-bioarch.spec b/python-bioarch.spec new file mode 100644 index 0000000..a656a59 --- /dev/null +++ b/python-bioarch.spec @@ -0,0 +1,117 @@ +%global _empty_manifest_terminate_build 0 +Name: python-bioarch +Version: 0.0.34 +Release: 1 +Summary: Python bioarchaeology +License: MIT +URL: https://github.com/TheBiggerGuy/bioarch +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/b2/28978e6db6c72c1745c44b7427a3d11a76a0cde5c6bed0d7209825c9aeb1/bioarch-0.0.34.tar.gz +BuildArch: noarch + + +%description +# Python BioArch +[![CircleCI](https://circleci.com/gh/TheBiggerGuy/bioarch/tree/master.svg?style=svg)](https://circleci.com/gh/TheBiggerGuy/bioarch/tree/master) +[![codecov](https://codecov.io/gh/TheBiggerGuy/bioarch/branch/master/graph/badge.svg)](https://codecov.io/gh/TheBiggerGuy/bioarch) +[![Documentation Status](https://readthedocs.org/projects/bioarch/badge/?version=latest)](https://bioarch.readthedocs.io/en/latest/?badge=latest) +[![](https://img.shields.io/github/issues-raw/TheBiggerGuy/bioarch.svg)](https://github.com/TheBiggerGuy/bioarch/issues) +[![](https://tokei.rs/b1/github/TheBiggerGuy/bioarch)](https://github.com/TheBiggerGuy/bioarch) +[![PyPI version](https://badge.fury.io/py/bioarch.svg)](https://badge.fury.io/py/bioarch) + +A Python bioarchaeology library to help with modelling data in the archaeology/bioarchaeology field. + +* Code at https://github.com/TheBiggerGuy/bioarch +* PyPI at https://pypi.org/project/bioarch/ +* Docs at https://bioarch.readthedocs.io/en/latest/ + + + + +%package -n python3-bioarch +Summary: Python bioarchaeology +Provides: python-bioarch +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-bioarch +# Python BioArch +[![CircleCI](https://circleci.com/gh/TheBiggerGuy/bioarch/tree/master.svg?style=svg)](https://circleci.com/gh/TheBiggerGuy/bioarch/tree/master) +[![codecov](https://codecov.io/gh/TheBiggerGuy/bioarch/branch/master/graph/badge.svg)](https://codecov.io/gh/TheBiggerGuy/bioarch) +[![Documentation Status](https://readthedocs.org/projects/bioarch/badge/?version=latest)](https://bioarch.readthedocs.io/en/latest/?badge=latest) +[![](https://img.shields.io/github/issues-raw/TheBiggerGuy/bioarch.svg)](https://github.com/TheBiggerGuy/bioarch/issues) +[![](https://tokei.rs/b1/github/TheBiggerGuy/bioarch)](https://github.com/TheBiggerGuy/bioarch) +[![PyPI version](https://badge.fury.io/py/bioarch.svg)](https://badge.fury.io/py/bioarch) + +A Python bioarchaeology library to help with modelling data in the archaeology/bioarchaeology field. + +* Code at https://github.com/TheBiggerGuy/bioarch +* PyPI at https://pypi.org/project/bioarch/ +* Docs at https://bioarch.readthedocs.io/en/latest/ + + + + +%package help +Summary: Development documents and examples for bioarch +Provides: python3-bioarch-doc +%description help +# Python BioArch +[![CircleCI](https://circleci.com/gh/TheBiggerGuy/bioarch/tree/master.svg?style=svg)](https://circleci.com/gh/TheBiggerGuy/bioarch/tree/master) +[![codecov](https://codecov.io/gh/TheBiggerGuy/bioarch/branch/master/graph/badge.svg)](https://codecov.io/gh/TheBiggerGuy/bioarch) +[![Documentation Status](https://readthedocs.org/projects/bioarch/badge/?version=latest)](https://bioarch.readthedocs.io/en/latest/?badge=latest) +[![](https://img.shields.io/github/issues-raw/TheBiggerGuy/bioarch.svg)](https://github.com/TheBiggerGuy/bioarch/issues) +[![](https://tokei.rs/b1/github/TheBiggerGuy/bioarch)](https://github.com/TheBiggerGuy/bioarch) +[![PyPI version](https://badge.fury.io/py/bioarch.svg)](https://badge.fury.io/py/bioarch) + +A Python bioarchaeology library to help with modelling data in the archaeology/bioarchaeology field. + +* Code at https://github.com/TheBiggerGuy/bioarch +* PyPI at https://pypi.org/project/bioarch/ +* Docs at https://bioarch.readthedocs.io/en/latest/ + + + + +%prep +%autosetup -n bioarch-0.0.34 + +%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-bioarch -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot - 0.0.34-1 +- Package Spec generated -- cgit v1.2.3