summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 01:42:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 01:42:44 +0000
commite3cdbc3312810133c4f217bf32bd49f0d3def2cf (patch)
treeee4a913c4ea10ab7eaf3f68c5345d5d546e4bfe6
parent3931fdc4914fadde07d4666434aa2306879bbb17 (diff)
automatic import of python-jaxlie
-rw-r--r--.gitignore1
-rw-r--r--python-jaxlie.spec94
-rw-r--r--sources1
3 files changed, 96 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..10aab6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jaxlie-1.3.3.tar.gz
diff --git a/python-jaxlie.spec b/python-jaxlie.spec
new file mode 100644
index 0000000..3801799
--- /dev/null
+++ b/python-jaxlie.spec
@@ -0,0 +1,94 @@
+%global _empty_manifest_terminate_build 0
+Name: python-jaxlie
+Version: 1.3.3
+Release: 1
+Summary: Matrix Lie groups in JAX
+License: MIT
+URL: http://github.com/brentyi/jaxlie
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/86/f5/27e289d7dc7b1c1cd4088015855e8dc35f2bd1db36cfcec901fdc790b5a4/jaxlie-1.3.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-jax
+Requires: python3-jaxlib
+Requires: python3-jax-dataclasses
+Requires: python3-numpy
+Requires: python3-overrides
+Requires: python3-tyro
+Requires: python3-mypy
+Requires: python3-jax
+Requires: python3-flax
+Requires: python3-hypothesis[numpy]
+Requires: python3-pytest
+Requires: python3-pytest-xdist[psutil]
+Requires: python3-pytest-cov
+
+%description
+### Install (Python >=3.7)
+```bash
+# Python 3.6 releases also exist, but are no longer being updated.
+pip install jaxlie
+
+%package -n python3-jaxlie
+Summary: Matrix Lie groups in JAX
+Provides: python-jaxlie
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-jaxlie
+### Install (Python >=3.7)
+```bash
+# Python 3.6 releases also exist, but are no longer being updated.
+pip install jaxlie
+
+%package help
+Summary: Development documents and examples for jaxlie
+Provides: python3-jaxlie-doc
+%description help
+### Install (Python >=3.7)
+```bash
+# Python 3.6 releases also exist, but are no longer being updated.
+pip install jaxlie
+
+%prep
+%autosetup -n jaxlie-1.3.3
+
+%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-jaxlie -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4e13ef9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+14331fc6e30a55a0d3d46b147bd41c0c jaxlie-1.3.3.tar.gz