Name: python-dtopt Summary: Add options to doctest examples while they are running Version: 0.1 Release: 49%{?dist} License: MIT URL: http://pypi.python.org/pypi/dtopt/ Source0: http://pypi.python.org/packages/source/d/dtopt/dtopt-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %global _description\ dtopts adds options to doctest examples while they are running. When\ using the doctest module it is often convenient to use the ELLIPSIS\ option, which allows you to use ... as a wildcard. But you either have\ to setup the test runner to use this option, or you must put #doctest:\ +ELLIPSIS on every example that uses this feature. dtopt lets you enable\ this option globally from within a doctest, by doing:\ >>> from dtopt import ELLIPSIS %description %_description %package -n python3-dtopt Summary: Add options to doctest examples while they are running Version: 0.1 %description -n python3-dtopt dtopts adds options to doctest examples while they are running. When using the doctest module it is often convenient to use the ELLIPSIS option, which allows you to use ... as a wildcard. But you either have to setup the test runner to use this option, or you must put #doctest: +ELLIPSIS on every example that uses this feature. dtopt lets you enable this option globally from within a doctest, by doing: >>> from dtopt import ELLIPSIS %prep %setup -q -n dtopt-%{version} # Remove bundled egg info if it exists. rm -rf *.egg-info # There is a print statement in the test that is not python3 compatible. rm dtopt/tests.py* %build %py3_build %install %py3_install %files -n python3-dtopt %doc docs/* %{python3_sitelib}/dtopt/ %{python3_sitelib}/dtopt*.egg-info/ %changelog * Fri Jun 07 2024 Python Maint - 0.1-49 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.1-48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.1-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.1-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.1-45 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.1-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.1-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.1-42 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.1-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.1-40 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.1-39 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.1-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.1-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.1-36 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.1-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.1-34 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.1-33 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.1-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Mar 17 2019 Miro Hrončok - 0.1-31 - Subpackage python2-dtopt has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Feb 02 2019 Fedora Release Engineering - 0.1-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.1-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.1-28 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 16 2018 Iryna Shcherbina - 0.1-26 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - BR python2-devel - Remove obsolete BuildRoot and Group tags and %%clean section * Fri Sep 29 2017 Troy Dawson - 0.1-25 - Cleanup spec file conditionals * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.1-24 - Python 2 binary package renamed to python2-dtopt See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 0.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.1-21 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.1-20 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.1-18 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 30 2014 Toshio Kuratomi - 0.1-16 - Replace python-setuptools-devel BR with python-setuptools * Sat Jun 07 2014 Fedora Release Engineering - 0.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 14 2014 Bohuslav Kabrda - 0.1-14 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Sun Aug 04 2013 Fedora Release Engineering - 0.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Feb 19 2013 Ralph Bean - 0.1-12 - Added python3 subpackage. * Thu Feb 14 2013 Fedora Release Engineering - 0.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jul 22 2010 David Malcolm - 0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sun Jul 26 2009 Fedora Release Engineering - 0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Apr 14 2009 Ricky Zhou - 0.1-5 - Change define to global. - Remove unnecessary BuildRequires on python-devel. * Thu Feb 26 2009 Fedora Release Engineering - 0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.1-3 - Rebuild for Python 2.6 * Fri Jun 27 2008 Ricky Zhou 0.1-2 - Initial package for Fedora * Sat Mar 15 2008 Tom "spot" Callaway 0.1-1 - Initial package for Fedora