summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 04:32:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 04:32:08 +0000
commitd18f68625064329ff1d43f6570267e13481fef59 (patch)
tree8ac4e90c7a826b839ba01557a2f681db6283ab29
parent7a47ed23ab12beec2211572e6a137443d24263f1 (diff)
automatic import of python-banana
-rw-r--r--.gitignore1
-rw-r--r--python-banana.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b6cf137 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/banana-0.5.1.tar.gz
diff --git a/python-banana.spec b/python-banana.spec
new file mode 100644
index 0000000..25ce3dd
--- /dev/null
+++ b/python-banana.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-banana
+Version: 0.5.1
+Release: 1
+Summary: Brain imAgiNg Analysis iN Arcana (Banana): brain imaging analysis workflows implemented in the Arcana framework (arcana.readthedocs.io)
+License: The Apache Software Licence 2.0
+URL: https://github.com/MonashBI/banana
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/10/44/feff4de297b504c9309ee71a6a54acbecfda06c9d77271570f7ede58dc46/banana-0.5.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-arcana
+Requires: python3-pydicom
+Requires: python3-nibabel
+Requires: python3-pybids
+Requires: python3-scipy
+
+%description
+Brain imAgiNg Analysis iN Arcana (Banana): a collection of brain imaging analysis
+workflows implemented in the Arcana_ framework, which can be used to analyse
+analysis datasets stored in XNAT, BIDS or plain-directory repositories.
+
+%package -n python3-banana
+Summary: Brain imAgiNg Analysis iN Arcana (Banana): brain imaging analysis workflows implemented in the Arcana framework (arcana.readthedocs.io)
+Provides: python-banana
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-banana
+Brain imAgiNg Analysis iN Arcana (Banana): a collection of brain imaging analysis
+workflows implemented in the Arcana_ framework, which can be used to analyse
+analysis datasets stored in XNAT, BIDS or plain-directory repositories.
+
+%package help
+Summary: Development documents and examples for banana
+Provides: python3-banana-doc
+%description help
+Brain imAgiNg Analysis iN Arcana (Banana): a collection of brain imaging analysis
+workflows implemented in the Arcana_ framework, which can be used to analyse
+analysis datasets stored in XNAT, BIDS or plain-directory repositories.
+
+%prep
+%autosetup -n banana-0.5.1
+
+%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-banana -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..21c5933
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ebac14f1e024682125de6481b4c4456d banana-0.5.1.tar.gz