summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 10:16:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 10:16:28 +0000
commit94566da124e1e3029987c7e063ba4d55350c61ea (patch)
tree84c48ae7c8daccc1cc85bef8e0a789c0e8d6935e
parent150eabf574c3c9436077e68f9fcda5d1482d1069 (diff)
automatic import of python-abagen
-rw-r--r--.gitignore1
-rw-r--r--python-abagen.spec96
-rw-r--r--sources1
3 files changed, 98 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b038e28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/abagen-0.1.3.tar.gz
diff --git a/python-abagen.spec b/python-abagen.spec
new file mode 100644
index 0000000..ea87f64
--- /dev/null
+++ b/python-abagen.spec
@@ -0,0 +1,96 @@
+%global _empty_manifest_terminate_build 0
+Name: python-abagen
+Version: 0.1.3
+Release: 1
+Summary: A toolbox for working with the Allen Brain Atlas genetic data
+License: BSD-3
+URL: https://github.com/rmarkello/abagen
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f8/23/5db2a5bf3a116722a7081721382941ae0ea27b985be06efc48aae565f16a/abagen-0.1.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-nibabel
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-scipy
+Requires: python3-sphinx
+Requires: python3-sphinx-argparse
+Requires: python3-sphinx-rtd-theme
+Requires: python3-fastparquet
+Requires: python3-snappy
+Requires: python3-coverage
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-sphinx
+Requires: python3-sphinx-argparse
+Requires: python3-sphinx-rtd-theme
+Requires: python3-fastparquet
+Requires: python3-snappy
+Requires: python3-flake8
+Requires: python3-coverage
+Requires: python3-pytest
+Requires: python3-pytest-cov
+
+%description
+This package provides a Python interface for fetching and working with the
+`Allen Human Brain Atlas`_ (AHBA) microarray expression data.
+
+%package -n python3-abagen
+Summary: A toolbox for working with the Allen Brain Atlas genetic data
+Provides: python-abagen
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-abagen
+This package provides a Python interface for fetching and working with the
+`Allen Human Brain Atlas`_ (AHBA) microarray expression data.
+
+%package help
+Summary: Development documents and examples for abagen
+Provides: python3-abagen-doc
+%description help
+This package provides a Python interface for fetching and working with the
+`Allen Human Brain Atlas`_ (AHBA) microarray expression data.
+
+%prep
+%autosetup -n abagen-0.1.3
+
+%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-abagen -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..29154e3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0025febb61b87354ba15f66f84ce39d9 abagen-0.1.3.tar.gz