From d2673a3a28772444376a9892d4364f9ff8165ee1 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 09:33:56 +0000 Subject: automatic import of python-stytra --- .gitignore | 1 + python-stytra.spec | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 91 insertions(+) create mode 100644 python-stytra.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..e771cba 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/stytra-0.8.34.tar.gz diff --git a/python-stytra.spec b/python-stytra.spec new file mode 100644 index 0000000..6723af2 --- /dev/null +++ b/python-stytra.spec @@ -0,0 +1,89 @@ +%global _empty_manifest_terminate_build 0 +Name: python-stytra +Version: 0.8.34 +Release: 1 +Summary: A modular package to control stimulation and track behavior experiments. +License: GPLv3+ +URL: https://pypi.org/project/stytra/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/10/48/e9ffd298cc16ec0d29da109d88a1da0326666eecf32290232983ce699fc4/stytra-0.8.34.tar.gz +BuildArch: noarch + +Requires: python3-pyqtgraph +Requires: python3-numpy +Requires: python3-numba +Requires: python3-pandas +Requires: python3-qdarkstyle +Requires: python3-qimage2ndarray +Requires: python3-flammkuchen +Requires: python3-anytree +Requires: python3-pims +Requires: python3-GitPython +Requires: python3-colorspacious +Requires: python3-arrayqueues +Requires: python3-pillow +Requires: python3-scikit-image +Requires: python3-imageio +Requires: python3-imageio-ffmpeg +Requires: python3-lightparam + +%description + + +%package -n python3-stytra +Summary: A modular package to control stimulation and track behavior experiments. +Provides: python-stytra +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-stytra + + +%package help +Summary: Development documents and examples for stytra +Provides: python3-stytra-doc +%description help + + +%prep +%autosetup -n stytra-0.8.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-stytra -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.8.34-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..19527e3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +223830c9fc7a0af313e4691ac7add7f7 stytra-0.8.34.tar.gz -- cgit v1.2.3