%global srcname pycollada Name: python-collada Version: 0.8 Release: 2%{?dist} Summary: A python module for creating, editing and loading COLLADA # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://github.com/pycollada/pycollada Source0: https://github.com/pycollada/pycollada/archive/v%{version}/%{srcname}-%{version}.tar.gz # Patch for NumPy 2.x compatibility # https://github.com/pycollada/pycollada/pull/147 Patch: https://github.com/pycollada/pycollada/pull/147.patch BuildArch: noarch # Python 3 BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel # unit test requirements BuildRequires: python3-dateutil BuildRequires: python3-six BuildRequires: python3-numpy BuildRequires: python3-pytest %description pycollada is a python module for creating, editing and loading COLLADA, which is a COLLAborative Design Activity for establishing an interchange file format for interactive 3D applications. The library allows you to load a COLLADA file and interact with it as a python object. In addition, it supports creating a collada python object from scratch, as well as in-place editing. %package -n python%{python3_pkgversion}-collada Summary: A python 3 module for creating, editing and loading COLLADA Requires: python%{python3_pkgversion}-dateutil Requires: python%{python3_pkgversion}-numpy %{?python_provide: %python_provide python%{python3_pkgversion}-collada} %description -n python%{python3_pkgversion}-collada pycollada is a python 3 module for creating, editing and loading COLLADA, which is a COLLAborative Design Activity for establishing an interchange file format for interactive 3D applications. The library allows you to load a COLLADA file and interact with it as a python object. In addition, it supports creating a collada python object from scratch, as well as in-place editing. %prep %autosetup -p1 -n %{srcname}-%{version} %build %pyproject_wheel %install %pyproject_install %check %pytest %files -n python%{python3_pkgversion}-collada %license COPYING %doc AUTHORS.md CHANGELOG.rst README.markdown %{python3_sitelib}/* %changelog * Sat Dec 21 2024 Sandro - 0.8-2 - Apply patch for NumPy 2.x * Tue Oct 29 2024 Richard Shaw - 0.8-1 - Update to 0.8. * Wed Sep 04 2024 Miroslav Suchý - 0.7.2-12 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.7.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 0.7.2-10 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.7.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.7.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.7.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 0.7.2-6 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.7.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.7.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.7.2-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Dec 05 2021 Richard Shaw - 0.7.2-1 - Update to 0.7.2. * Fri Jul 23 2021 Fedora Release Engineering - 0.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.7.1-2 - Rebuilt for Python 3.10 * Sat Apr 17 2021 Richard Shaw - 0.7.1-1 - Update to 0.7.1. * Wed Jan 27 2021 Fedora Release Engineering - 0.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.6-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.6-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.6-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 20 2019 Miro Hrončok - 0.6-2 - Subpackage python2-collada has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Mon Apr 08 2019 Richard Shaw - 0.6-1 - Update to 0.6. * Sat Feb 02 2019 Fedora Release Engineering - 0.4-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.4-19 - Rebuilt for Python 3.7 * Fri Mar 09 2018 Iryna Shcherbina - 0.4-18 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Dec 08 2017 Richard Shaw - 0.4-17 - Fix ambiguous Python 2 dependency declarations https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 0.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Feb 22 2017 Richard Shaw - 0.4-15 - Fix FTBFS by disabling python3 tests for now, fixes RHBZ#1424133. - Fix build requirements for python 3 for EPEL 7 so proper package is built. * Sat Feb 11 2017 Fedora Release Engineering - 0.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.4-13 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.4-12 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Mon Jul 6 2015 Richard Shaw - 0.4-9 - Fix FTBFS on rawhide, fixes BZ#1239822. * Thu Jun 18 2015 Fedora Release Engineering - 0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Oct 1 2014 Richard Shaw - 0.4-7 - Fix error for Python 3.4. * Mon Sep 8 2014 Richard Shaw - 0.4-6 - Add Python 3 support. * Sat Jun 07 2014 Fedora Release Engineering - 0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Mar 9 2013 John Morris - 0.4-3 - Rename disable_unittest_downloads patch to silence fedora-review warning and add patch description in a comment * Fri Jan 25 2013 John Morris - 0.4-2 - Add check section - Add extra BRs for check and build - Remove unneeded python site{lib,arch} macros * Wed Jan 23 2013 Richard Shaw - 0.4-1 - Initial packaging.