%global srcname instant Name: python-%{srcname} Version: 2016.1.0 Release: 29%{?dist} Summary: Python module for instant inlining of C and C++ code License: BSD URL: http://www.fenicsproject.org Source0: https://bitbucket.org/fenics-project/instant/downloads/%{srcname}-%{version}.tar.gz BuildArch: noarch %description Instant is a Python module that allows for instant inlining of C and C++ code in Python. It is a small Python module built on top of SWIG and Distutils. %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} Instant is a Python module that allows for instant inlining of C and C++ code in Python. It is a small Python module built on top of SWIG and Distutils. %prep %autosetup -n %{srcname}-%{version} # Change shebang in all relevant files including in subdirectories find -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} + chmod 0644 test/* %build %py3_build %install %py3_install %files -n python3-%{srcname} %doc AUTHORS ChangeLog README TODO doc/sphinx/ test/ %license COPYING %{_mandir}/man*/*.1* %{_bindir}/instant* %{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}*.egg-info %changelog * Fri Jul 19 2024 Fedora Release Engineering - 2016.1.0-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2016.1.0-28 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2016.1.0-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2016.1.0-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2016.1.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 2016.1.0-24 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2016.1.0-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2016.1.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2016.1.0-21 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2016.1.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2016.1.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2016.1.0-18 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2016.1.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2016.1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Fabian Affolter - 2016.1.0-15 - Add python3-setuptools as BR * Tue May 26 2020 Miro Hrončok - 2016.1.0-14 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 2016.1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 2016.1.0-12 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 2016.1.0-11 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 2016.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2016.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 2016.1.0-8 - Subpackage python2-instant has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 2016.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 2016.1.0-6 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 2016.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2016.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2016.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 2016.1.0-2 - Rebuild for Python 3.6 * Thu Sep 8 2016 Jan Beran - 2016.1.0-1 - update to version 2016.1.0 * Tue Jul 19 2016 Fedora Release Engineering - 1.6.0-4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 1.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Nov 14 2015 Fabian Affolter - 1.6.0-2 - Cleanup and py3 * Fri Oct 16 2015 Fabian Affolter - 1.6.0-1 - Update to lastest upsteam release 1.6.0 (rhbz#1247602) * Thu Jun 18 2015 Fedora Release Engineering - 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Mar 03 2015 Fabian Affolter - 1.5.0-1 - Update to lastest upsteam release 1.5.0 (rhbz#1181547) * Sun Aug 03 2014 Fabian Affolter - 1.4.0-1 - Update spec file - Update to lastest upsteam release 1.4.0 * Sat Jun 07 2014 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jan 25 2013 Jonathan G. Underwood - 1.1.0-1 - Update to version 1.1.0 * Sat Jul 21 2012 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Feb 11 2012 Fabian Affolter - 1.0.0-1 - Updated to new upstream 1.0.0 * Sat Jan 14 2012 Fedora Release Engineering - 0.9.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Mar 27 2011 Fabian Affolter - 0.9.9-1 - Update URL - Update to new upstream version 0.9.9 * Tue Feb 08 2011 Fedora Release Engineering - 0.9.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jul 22 2010 David Malcolm - 0.9.8-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sat Jul 03 2010 Fabian Affolter - 0.9.8-1 - Update to new upsteam version 0.9.8 - Update the spec file to reflect changes in the guidelines - Update docs * Sun Jul 26 2009 Fedora Release Engineering - 0.9.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Mar 24 2009 Fabian Affolter - 0.9.6-1 - Update to new upstream version 0.9.6 * Thu Feb 26 2009 Fedora Release Engineering - 0.9.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 04 2009 Fabian Affolter - 0.9.5-2 - Add tests * Fri Jan 30 2009 Fabian Affolter - 0.9.5-1 - Initial package for Fedora