|
Orion Poplawski |
16887fe |
%global srcname envisage
|
|
|
73e11fb |
#global commit 872c66885d64a22502fe3efceecec99c11a1c8ff
|
|
|
73e11fb |
#global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
Orion Poplawski |
16887fe |
|
|
Orion Poplawski |
16887fe |
Name: python-%{srcname}
|
|
|
494fb42 |
Version: 7.0.3
|
|
|
e4d1998 |
Release: 4%{?dist}
|
|
|
5576473 |
Summary: Extensible application framework
|
|
|
5576473 |
|
|
|
5576473 |
# Images have different licenses. For image license breakdown check
|
|
|
5576473 |
# image_LICENSE.txt file.
|
|
|
5576473 |
# All remaining source or image files are in BSD 3-clause license
|
|
|
7abd4cd |
License: BSD-3-Clause AND LGPL-2.0-only AND CC-BY-SA-1.0 AND CC-BY-SA-2.5 AND CC-BY-SA-3.0 AND CC-BY-SA-4.0
|
|
Orion Poplawski |
2447bff |
URL: https://github.com/enthought/envisage
|
|
|
73e11fb |
Source0: https://github.com/enthought/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
5576473 |
|
|
|
5576473 |
BuildArch: noarch
|
|
Orion Poplawski |
16887fe |
# For docs
|
|
|
7228c80 |
BuildRequires: python%{python3_pkgversion}-sphinx-copybutton
|
|
|
8306c4d |
BuildRequires: python%{python3_pkgversion}-enthought-sphinx-theme
|
|
|
5c712e7 |
# For tests
|
|
|
5c712e7 |
BuildRequires: /usr/bin/xvfb-run
|
|
Orion Poplawski |
16887fe |
|
|
Orion Poplawski |
16887fe |
%description
|
|
Orion Poplawski |
16887fe |
Envisage is a Python-based framework for building extensible applications,
|
|
Orion Poplawski |
16887fe |
that is, applications whose functionality can be extended by adding
|
|
Orion Poplawski |
16887fe |
"plug-ins". Envisage provides a standard mechanism for features to be added
|
|
Orion Poplawski |
16887fe |
to an application, whether by the original developer or by someone else. In
|
|
Orion Poplawski |
16887fe |
fact, when you build an application using Envisage, the entire application
|
|
Orion Poplawski |
16887fe |
consists primarily of plug-ins. In this respect, it is similar to the Eclipse
|
|
Orion Poplawski |
16887fe |
and Netbeans frameworks for Java applications.
|
|
Orion Poplawski |
16887fe |
|
|
Orion Poplawski |
16887fe |
Each plug-in is able to:
|
|
Orion Poplawski |
16887fe |
|
|
Orion Poplawski |
16887fe |
* Advertise where and how it can be extended (its "extension points").
|
|
Orion Poplawski |
16887fe |
* Contribute extensions to the extension points offered by other plug-ins.
|
|
Orion Poplawski |
16887fe |
* Create and share the objects that perform the real work of the application
|
|
Orion Poplawski |
16887fe |
("services").
|
|
|
5576473 |
|
|
Orion Poplawski |
16887fe |
The Envisage project provides the basic machinery of the plug-in framework as
|
|
Orion Poplawski |
16887fe |
well as GUI building tools (envisage.ui). The workbench is the older way to
|
|
Orion Poplawski |
16887fe |
build GUIs from Envisage. It is now recommended to use the Task framework.
|
|
Orion Poplawski |
16887fe |
|
|
Orion Poplawski |
16887fe |
|
|
Orion Poplawski |
16887fe |
%package -n python%{python3_pkgversion}-%{srcname}
|
|
Orion Poplawski |
16887fe |
Summary: Extensible application framework
|
|
Orion Poplawski |
16887fe |
BuildRequires: python%{python3_pkgversion}-devel
|
|
Orion Poplawski |
16887fe |
|
|
Orion Poplawski |
16887fe |
%description -n python%{python3_pkgversion}-%{srcname}
|
|
|
5576473 |
Envisage is a Python-based framework for building extensible applications,
|
|
|
5576473 |
that is, applications whose functionality can be extended by adding
|
|
|
5576473 |
"plug-ins". Envisage provides a standard mechanism for features to be added
|
|
|
5576473 |
to an application, whether by the original developer or by someone else. In
|
|
|
5576473 |
fact, when you build an application using Envisage, the entire application
|
|
|
5576473 |
consists primarily of plug-ins. In this respect, it is similar to the Eclipse
|
|
|
5576473 |
and Netbeans frameworks for Java applications.
|
|
|
5576473 |
|
|
|
5576473 |
Each plug-in is able to:
|
|
|
5576473 |
|
|
|
5576473 |
* Advertise where and how it can be extended (its "extension points").
|
|
|
5576473 |
* Contribute extensions to the extension points offered by other plug-ins.
|
|
|
5576473 |
* Create and share the objects that perform the real work of the application
|
|
|
5576473 |
("services").
|
|
|
5576473 |
|
|
|
5576473 |
The Envisage project provides the basic machinery of the plug-in framework as
|
|
|
5576473 |
well as GUI building tools (envisage.ui). The workbench is the older way to
|
|
|
5576473 |
build GUIs from Envisage. It is now recommended to use the Task framework.
|
|
|
5576473 |
|
|
|
5576473 |
|
|
|
5576473 |
%package doc
|
|
|
5576473 |
Summary: Documentation for %{name}
|
|
|
7abd4cd |
License: BSD-3-Clause AND CC-BY-SA-1.0 AND CC-BY-SA-2.5 AND CC-BY-SA-3.0 AND CC-BY-SA-4.0
|
|
|
5576473 |
|
|
|
5576473 |
%description doc
|
|
|
5576473 |
Documentation and examples for %{name}
|
|
|
5576473 |
|
|
|
5576473 |
|
|
|
5576473 |
%prep
|
|
|
74c3f8a |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
5576473 |
# Fix line endings
|
|
|
5576473 |
sed -i -e 's/\r//' docs/source/envisage_core_documentation/*.rst
|
|
|
5576473 |
# Cleanup
|
|
|
5576473 |
find -name .gitignore -delete
|
|
|
5576473 |
|
|
|
7abd4cd |
%generate_buildrequires
|
|
|
7abd4cd |
%pyproject_buildrequires -t
|
|
|
7abd4cd |
|
|
|
5576473 |
|
|
|
5576473 |
%build
|
|
|
7abd4cd |
%pyproject_wheel
|
|
|
7abd4cd |
xvfb-run %__python3 -m sphinx -b html docs/source docs/build
|
|
|
8306c4d |
rm docs/build/.buildinfo
|
|
|
8306c4d |
mv docs/build docs/html
|
|
|
5576473 |
|
|
|
5576473 |
|
|
|
5576473 |
%install
|
|
|
7abd4cd |
%pyproject_install
|
|
|
7abd4cd |
%pyproject_save_files %{srcname}
|
|
|
6d90b18 |
# Do not ship tests
|
|
|
6d90b18 |
find %{buildroot}%{python3_sitelib}/%{srcname} -name tests -type d -exec rm -r {} +
|
|
|
7abd4cd |
sed -i -e '\,/tests$,d' -e '\,/tests/,d' %{pyproject_files}
|
|
|
5576473 |
|
|
|
5576473 |
|
|
|
5576473 |
%check
|
|
|
bb416e2 |
xvfb-run %{__python3} -m unittest discover -v envisage
|
|
|
5576473 |
|
|
|
5576473 |
|
|
|
7abd4cd |
%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
|
|
Orion Poplawski |
16887fe |
%license *LICENSE*
|
|
|
5576473 |
|
|
|
5576473 |
%files doc
|
|
Orion Poplawski |
16887fe |
%license *LICENSE*
|
|
|
8306c4d |
%doc docs/html examples
|
|
|
5576473 |
|
|
|
5576473 |
|
|
|
5576473 |
%changelog
|
|
|
e4d1998 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.3-4
|
|
|
e4d1998 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e4d1998 |
|
|
|
ffe18d0 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.3-3
|
|
|
ffe18d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
ffe18d0 |
|
|
|
15b6ea5 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.3-2
|
|
|
15b6ea5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
15b6ea5 |
|
|
|
494fb42 |
* Wed Apr 05 2023 Orion Poplawski <orion@nwra.com> - 7.0.3-1
|
|
|
494fb42 |
- Update to 7.0.3
|
|
|
494fb42 |
|
|
|
7abd4cd |
* Sat Mar 25 2023 Orion Poplawski <orion@nwra.com> - 7.0.1-1
|
|
|
7abd4cd |
- Update to 7.0.1
|
|
|
7abd4cd |
- Use SPDX License tag
|
|
|
7abd4cd |
|
|
|
9f0b954 |
* Thu Feb 16 2023 Orion Poplawski <orion@nwra.com> - 6.1.1-1
|
|
|
9f0b954 |
- Update to 6.1.1
|
|
|
9f0b954 |
|
|
|
bb416e2 |
* Sat Jan 21 2023 Scott Talbert <swt@techie.net> - 6.1.0-3
|
|
|
bb416e2 |
- Cleanup and re-enable tests
|
|
|
bb416e2 |
|
|
|
e70453f |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-2
|
|
|
e70453f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
e70453f |
|
|
|
7228c80 |
* Thu Aug 18 2022 Orion Poplawski <orion@nwra.com> - 6.1.0-1
|
|
|
7228c80 |
- Update to 6.1.0
|
|
|
7228c80 |
|
|
|
89e3c7f |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
|
|
|
89e3c7f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
89e3c7f |
|
|
|
d08efe9 |
* Fri Jul 01 2022 Orion Poplawski <orion@nwra.com> - 6.0.1-1
|
|
|
d08efe9 |
- Update to 6.0.1
|
|
|
d08efe9 |
- Ignore test failures for now
|
|
|
d08efe9 |
|
|
|
bc42af3 |
* Fri Jul 01 2022 Python Maint <python-maint@redhat.com> - 5.0.0-6
|
|
|
bc42af3 |
- Rebuilt for Python 3.11
|
|
|
bc42af3 |
|
|
|
e7b7fee |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-5
|
|
|
e7b7fee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
e7b7fee |
|
|
|
0c82d76 |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-4
|
|
|
0c82d76 |
- Second attempt - Rebuilt for
|
|
|
0c82d76 |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
0c82d76 |
|
|
|
c0084ef |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 5.0.0-3
|
|
|
c0084ef |
- Rebuilt for Python 3.10
|
|
|
c0084ef |
|
|
|
63a03ee |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
|
|
|
63a03ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
63a03ee |
|
|
|
fde6d0a |
* Mon Jan 25 2021 Orion Poplawski <orion@nwra.com> - 5.0.0-1
|
|
|
fde6d0a |
- Update to 5.0.0
|
|
|
fde6d0a |
|
|
|
7b763ac |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.2-3
|
|
|
7b763ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
7b763ac |
|
|
|
b931cfa |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 4.9.2-2
|
|
|
b931cfa |
- Rebuilt for Python 3.9
|
|
|
b931cfa |
|
|
Orion Poplawski |
0c02461 |
* Tue Feb 18 2020 Orion Poplawski <orion@nwra.com> - 4.9.2-1
|
|
Orion Poplawski |
0c02461 |
- Update to 4.9.2
|
|
Orion Poplawski |
0c02461 |
|
|
|
c4f8e7c |
* Sat Feb 15 2020 Orion Poplawski <orion@nwra.com> - 4.9.1-1
|
|
|
c4f8e7c |
- Update to 4.9.1
|
|
|
c4f8e7c |
|
|
|
c641628 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.0-2
|
|
|
c641628 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
c641628 |
|
|
|
4c5fc32 |
* Tue Nov 19 2019 Orion Poplawski <orion@nwra.com> - 4.9.0-1
|
|
|
4c5fc32 |
- Update to 4.9.0
|
|
|
4c5fc32 |
|
|
|
8306c4d |
* Tue Oct 8 2019 Orion Poplawski <orion@nwra.com> - 4.8.0-1
|
|
|
8306c4d |
- Update to 4.8.0 (FTBFS py3.8 bugz#1746848)
|
|
|
8306c4d |
|
|
|
2f79485 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.7.2-3
|
|
|
2f79485 |
- Rebuilt for Python 3.8
|
|
|
2f79485 |
|
|
|
74654f4 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.2-2
|
|
|
74654f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
74654f4 |
|
|
|
73e11fb |
* Sun May 5 2019 Orion Poplawski <orion@nwra.com> - 4.7.2-1
|
|
|
73e11fb |
- Update to 4.7.2
|
|
|
73e11fb |
|
|
|
6d90b18 |
* Sat Feb 9 2019 Orion Poplawski <orion@nwra.com> - 4.7.1-2
|
|
|
6d90b18 |
- Run tests with nose like upstream
|
|
|
6d90b18 |
- Add upstream patch to fix some tests
|
|
|
6d90b18 |
- Ignore test failures for now - does not support 3.7
|
|
|
6d90b18 |
- Do not ship tests
|
|
|
6d90b18 |
|
|
|
5c712e7 |
* Sat Feb 2 2019 Orion Poplawski <orion@nwra.com> - 4.7.1-1
|
|
|
5c712e7 |
- Update to 4.7.1
|
|
|
5c712e7 |
- Run tests with xvfb-run
|
|
|
5c712e7 |
|
|
|
8188a0d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.0-3
|
|
|
8188a0d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8188a0d |
|
|
|
74c3f8a |
* Wed Nov 14 2018 Miro Hrončok <mhroncok@redhat.com> - 4.6.0-2
|
|
|
74c3f8a |
- Subpackage python2-envisage has been removed
|
|
|
74c3f8a |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
74c3f8a |
|
|
Orion Poplawski |
2447bff |
* Fri Jul 20 2018 Orion Poplawski <orion@nwra.com> - 4.6.0-1
|
|
Orion Poplawski |
2447bff |
- Update to 4.6.0
|
|
Orion Poplawski |
2447bff |
|
|
|
f813782 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-9
|
|
|
f813782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f813782 |
|
|
|
b35ddab |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.5.0-8
|
|
|
b35ddab |
- Rebuilt for Python 3.7
|
|
|
b35ddab |
|
|
|
3d5a05d |
* Mon Mar 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.5.0-7
|
|
|
3d5a05d |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
3d5a05d |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
3d5a05d |
|
|
|
540e460 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-6
|
|
|
540e460 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
540e460 |
|
|
|
538b9c9 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-5
|
|
|
538b9c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
538b9c9 |
|
|
|
0193513 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-4
|
|
|
0193513 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
0193513 |
|
|
|
e5509c5 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 4.5.0-3
|
|
|
e5509c5 |
- Rebuild for Python 3.6
|
|
|
e5509c5 |
|
|
|
458c47a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.0-2
|
|
|
458c47a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
458c47a |
|
|
Orion Poplawski |
16887fe |
* Wed Mar 2 2016 Orion Poplawski <orion@cora.nwra.com> - 4.5.0-1
|
|
Orion Poplawski |
16887fe |
- Update to 4.5.0
|
|
Orion Poplawski |
16887fe |
- Ship python2/3-envisage
|
|
Orion Poplawski |
16887fe |
- Modernize spec
|
|
Orion Poplawski |
16887fe |
|
|
|
ea04eec |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
|
|
|
ea04eec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
ea04eec |
|
|
|
73a5b48 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-2
|
|
|
73a5b48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
73a5b48 |
|
|
Orion Poplawski |
0fd5ff8 |
* Mon Oct 27 2014 Orion Poplawski <orion@cora.nwra.com> - 4.4.0-1
|
|
Orion Poplawski |
0fd5ff8 |
- Update to 4.4.0
|
|
Orion Poplawski |
0fd5ff8 |
|
|
|
b077031 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.0-5
|
|
|
b077031 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b077031 |
|
|
|
63df0bc |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.0-4
|
|
|
63df0bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
63df0bc |
|
|
|
5576473 |
* Tue May 14 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-3
|
|
|
5576473 |
- Remove shipped egg-info and eggs
|
|
|
5576473 |
|
|
|
5576473 |
* Tue May 7 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-2
|
|
|
5576473 |
- Fix line-endings, cleanup some files
|
|
|
5576473 |
- Fix license tag
|
|
|
5576473 |
|
|
|
5576473 |
* Wed May 1 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-1
|
|
|
5576473 |
- Initial package
|