diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:05:21 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:05:21 +0000 |
commit | 0446ff2a1e3be7b0b2a2ad8bcd4b5d9df5a3f3c8 (patch) | |
tree | ac48407ab6ff4c0091372df1dc2a0f695e4ed7c0 | |
parent | b43849b00462fadb0529cba06904a94b66e8b5ca (diff) |
automatic import of python-afq-browser
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-afq-browser.spec | 127 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 129 insertions, 0 deletions
@@ -0,0 +1 @@ +/AFQ-Browser-0.3.tar.gz diff --git a/python-afq-browser.spec b/python-afq-browser.spec new file mode 100644 index 0000000..59fa40f --- /dev/null +++ b/python-afq-browser.spec @@ -0,0 +1,127 @@ +%global _empty_manifest_terminate_build 0 +Name: python-AFQ-Browser +Version: 0.3 +Release: 1 +Summary: please add a summary manually as the author left a blank one +License: BSD License +URL: https://yeatmanlab.github.io/AFQ-Browser +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/46/4c/886dedcd7402397f5e2d97ad4ab2ef572b65ebcf84f248fb364ed2fd2c95/AFQ-Browser-0.3.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-scipy +Requires: python3-PyGithub +Requires: python3-GitPython +Requires: python3-pip-conflict-checker +Requires: python3-flake8 +Requires: python3-pytest +Requires: python3-coverage +Requires: python3-pytest-cov + +%description +AFQ-browser is a software library for visualization of results from +automated fiber quantification of human brain tractography. + +The software takes as input the results of analysis from the ``AFQ`` or +``pyAFQ`` software and produces a browser-based visualization of the data. +Command-line tools allow users to create these visualizations from their data +and upload them to share with others as a website. + +See [https://yeatmanlab.github.io/AFQ-Browser/](https://yeatmanlab.github.io/AFQ-Browser/) for documentation + +See: [https://yeatmanlab.github.io/AFQBrowser-demo/](https://yeatmanlab.github.io/AFQBrowser-demo/) for a working example + +[](https://zenodo.org/badge/latestdoi/61830890) + + + + +%package -n python3-AFQ-Browser +Summary: please add a summary manually as the author left a blank one +Provides: python-AFQ-Browser +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-AFQ-Browser +AFQ-browser is a software library for visualization of results from +automated fiber quantification of human brain tractography. + +The software takes as input the results of analysis from the ``AFQ`` or +``pyAFQ`` software and produces a browser-based visualization of the data. +Command-line tools allow users to create these visualizations from their data +and upload them to share with others as a website. + +See [https://yeatmanlab.github.io/AFQ-Browser/](https://yeatmanlab.github.io/AFQ-Browser/) for documentation + +See: [https://yeatmanlab.github.io/AFQBrowser-demo/](https://yeatmanlab.github.io/AFQBrowser-demo/) for a working example + +[](https://zenodo.org/badge/latestdoi/61830890) + + + + +%package help +Summary: Development documents and examples for AFQ-Browser +Provides: python3-AFQ-Browser-doc +%description help +AFQ-browser is a software library for visualization of results from +automated fiber quantification of human brain tractography. + +The software takes as input the results of analysis from the ``AFQ`` or +``pyAFQ`` software and produces a browser-based visualization of the data. +Command-line tools allow users to create these visualizations from their data +and upload them to share with others as a website. + +See [https://yeatmanlab.github.io/AFQ-Browser/](https://yeatmanlab.github.io/AFQ-Browser/) for documentation + +See: [https://yeatmanlab.github.io/AFQBrowser-demo/](https://yeatmanlab.github.io/AFQBrowser-demo/) for a working example + +[](https://zenodo.org/badge/latestdoi/61830890) + + + + +%prep +%autosetup -n AFQ-Browser-0.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-AFQ-Browser -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3-1 +- Package Spec generated @@ -0,0 +1 @@ +8747e3ef5c9a33fe87e0e90eb548e364 AFQ-Browser-0.3.tar.gz |