From 00e41204820a49f5a6715a07768f651169fb11a9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 9 Jun 2023 06:48:14 +0000 Subject: automatic import of python-pynidm --- .gitignore | 1 + python-pynidm.spec | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 108 insertions(+) create mode 100644 python-pynidm.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..744fa7a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pynidm-4.0.0.tar.gz diff --git a/python-pynidm.spec b/python-pynidm.spec new file mode 100644 index 0000000..85f633a --- /dev/null +++ b/python-pynidm.spec @@ -0,0 +1,106 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pynidm +Version: 4.0.0 +Release: 1 +Summary: PYNIDM: a Python NIDM library and tools +License: Apache-2.0 +URL: https://github.com/incf-nidash/PyNIDM +Source0: https://mirrors.aliyun.com/pypi/web/packages/5a/af/7ab0d068b22b4c7e7f1b72dd03a8772b4c385327c298a4601e63923f6d2a/pynidm-4.0.0.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-click-option-group +Requires: python3-cognitiveatlas +Requires: python3-datalad +Requires: python3-etelemetry +Requires: python3-numpy +Requires: python3-ontquery +Requires: python3-pandas +Requires: python3-patsy +Requires: python3-prov +Requires: python3-pybids +Requires: python3-pydot +Requires: python3-pygithub +Requires: python3-pyld +Requires: python3-dateutil +Requires: python3-rapidfuzz +Requires: python3-rdflib +Requires: python3-requests +Requires: python3-scikit-learn +Requires: python3-scipy +Requires: python3-statsmodels +Requires: python3-tabulate +Requires: python3-validators +Requires: python3-matplotlib +Requires: python3-seaborn + +%description +* `Git-annex `_ +* `Graphviz `_ (native package): + * Fedora: `dnf install graphviz` + * OS-X: `brew install graphviz` + +%package -n python3-pynidm +Summary: PYNIDM: a Python NIDM library and tools +Provides: python-pynidm +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pynidm +* `Git-annex `_ +* `Graphviz `_ (native package): + * Fedora: `dnf install graphviz` + * OS-X: `brew install graphviz` + +%package help +Summary: Development documents and examples for pynidm +Provides: python3-pynidm-doc +%description help +* `Git-annex `_ +* `Graphviz `_ (native package): + * Fedora: `dnf install graphviz` + * OS-X: `brew install graphviz` + +%prep +%autosetup -n pynidm-4.0.0 + +%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-pynidm -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Jun 09 2023 Python_Bot - 4.0.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..75e5695 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +471f3a50584db1ee2b5fe0eea02946cf pynidm-4.0.0.tar.gz -- cgit v1.2.3