From 0fd49861b5b9fb285236598f288b73469accccd5 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 9 Mar 2023 15:39:32 +0000 Subject: automatic import of python-pymc3 --- .gitignore | 1 + python-pymc3.spec | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 98 insertions(+) create mode 100644 python-pymc3.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..0d56bb5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pymc3-3.11.5.tar.gz diff --git a/python-pymc3.spec b/python-pymc3.spec new file mode 100644 index 0000000..8b57998 --- /dev/null +++ b/python-pymc3.spec @@ -0,0 +1,96 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pymc3 +Version: 3.11.5 +Release: 1 +Summary: Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano +License: Apache License, Version 2.0 +URL: http://github.com/pymc-devs/pymc3 +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/10/2a/8d640e61f0a8ed5de08f288d53a850c2d4717fec7b125a7a5cab95317b28/pymc3-3.11.5.tar.gz +BuildArch: noarch + +Requires: python3-arviz +Requires: python3-cachetools +Requires: python3-deprecat +Requires: python3-dill +Requires: python3-fastprogress +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-patsy +Requires: python3-scipy +Requires: python3-semver +Requires: python3-theano-pymc +Requires: python3-typing-extensions + +%description +There have been many questions and uncertainty around the future of PyMC3 since Theano +stopped getting developed by the original authors, and we started experiments with a PyMC version based on tensorflow probability. +Since then many things changed and we are happy to announce that PyMC3 will continue to rely on Theano, +or rather its successors Theano-PyMC (`pymc3 <4)` and Aesara (`pymc3 >=4`). +Check out `__) and specifically the latest developments on the `PyMC3 `main` branch `. + +%package -n python3-pymc3 +Summary: Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano +Provides: python-pymc3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pymc3 +There have been many questions and uncertainty around the future of PyMC3 since Theano +stopped getting developed by the original authors, and we started experiments with a PyMC version based on tensorflow probability. +Since then many things changed and we are happy to announce that PyMC3 will continue to rely on Theano, +or rather its successors Theano-PyMC (`pymc3 <4)` and Aesara (`pymc3 >=4`). +Check out `__) and specifically the latest developments on the `PyMC3 `main` branch `. + +%package help +Summary: Development documents and examples for pymc3 +Provides: python3-pymc3-doc +%description help +There have been many questions and uncertainty around the future of PyMC3 since Theano +stopped getting developed by the original authors, and we started experiments with a PyMC version based on tensorflow probability. +Since then many things changed and we are happy to announce that PyMC3 will continue to rely on Theano, +or rather its successors Theano-PyMC (`pymc3 <4)` and Aesara (`pymc3 >=4`). +Check out `__) and specifically the latest developments on the `PyMC3 `main` branch `. + +%prep +%autosetup -n pymc3-3.11.5 + +%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-pymc3 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot - 3.11.5-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..1658aff --- /dev/null +++ b/sources @@ -0,0 +1 @@ +7264831b6058ab8632b1a9a070526078 pymc3-3.11.5.tar.gz -- cgit v1.2.3