diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-bioplate.spec | 99 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 101 insertions, 0 deletions
@@ -0,0 +1 @@ +/BioPlate-0.1.4.tar.gz diff --git a/python-bioplate.spec b/python-bioplate.spec new file mode 100644 index 0000000..1af2448 --- /dev/null +++ b/python-bioplate.spec @@ -0,0 +1,99 @@ +%global _empty_manifest_terminate_build 0 +Name: python-BioPlate +Version: 0.1.4 +Release: 1 +Summary: An application to quickly generate plate schemes used in life science, save it in database and export it in nice table format or in spreadsheet +License: MIT +URL: https://github.com/Hatoris/BioPlate +Source0: https://mirrors.aliyun.com/pypi/web/packages/c0/ce/669afc056e69026e62d49bf7380cb1e731690672be78b354cbbd15056add/BioPlate-0.1.4.tar.gz +BuildArch: noarch + +Requires: python3-sqlalchemy +Requires: python3-tabulate +Requires: python3-numpy +Requires: python3-pathlib +Requires: python3-xlsxwriter +Requires: python3-pyexcel +Requires: python3-pyexcel-xlsx +Requires: python3-pyexcel-xls +Requires: python3-typing + +%description +[Documentation](https://hatoris.github.io/BioPlate/) +The main use cases of the library are: +* Working with a multi wells plate representation +* Set values or infos rapidly for each well on a plate +* Get a plate representation for other format such as markdow, html, rst ... +* Send data on a spreadsheet, iterate values by row or column, compilate multiple values from multiple plates in a unique table +* Use database to keep infos on a given plate type (volume and surface on each well, compagny url) and store plate in database + +%package -n python3-BioPlate +Summary: An application to quickly generate plate schemes used in life science, save it in database and export it in nice table format or in spreadsheet +Provides: python-BioPlate +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-BioPlate +[Documentation](https://hatoris.github.io/BioPlate/) +The main use cases of the library are: +* Working with a multi wells plate representation +* Set values or infos rapidly for each well on a plate +* Get a plate representation for other format such as markdow, html, rst ... +* Send data on a spreadsheet, iterate values by row or column, compilate multiple values from multiple plates in a unique table +* Use database to keep infos on a given plate type (volume and surface on each well, compagny url) and store plate in database + +%package help +Summary: Development documents and examples for BioPlate +Provides: python3-BioPlate-doc +%description help +[Documentation](https://hatoris.github.io/BioPlate/) +The main use cases of the library are: +* Working with a multi wells plate representation +* Set values or infos rapidly for each well on a plate +* Get a plate representation for other format such as markdow, html, rst ... +* Send data on a spreadsheet, iterate values by row or column, compilate multiple values from multiple plates in a unique table +* Use database to keep infos on a given plate type (volume and surface on each well, compagny url) and store plate in database + +%prep +%autosetup -n BioPlate-0.1.4 + +%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-BioPlate -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.4-1 +- Package Spec generated @@ -0,0 +1 @@ +34b3f547c865281a6bd63d78af0fd599 BioPlate-0.1.4.tar.gz |