%global modname transforms3d Name: python-%{modname} Version: 0.3.1 Release: 2%{?dist} Summary: 3 dimensional spatial transformations License: BSD URL: http://matthew-brett.github.io/transforms3d/ Source0: https://github.com/matthew-brett/transforms3d/archive/%{version}/%{modname}-%{version}.tar.gz BuildArch: noarch %description 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. %package -n python2-%{modname} Summary: %{summary} %{?python_provide:%python_provide python2-%{modname}} BuildRequires: python2-devel # Test deps BuildRequires: python2-nose BuildRequires: python2-numpy Requires: python2-numpy Recommends: python2-sympy %description -n python2-%{modname} 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. Python 2 version. %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} BuildRequires: python3-devel # Test deps BuildRequires: python3-nose BuildRequires: python3-numpy Requires: python3-numpy Recommends: python3-sympy %description -n python3-%{modname} 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. Python 3 version. %prep %autosetup -n %{modname}-%{version} -p1 %build %py2_build %py3_build %install %py2_install %py3_install %check nosetests-%{python2_version} -v nosetests-%{python3_version} -v %files -n python2-%{modname} %license LICENSE %doc README.rst AUTHORS %{python2_sitelib}/%{modname}* %files -n python3-%{modname} %license LICENSE %doc README.rst AUTHORS %{python3_sitelib}/%{modname}* %changelog * Fri Feb 09 2018 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Nov 06 2017 Igor Gnatenko - 0.3.1-1 - Update to 0.3.1 * Thu Jul 27 2017 Fedora Release Engineering - 0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Mar 11 2017 Igor Gnatenko - 0.3-1 - Update to 0.3 * Sat Feb 11 2017 Fedora Release Engineering - 0.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro HronĨok - 0.2.1-6 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.2.1-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Dec 06 2015 Igor Gnatenko - 0.2.1-3 - Backport another upstream patch * Sun Nov 01 2015 Igor Gnatenko - 0.2.1-2 - Backport patch from upstream (nipy/nipy) * Sun Nov 01 2015 Igor Gnatenko - 0.2.1-1 - Initital package