|
|
dbcf400 |
%global srcname doit
|
|
|
dbcf400 |
|
|
|
dbcf400 |
Name: python-%{srcname}
|
|
|
8950fbe |
Version: 0.36.0
|
|
|
8950fbe |
Release: 1%{?dist}
|
|
|
1feecf7 |
Summary: Automation Tool
|
|
|
1feecf7 |
|
|
|
1feecf7 |
License: MIT
|
|
|
8950fbe |
URL: https://pydoit.org/
|
|
|
dbcf400 |
Source0: https://pypi.io/packages/source/d/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
8950fbe |
Patch1: python-doit_ignore_versions.patch
|
|
|
1feecf7 |
|
|
|
1feecf7 |
BuildArch: noarch
|
|
|
495e3d6 |
|
|
|
8950fbe |
BuildRequires: make
|
|
|
1feecf7 |
BuildRequires: strace
|
|
|
8950fbe |
BuildRequires: python3-devel
|
|
|
1feecf7 |
|
|
|
8950fbe |
%global _description %{expand:
|
|
|
dbcf400 |
python-doit is a build tool (in the same class as make, cmake, scons,
|
|
|
dbcf400 |
ant and others)
|
|
|
1feecf7 |
|
|
|
dbcf400 |
python-doit can be used as:
|
|
|
dbcf400 |
* a build tool (generic and flexible)
|
|
|
dbcf400 |
* home of your management scripts (it helps you organize and combine
|
|
|
dbcf400 |
shell scripts and python scripts)
|
|
|
dbcf400 |
* a functional tests runner (combine together different tools)
|
|
|
dbcf400 |
* a configuration management system
|
|
|
8950fbe |
* manage computational pipelines}
|
|
|
8950fbe |
|
|
|
8950fbe |
%description %_description
|
|
|
1feecf7 |
|
|
|
dbcf400 |
%package -n python3-%{srcname}
|
|
|
dbcf400 |
Summary: %{summary}
|
|
|
268ae4d |
%{?python_enable_dependency_generator}
|
|
|
dbcf400 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
1feecf7 |
|
|
|
8950fbe |
%description -n python3-%{srcname} %_description
|
|
|
1feecf7 |
|
|
|
dbcf400 |
%package -n python3-%{srcname}-doc
|
|
|
1feecf7 |
Summary: Documentation for %{name}
|
|
|
58ee0a5 |
Requires: python3-%{srcname} = %{version}-%{release}
|
|
|
58ee0a5 |
%{?python_provide:%python_provide python3-%{srcname}-doc}
|
|
|
58ee0a5 |
|
|
|
dbcf400 |
%description -n python3-%{srcname}-doc
|
|
|
1feecf7 |
%{name} documentation
|
|
|
1feecf7 |
|
|
|
1feecf7 |
%prep
|
|
|
dbcf400 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
1feecf7 |
|
|
|
dbcf400 |
find -type f -exec sed -i '1s=^#! /usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} +
|
|
|
1feecf7 |
|
|
|
8950fbe |
%generate_buildrequires
|
|
|
8950fbe |
%pyproject_buildrequires dev_requirements.txt doc_requirements.txt -r
|
|
|
74e62bf |
|
|
|
1feecf7 |
%build
|
|
|
8950fbe |
%pyproject_wheel
|
|
|
1feecf7 |
|
|
|
1feecf7 |
cd doc
|
|
|
58ee0a5 |
PYTHONPATH=.. make html SPHINXBUILD=sphinx-build-3
|
|
|
1feecf7 |
rm -rf _build/html/_sources/ _build/html/.buildinfo
|
|
|
1feecf7 |
cd -
|
|
|
1feecf7 |
|
|
|
1feecf7 |
%install
|
|
|
8950fbe |
%pyproject_install
|
|
|
1feecf7 |
|
|
|
1feecf7 |
install -p -D -m 0644 bash_completion_doit %{buildroot}%{_sysconfdir}/bash_completion.d/doit
|
|
|
8950fbe |
%pyproject_save_files %{srcname}
|
|
|
1feecf7 |
|
|
|
1feecf7 |
%check
|
|
|
dbcf400 |
# Is impossible to run tests because the testsuite is not ready for Python 3
|
|
|
dbcf400 |
# environment and there is also one unresolved test dependency doit-py
|
|
|
dbcf400 |
# %{__python3} -m pytest
|
|
|
8950fbe |
%py3_check_import %{srcname}
|
|
|
1feecf7 |
|
|
|
8950fbe |
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
|
1feecf7 |
%{_bindir}/doit
|
|
|
74e62bf |
%license LICENSE
|
|
|
988cd9c |
%doc README.rst
|
|
|
aa8c72f |
%{_sysconfdir}/bash_completion.d/doit
|
|
|
1feecf7 |
|
|
|
dbcf400 |
%files -n python3-%{srcname}-doc
|
|
|
74e62bf |
%license LICENSE
|
|
|
74e62bf |
# doc is not present in the tar ball (reported upstream)
|
|
|
74e62bf |
#%doc doc/tutorial
|
|
|
1feecf7 |
%doc doc/_build/html
|
|
|
1feecf7 |
%doc CHANGES
|
|
|
1feecf7 |
%doc TODO.txt
|
|
|
1feecf7 |
|
|
|
1feecf7 |
%changelog
|
|
|
8950fbe |
* Thu Feb 1 2024 José Matos <jamatos@fedoraproject.org> - 0.36.0-1
|
|
|
8950fbe |
- Update to 0.36.0
|
|
|
8950fbe |
- Update the spec file to more modern Python guidelines
|
|
|
8950fbe |
|
|
|
cfb74c3 |
* Thu Feb 1 2024 Maxwell G <maxwell@gtmx.me> - 0.33.1-13
|
|
|
cfb74c3 |
- Remove unused python3-mock test dependency
|
|
|
cfb74c3 |
|
|
|
1ca4616 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.1-12
|
|
|
1ca4616 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
1ca4616 |
|
|
|
9d025ce |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.1-11
|
|
|
9d025ce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
9d025ce |
|
|
|
d94b2b4 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.1-10
|
|
|
d94b2b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
d94b2b4 |
|
|
|
60fff16 |
* Tue Jul 04 2023 Python Maint <python-maint@redhat.com> - 0.33.1-9
|
|
|
60fff16 |
- Rebuilt for Python 3.12
|
|
|
60fff16 |
|
|
|
71d2990 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.1-8
|
|
|
71d2990 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
71d2990 |
|
|
|
d8853a1 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.1-7
|
|
|
d8853a1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
d8853a1 |
|
|
|
96cb21d |
* Mon Jun 20 2022 Python Maint <python-maint@redhat.com> - 0.33.1-6
|
|
|
96cb21d |
- Rebuilt for Python 3.11
|
|
|
96cb21d |
|
|
|
53922f8 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.1-5
|
|
|
53922f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
53922f8 |
|
|
|
b1f3662 |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.1-4
|
|
|
b1f3662 |
- Second attempt - Rebuilt for
|
|
|
b1f3662 |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
b1f3662 |
|
|
|
6a0c30f |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.33.1-3
|
|
|
6a0c30f |
- Rebuilt for Python 3.10
|
|
|
6a0c30f |
|
|
|
dab4814 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.1-2
|
|
|
dab4814 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
dab4814 |
|
|
|
a94c9e2 |
* Fri Sep 4 2020 José Matos <jamatos@fedoraproject.org> - 0.33.1-1
|
|
|
a94c9e2 |
- Update to 0.33.1
|
|
|
a94c9e2 |
|
|
|
b6f11df |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.32.0-3
|
|
|
b6f11df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b6f11df |
|
|
|
60e17ea |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.32.0-2
|
|
|
60e17ea |
- Rebuilt for Python 3.9
|
|
|
60e17ea |
|
|
|
2173505 |
* Thu Mar 19 2020 José Matos <jamatos@fedoraproject.org> - 0.32.0-1
|
|
|
2173505 |
- Update to 0.32.0
|
|
|
2173505 |
|
|
|
58950b6 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.1-8
|
|
|
58950b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
58950b6 |
|
|
|
0c46dcc |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.31.1-7
|
|
|
0c46dcc |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
0c46dcc |
|
|
|
496f71f |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.31.1-6
|
|
|
496f71f |
- Rebuilt for Python 3.8
|
|
|
496f71f |
|
|
|
bc890e1 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.1-5
|
|
|
bc890e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
bc890e1 |
|
|
|
495e3d6 |
* Mon Apr 15 2019 José Matos <jamatos@fedoraproject.org> - 0.31.1-4
|
|
|
495e3d6 |
- explictly require python3-setuptools at runtime (see #1695045)
|
|
|
495e3d6 |
|
|
|
5222c25 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.1-3
|
|
|
5222c25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
5222c25 |
|
|
|
268ae4d |
* Mon Aug 27 2018 José Matos <jamatos@fedoraproject.org> - 0.31.1-2
|
|
|
268ae4d |
- use automated dependency generator.
|
|
|
268ae4d |
|
|
|
5244f21 |
* Mon Aug 27 2018 José Matos <jamatos@fedoraproject.org> - 0.31.1-1
|
|
|
5244f21 |
- update to 0.31.1
|
|
|
74e62bf |
- remove bundled egg-info
|
|
|
74e62bf |
- identify the license
|
|
|
5244f21 |
|
|
|
0c83618 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.3-5
|
|
|
0c83618 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
0c83618 |
|
|
|
e290e9b |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.30.3-4
|
|
|
e290e9b |
- Rebuilt for Python 3.7
|
|
|
e290e9b |
|
|
|
510f470 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.3-3
|
|
|
510f470 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
510f470 |
|
|
|
58ee0a5 |
* Tue Jan 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.30.3-2
|
|
|
58ee0a5 |
- Fix packaging errors by the previous commit (#1530265)
|
|
|
58ee0a5 |
- The doc package now requires python3-doit, not python-doit
|
|
|
58ee0a5 |
- Add proper obsoletes
|
|
|
58ee0a5 |
- Make the docs actually build by setting SPHINXBUILD
|
|
|
58ee0a5 |
- Add python_provide to the doc subpackage
|
|
|
58ee0a5 |
|
|
|
dbcf400 |
* Thu Aug 24 2017 Jan Beran <jberan@redhat.com> - 0.30.3-1
|
|
|
dbcf400 |
- New version (Python 3 only)
|
|
|
dbcf400 |
|
|
|
be35841 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.28.0-9
|
|
|
be35841 |
- Python 2 binary package renamed to python2-doit
|
|
|
be35841 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
be35841 |
|
|
|
4aed4fc |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.0-8
|
|
|
4aed4fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4aed4fc |
|
|
|
199f52a |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.0-7
|
|
|
199f52a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
199f52a |
|
|
|
46e14a6 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.28.0-6
|
|
|
46e14a6 |
- Rebuild for Python 3.6
|
|
|
46e14a6 |
|
|
|
3b5216a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28.0-5
|
|
|
3b5216a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
3b5216a |
|
|
|
2c75caf |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.0-4
|
|
|
2c75caf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
2c75caf |
|
|
|
6472047 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28.0-3
|
|
|
6472047 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
6472047 |
|
|
|
2b353cb |
* Wed Aug 26 2015 Pete Travis <immanetize@fedoraproject.org> - 0.28.0-2
|
|
|
5244f21 |
- add requires for python-configparser
|
|
|
2b353cb |
|
|
|
61168d5 |
* Thu Jul 2 2015 José Matos <jamatos@fedoraproject.org> - 0.28.0-1
|
|
|
61168d5 |
- update to 0.28
|
|
|
61168d5 |
|
|
|
2b8fa61 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26.0-2
|
|
|
2b8fa61 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
2b8fa61 |
|
|
|
6742bd4 |
* Wed Sep 24 2014 José Matos <jamatos@fedoraproject.org> - 0.26.0-1
|
|
|
6742bd4 |
- update to 0.26
|
|
|
beea586 |
- don't own /etc/bash_completion.d/
|
|
|
6742bd4 |
|
|
|
f5369e9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.0-3
|
|
|
f5369e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f5369e9 |
|
|
|
9f4b9e6 |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.25.0-2
|
|
|
9f4b9e6 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
9f4b9e6 |
|
|
|
a023e54 |
* Thu Mar 27 2014 José Matos <jamatos@fedoraproject.org> - 0.25.0-1
|
|
|
a023e54 |
- update to 0.25
|
|
|
a023e54 |
|
|
|
63734e5 |
* Fri Nov 29 2013 José Matos <jamatos@fedoraproject.org> - 0.24.0-1
|
|
|
63734e5 |
- update to 0.24
|
|
|
63734e5 |
|
|
|
f27a897 |
* Thu Nov 7 2013 José Matos <jamatos@fedoraproject.org> - 0.23.0-1
|
|
|
f27a897 |
- update to 0.23
|
|
|
f27a897 |
- patch that removed distribute bootstrapping during installation is
|
|
|
f27a897 |
gone since this change was incorporated upstream
|
|
|
f27a897 |
|
|
|
b705c6a |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-2
|
|
|
b705c6a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b705c6a |
|
|
|
f3141c5 |
* Sat Jul 13 2013 José Matos <jamatos@fedoraproject.org> - 0.22.0-1
|
|
|
f3141c5 |
- update to 0.22
|
|
|
434a360 |
- force removal of the distrute_setup.py to use the system version
|
|
|
f3141c5 |
|
|
|
1feecf7 |
* Mon Jun 3 2013 José Matos <jamatos@fedoraproject.org> - 0.21.0-2
|
|
|
1feecf7 |
- Add license and readme to python3 versions since the package can be
|
|
|
1feecf7 |
installed separately
|
|
|
1feecf7 |
|
|
|
1feecf7 |
* Fri May 3 2013 José Matos <jamatos@fedoraproject.org> - 0.21.0-1
|
|
|
1feecf7 |
- update to 0.21.0
|
|
|
1feecf7 |
|
|
|
1feecf7 |
* Mon Apr 22 2013 José Matos <jamatos@fedoraproject.org> - 0.20.0-1
|
|
|
1feecf7 |
- New stable release
|
|
|
1feecf7 |
|
|
|
1feecf7 |
* Mon Dec 3 2012 José Matos <jamatos@fedoraproject.org> - 0.18.1-1
|
|
|
1feecf7 |
- New stable release
|
|
|
1feecf7 |
|
|
|
1feecf7 |
* Mon Dec 3 2012 José Matos <jamatos@fedoraproject.org> - 0.18.0-5
|
|
|
1feecf7 |
- remove python3 doit to allow for the python2 doit so stay in bin
|
|
|
1feecf7 |
|
|
|
1feecf7 |
* Sun Dec 2 2012 José Matos <jamatos@fedoraproject.org> - 0.18.0-4
|
|
|
1feecf7 |
- Remove updated version of distribute_setup
|
|
|
1feecf7 |
|
|
|
1feecf7 |
* Sun Dec 2 2012 José Matos <jamatos@fedoraproject.org> - 0.18.0-3
|
|
|
1feecf7 |
- Require python3-setuptools for the package building
|
|
|
1feecf7 |
|
|
|
1feecf7 |
* Sun Dec 2 2012 José Matos <jamatos@fedoraproject.org> - 0.18.0-2
|
|
|
1feecf7 |
- Add python3 subpackage
|
|
|
1feecf7 |
|
|
|
1feecf7 |
* Fri Nov 30 2012 José Matos <jamatos@fedoraproject.org> - 0.18.0-1
|
|
|
1feecf7 |
- Latest stable release
|