From bc09c19a6f3748d0b2169a5d96395c81d967ddc1 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 9 Mar 2023 17:36:32 +0000 Subject: automatic import of python-transforms3d --- .gitignore | 1 + python-transforms3d.spec | 249 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 251 insertions(+) create mode 100644 python-transforms3d.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..680ad9b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/transforms3d-0.4.1.tar.gz diff --git a/python-transforms3d.spec b/python-transforms3d.spec new file mode 100644 index 0000000..9cd7be3 --- /dev/null +++ b/python-transforms3d.spec @@ -0,0 +1,249 @@ +%global _empty_manifest_terminate_build 0 +Name: python-transforms3d +Version: 0.4.1 +Release: 1 +Summary: Functions for 3D coordinate transformations +License: BSD license +URL: http://github.com/matthew-brett/transforms3d +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bd/65/915840e94f946e878f3081da6f42c313162d23118bc2e81d7206600eaf00/transforms3d-0.4.1.tar.gz +BuildArch: noarch + + +%description +############ +Transforms3d +############ + +Code to convert between various geometric transformations. + +* Composing rotations / zooms / shears / translations into affine matrix; +* Decomposing affine matrix into rotations / zooms / shears / translations; +* Conversions between different representations of rotations, including: + + * 3x3 Rotation matrices; + * Euler angles; + * quaternions. + +We have tried to document the algorithms carefully and write clear code in the +hope that this code can be a teaching reference. We document the math behind +some of the algorithms using `sympy `_ in +``transforms3d/derivations``. We would be very pleased if y'all would like to +add your own algorithms and derivations - please get a copy of the code from +https://github.com/matthew-brett/transforms3d and get on down, +algorithmically. Feel free to use the github issue tracker and pull request +system to ask for advice and support. + +************* +Documentation +************* + +Documentation for latest released version at +http://matthew-brett.github.io/transforms3d + +**** +Code +**** + +See https://github.com/matthew-brett/transforms3d + +Released under the BSD two-clause license - see the file ``LICENSE`` in the +source distribution. + +Much of the code comes from `transformations.py +`_ by Christoph +Gohlke, also released under the BSD license. + +We use Github actions to test the code automatically under Pythons 3.7 through +3.10. + +We depend on numpy >= 1.15. You may be able to make it work on an earlier +numpy if you really needed that. + +The latest released version is at https://pypi.python.org/pypi/transforms3d + +******* +Support +******* + +Please put up issues on the `transforms3d issue tracker +`_. + + + + +%package -n python3-transforms3d +Summary: Functions for 3D coordinate transformations +Provides: python-transforms3d +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-transforms3d +############ +Transforms3d +############ + +Code to convert between various geometric transformations. + +* Composing rotations / zooms / shears / translations into affine matrix; +* Decomposing affine matrix into rotations / zooms / shears / translations; +* Conversions between different representations of rotations, including: + + * 3x3 Rotation matrices; + * Euler angles; + * quaternions. + +We have tried to document the algorithms carefully and write clear code in the +hope that this code can be a teaching reference. We document the math behind +some of the algorithms using `sympy `_ in +``transforms3d/derivations``. We would be very pleased if y'all would like to +add your own algorithms and derivations - please get a copy of the code from +https://github.com/matthew-brett/transforms3d and get on down, +algorithmically. Feel free to use the github issue tracker and pull request +system to ask for advice and support. + +************* +Documentation +************* + +Documentation for latest released version at +http://matthew-brett.github.io/transforms3d + +**** +Code +**** + +See https://github.com/matthew-brett/transforms3d + +Released under the BSD two-clause license - see the file ``LICENSE`` in the +source distribution. + +Much of the code comes from `transformations.py +`_ by Christoph +Gohlke, also released under the BSD license. + +We use Github actions to test the code automatically under Pythons 3.7 through +3.10. + +We depend on numpy >= 1.15. You may be able to make it work on an earlier +numpy if you really needed that. + +The latest released version is at https://pypi.python.org/pypi/transforms3d + +******* +Support +******* + +Please put up issues on the `transforms3d issue tracker +`_. + + + + +%package help +Summary: Development documents and examples for transforms3d +Provides: python3-transforms3d-doc +%description help +############ +Transforms3d +############ + +Code to convert between various geometric transformations. + +* Composing rotations / zooms / shears / translations into affine matrix; +* Decomposing affine matrix into rotations / zooms / shears / translations; +* Conversions between different representations of rotations, including: + + * 3x3 Rotation matrices; + * Euler angles; + * quaternions. + +We have tried to document the algorithms carefully and write clear code in the +hope that this code can be a teaching reference. We document the math behind +some of the algorithms using `sympy `_ in +``transforms3d/derivations``. We would be very pleased if y'all would like to +add your own algorithms and derivations - please get a copy of the code from +https://github.com/matthew-brett/transforms3d and get on down, +algorithmically. Feel free to use the github issue tracker and pull request +system to ask for advice and support. + +************* +Documentation +************* + +Documentation for latest released version at +http://matthew-brett.github.io/transforms3d + +**** +Code +**** + +See https://github.com/matthew-brett/transforms3d + +Released under the BSD two-clause license - see the file ``LICENSE`` in the +source distribution. + +Much of the code comes from `transformations.py +`_ by Christoph +Gohlke, also released under the BSD license. + +We use Github actions to test the code automatically under Pythons 3.7 through +3.10. + +We depend on numpy >= 1.15. You may be able to make it work on an earlier +numpy if you really needed that. + +The latest released version is at https://pypi.python.org/pypi/transforms3d + +******* +Support +******* + +Please put up issues on the `transforms3d issue tracker +`_. + + + + +%prep +%autosetup -n transforms3d-0.4.1 + +%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-transforms3d -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot - 0.4.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..468c5df --- /dev/null +++ b/sources @@ -0,0 +1 @@ +fa8f6179784f465a21333961e1bdf3ab transforms3d-0.4.1.tar.gz -- cgit v1.2.3