summaryrefslogtreecommitdiff
path: root/python-theano-pymc.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-theano-pymc.spec')
-rw-r--r--python-theano-pymc.spec111
1 files changed, 111 insertions, 0 deletions
diff --git a/python-theano-pymc.spec b/python-theano-pymc.spec
new file mode 100644
index 0000000..a851712
--- /dev/null
+++ b/python-theano-pymc.spec
@@ -0,0 +1,111 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Theano-PyMC
+Version: 1.1.2
+Release: 1
+Summary: Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
+License: BSD
+URL: http://deeplearning.net/software/theano/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/01/26/ee0f0a4c2d18d6a7058c71e3cfed21b31a209979e7d8191dbc990c542a61/Theano-PyMC-1.1.2.tar.gz
+BuildArch: noarch
+
+
+%description
+Theano is a Python library that allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays. It is built on top of NumPy_. Theano features:
+
+ * **tight integration with NumPy:** a similar interface to NumPy's. numpy.ndarrays are also used internally in Theano-compiled functions.
+ * **transparent use of a GPU:** perform data-intensive computations up to 140x faster than on a CPU (support for float32 only).
+ * **efficient symbolic differentiation:** Theano can compute derivatives for functions of one or many inputs.
+ * **speed and stability optimizations:** avoid nasty bugs when computing expressions such as log(1 + exp(x)) for large values of x.
+ * **dynamic C code generation:** evaluate expressions faster.
+ * **extensive unit-testing and self-verification:** includes tools for detecting and diagnosing bugs and/or potential problems.
+
+Theano has been powering large-scale computationally intensive scientific
+research since 2007, but it is also approachable enough to be used in the
+classroom (IFT6266 at the University of Montreal).
+
+.. _NumPy: http://numpy.scipy.org/
+
+%package -n python3-Theano-PyMC
+Summary: Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
+Provides: python-Theano-PyMC
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Theano-PyMC
+Theano is a Python library that allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays. It is built on top of NumPy_. Theano features:
+
+ * **tight integration with NumPy:** a similar interface to NumPy's. numpy.ndarrays are also used internally in Theano-compiled functions.
+ * **transparent use of a GPU:** perform data-intensive computations up to 140x faster than on a CPU (support for float32 only).
+ * **efficient symbolic differentiation:** Theano can compute derivatives for functions of one or many inputs.
+ * **speed and stability optimizations:** avoid nasty bugs when computing expressions such as log(1 + exp(x)) for large values of x.
+ * **dynamic C code generation:** evaluate expressions faster.
+ * **extensive unit-testing and self-verification:** includes tools for detecting and diagnosing bugs and/or potential problems.
+
+Theano has been powering large-scale computationally intensive scientific
+research since 2007, but it is also approachable enough to be used in the
+classroom (IFT6266 at the University of Montreal).
+
+.. _NumPy: http://numpy.scipy.org/
+
+%package help
+Summary: Development documents and examples for Theano-PyMC
+Provides: python3-Theano-PyMC-doc
+%description help
+Theano is a Python library that allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays. It is built on top of NumPy_. Theano features:
+
+ * **tight integration with NumPy:** a similar interface to NumPy's. numpy.ndarrays are also used internally in Theano-compiled functions.
+ * **transparent use of a GPU:** perform data-intensive computations up to 140x faster than on a CPU (support for float32 only).
+ * **efficient symbolic differentiation:** Theano can compute derivatives for functions of one or many inputs.
+ * **speed and stability optimizations:** avoid nasty bugs when computing expressions such as log(1 + exp(x)) for large values of x.
+ * **dynamic C code generation:** evaluate expressions faster.
+ * **extensive unit-testing and self-verification:** includes tools for detecting and diagnosing bugs and/or potential problems.
+
+Theano has been powering large-scale computationally intensive scientific
+research since 2007, but it is also approachable enough to be used in the
+classroom (IFT6266 at the University of Montreal).
+
+.. _NumPy: http://numpy.scipy.org/
+
+%prep
+%autosetup -n Theano-PyMC-1.1.2
+
+%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-Theano-PyMC -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.2-1
+- Package Spec generated