From 26821305e16967b324a7a4f815ba9207193db6da Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 20 Sep 2026 14:48:56 +0000 Subject: automatic import of python-transforms3d --- .gitignore | 1 + python3-transforms3d.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+) create mode 100644 python3-transforms3d.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c180e8d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/python-transforms3d-0.4.2.tar.gz diff --git a/python3-transforms3d.spec b/python3-transforms3d.spec new file mode 100644 index 0000000..c47a36f --- /dev/null +++ b/python3-transforms3d.spec @@ -0,0 +1,66 @@ +%global pypi_name transforms3d + +Name: python-%{pypi_name} +Version: 0.4.2 +Release: 1%{?dist} +Summary: Functions for 3D coordinate transformations +License: BSD-2-Clause +URL: https://github.com/matthew-brett/transforms3d +Source0: %{url}/archive/refs/tags/%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +Code to convert between various geometric transformations including: +composing rotations/zooms/shears/translations into affine matrices; +decomposing affine matrices; and conversions between different +representations of rotations (3x3 rotation matrices, Euler angles, +quaternions). + +%package -n python3-%{pypi_name} +Summary: Functions for 3D coordinate transformations +Provides: python-%{pypi_name} = %{version}-%{release} +Provides: python3dist(%{pypi_name}) = %{version} +Requires: python3-numpy >= 1.15 + +%description -n python3-%{pypi_name} +Code to convert between various geometric transformations including: +composing rotations/zooms/shears/translations into affine matrices; +decomposing affine matrices; and conversions between different +representations of rotations (3x3 rotation matrices, Euler angles, +quaternions). + +%package help +Summary: Development documents and examples for %{pypi_name} +Provides: python3-%{pypi_name}-doc +Requires: python3-%{pypi_name} = %{version}-%{release} + +%description help +Documentation and examples for the transforms3d Python package. + +%prep +%autosetup -n %{name}-%{version} -p1 +# Patch setup.py to avoid versioneer dependency at build time. +# The version is already available via transforms3d/_version.py. +sed -i 's/import versioneer/pass # versioneer disabled\nclass _FakeVersioneer:\n def get_version(self): return "%{version}"\n def get_cmdclass(self): return {}\nversioneer = _FakeVersioneer()/g' setup.py + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-%{version}*.egg-info/ + +%files help +%license LICENSE +%doc README.rst Changelog + +%changelog +* Sun Sep 20 2026 Python_Bot - 0.4.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..d722530 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +6664d17dd03f5315440a1159ffd346d3 python-transforms3d-0.4.2.tar.gz -- cgit v1.2.3