diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:30:05 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:30:05 +0000 |
| commit | 09ea642aa3e33547a33751d9ffca4b88b9e56c8c (patch) | |
| tree | da258701d79bbb82b0cd2f9c45550fe16936022e | |
| parent | a3d2a050957c10aa2b0f0bda1534dfa9a05ab180 (diff) | |
automatic import of python-pharmpy-coreopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pharmpy-core.spec | 92 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/pharmpy-core-0.94.0.tar.gz diff --git a/python-pharmpy-core.spec b/python-pharmpy-core.spec new file mode 100644 index 0000000..15df3ec --- /dev/null +++ b/python-pharmpy-core.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pharmpy-core +Version: 0.94.0 +Release: 1 +Summary: Pharmacometric modeling +License: GNU Lesser General Public License v3 (LGPLv3) +URL: https://pharmpy.github.io +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/33/92/af1627ce46934fce9307589f066b4051dffeb092e26e5c300610a7b4fd51/pharmpy-core-0.94.0.tar.gz +BuildArch: noarch + +Requires: python3-lark +Requires: python3-sympy +Requires: python3-symengine +Requires: python3-pandas +Requires: python3-numexpr +Requires: python3-altair +Requires: python3-jsonschema +Requires: python3-sphinx +Requires: python3-csscompressor +Requires: python3-beautifulsoup4 +Requires: python3-lxml +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-dask +Requires: python3-distributed +Requires: python3-networkx +Requires: python3-appdirs +Requires: python3-rich +Requires: python3-jupyter-sphinx +Requires: python3-pyreadr + +%description + + +%package -n python3-pharmpy-core +Summary: Pharmacometric modeling +Provides: python-pharmpy-core +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pharmpy-core + + +%package help +Summary: Development documents and examples for pharmpy-core +Provides: python3-pharmpy-core-doc +%description help + + +%prep +%autosetup -n pharmpy-core-0.94.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-pharmpy-core -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.94.0-1 +- Package Spec generated @@ -0,0 +1 @@ +47cb44169597eeb791eedb02f917fc13 pharmpy-core-0.94.0.tar.gz |
