From bd5eb3049b5cfdcd03984bdb310695a1bef6e55d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 06:05:57 +0000 Subject: automatic import of python-pymer4 --- python-pymer4.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 python-pymer4.spec (limited to 'python-pymer4.spec') diff --git a/python-pymer4.spec b/python-pymer4.spec new file mode 100644 index 0000000..f3a49e3 --- /dev/null +++ b/python-pymer4.spec @@ -0,0 +1,85 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pymer4 +Version: 0.8.0 +Release: 1 +Summary: pymer4: all the convenience of lme4 in python +License: MIT +URL: http://eshinjolly.com/pymer4/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f0/ef/bb2beb5bc62748f2f6b3efa411abcc558d9933fc5f9a58589ba03816c60a/pymer4-0.8.0.tar.gz +BuildArch: noarch + +Requires: python3-pandas +Requires: python3-numpy +Requires: python3-rpy2 +Requires: python3-seaborn +Requires: python3-matplotlib +Requires: python3-patsy +Requires: python3-joblib +Requires: python3-scipy +Requires: python3-deepdish +Requires: python3-scikit-learn + +%description +pymer4 is a Python package to make it simple to perform multi-level modeling by interfacing with the popular R package lme4. pymer4 is also capable of fitting a variety of standard regression models with robust, bootstrapped, and permuted estimators + + +%package -n python3-pymer4 +Summary: pymer4: all the convenience of lme4 in python +Provides: python-pymer4 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pymer4 +pymer4 is a Python package to make it simple to perform multi-level modeling by interfacing with the popular R package lme4. pymer4 is also capable of fitting a variety of standard regression models with robust, bootstrapped, and permuted estimators + + +%package help +Summary: Development documents and examples for pymer4 +Provides: python3-pymer4-doc +%description help +pymer4 is a Python package to make it simple to perform multi-level modeling by interfacing with the popular R package lme4. pymer4 is also capable of fitting a variety of standard regression models with robust, bootstrapped, and permuted estimators + + +%prep +%autosetup -n pymer4-0.8.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-pymer4 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot - 0.8.0-1 +- Package Spec generated -- cgit v1.2.3