From c4bdff40f08a2448c89df4d755dfe662d522aa7e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 29 May 2023 09:51:58 +0000 Subject: automatic import of python-dvha --- .gitignore | 1 + python-dvha.spec | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 107 insertions(+) create mode 100644 python-dvha.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..41b42bc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/dvha-0.9.7.tar.gz diff --git a/python-dvha.spec b/python-dvha.spec new file mode 100644 index 0000000..6d45a6d --- /dev/null +++ b/python-dvha.spec @@ -0,0 +1,105 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dvha +Version: 0.9.7 +Release: 1 +Summary: Create a database of DVHs, GUI with wxPython, plots with Bokeh +License: BSD License +URL: https://github.com/cutright/DVH-Analytics +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ae/da/879cce0f9e3419f98ca3f1da7cb01f4d074c79a5db0083d34984cfa76071/dvha-0.9.7.tar.gz +BuildArch: noarch + +Requires: python3-dicompyler-core +Requires: python3-wxPython +Requires: python3-pypubsub +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-pydicom +Requires: python3-bokeh +Requires: python3-psycopg2-binary +Requires: python3-shapely[vectorized] +Requires: python3-dateutil +Requires: python3-statsmodels +Requires: python3-scikit-learn +Requires: python3-regressors +Requires: python3-rapidfuzz +Requires: python3-selenium +Requires: python3-pandas +Requires: python3-scikit-image +Requires: python3-dvha-mlca + +%description +|logo| +DVH Analytics (DVHA) is a software application for building a local database of radiation oncology +treatment planning data. It imports data from DICOM-RT files (*i.e.*, plan, dose, and structure), creates a SQL database, +provides customizable plots, and provides tools for generating linear, multi-variable, and machine learning +regressions. +|pypi| |Docs| |lgtm-cq| |lgtm| |lines| |repo-size| |code-style| + +%package -n python3-dvha +Summary: Create a database of DVHs, GUI with wxPython, plots with Bokeh +Provides: python-dvha +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dvha +|logo| +DVH Analytics (DVHA) is a software application for building a local database of radiation oncology +treatment planning data. It imports data from DICOM-RT files (*i.e.*, plan, dose, and structure), creates a SQL database, +provides customizable plots, and provides tools for generating linear, multi-variable, and machine learning +regressions. +|pypi| |Docs| |lgtm-cq| |lgtm| |lines| |repo-size| |code-style| + +%package help +Summary: Development documents and examples for dvha +Provides: python3-dvha-doc +%description help +|logo| +DVH Analytics (DVHA) is a software application for building a local database of radiation oncology +treatment planning data. It imports data from DICOM-RT files (*i.e.*, plan, dose, and structure), creates a SQL database, +provides customizable plots, and provides tools for generating linear, multi-variable, and machine learning +regressions. +|pypi| |Docs| |lgtm-cq| |lgtm| |lines| |repo-size| |code-style| + +%prep +%autosetup -n dvha-0.9.7 + +%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-dvha -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot - 0.9.7-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..adb425e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c567f404ded10c72a2b0132ba8813a8f dvha-0.9.7.tar.gz -- cgit v1.2.3