|
 |
a33758f |
# This package depends on automagic byte compilation
|
|
 |
a33758f |
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
|
|
 |
a33758f |
%global _python_bytecompile_extra 1
|
|
 |
a33758f |
|
|
Rex Dieter |
7bc6ec8 |
|
|
Kevin Kofler |
4905506 |
Name: kdevelop-python
|
|
 |
79cbed2 |
Version: 5.5.0
|
|
Kevin Kofler |
4905506 |
%global py3_suffix -py3
|
|
Kevin Kofler |
4905506 |
%global py3_tag .py3
|
|
 |
79cbed2 |
Release: 1%{?dist}
|
|
Minh Ngo |
71447ad |
License: GPLv2
|
|
 |
2744013 |
Source0: http://download.kde.org/stable/kdevelop/%{version}/src/kdev-python-%{version}.tar.xz
|
|
Minh Ngo |
71447ad |
|
|
 |
a9329cf |
## kdevelop-pg-qt FTBFS s390x
|
|
 |
a9329cf |
ExcludeArch: s390x
|
|
 |
a9329cf |
|
|
Kevin Kofler |
f44065a |
# ensure the installed Python 3 scripts have #!/usr/bin/env python3
|
|
Kevin Kofler |
f44065a |
Patch0: kdev-python-1.7.0-py3-shebang.patch
|
|
Kevin Kofler |
f44065a |
|
|
Kevin Kofler |
3440aaa |
# remove bogus autogenerated set"other methods from
|
|
Kevin Kofler |
3440aaa |
# documentation_files/__builtin_types__.py that are actually the < and >
|
|
Kevin Kofler |
3440aaa |
# operators, not methods - the bogus syntax (quote in identifier) makes the
|
|
Kevin Kofler |
3440aaa |
# brp-python-bytecompile script choke
|
|
Kevin Kofler |
3440aaa |
Patch1: kdev-python-1.7.0-py3-doc-syntax.patch
|
|
Kevin Kofler |
3440aaa |
|
|
 |
c728538 |
# Fix syntax error due to async being a reserved keyword in python3.7
|
|
 |
c728538 |
Patch2: kdev-python_async.patch
|
|
 |
c728538 |
|
|
Kevin Kofler |
4905506 |
Summary: Python 3 Plugin for KDevelop
|
|
Kevin Kofler |
4905506 |
URL: https://www.kdevelop.org/
|
|
Minh Ngo |
71447ad |
|
|
 |
8a5ce5c |
BuildRequires: kdevelop-devel >= %{version}
|
|
Kevin Kofler |
4905506 |
BuildRequires: python3-devel >= 3.4
|
|
Kevin Kofler |
4905506 |
BuildRequires: gettext
|
|
Minh Ngo |
89f8dd4 |
|
|
 |
8a5ce5c |
BuildRequires: kf5-rpm-macros
|
|
 |
8a5ce5c |
BuildRequires: extra-cmake-modules
|
|
 |
98ab306 |
BuildRequires: grantlee-qt5-devel
|
|
 |
8a5ce5c |
BuildRequires: kf5-ki18n-devel
|
|
 |
98ab306 |
BuildRequires: kf5-knotifyconfig-devel
|
|
 |
8a5ce5c |
BuildRequires: kf5-knewstuff-devel
|
|
 |
8a5ce5c |
BuildRequires: kf5-kcmutils-devel
|
|
 |
8a5ce5c |
BuildRequires: kf5-ktexteditor-devel
|
|
 |
8a5ce5c |
BuildRequires: kf5-threadweaver-devel
|
|
 |
8a5ce5c |
BuildRequires: kf5-kitemmodels-devel
|
|
 |
8a5ce5c |
BuildRequires: kf5-kdelibs4support-devel
|
|
 |
8a5ce5c |
|
|
 |
8a5ce5c |
BuildRequires: qt5-qtbase-devel
|
|
 |
8a5ce5c |
BuildRequires: qt5-qtwebkit-devel
|
|
 |
8a5ce5c |
|
|
Kevin Kofler |
0c27e01 |
# force using Python 3 for bytecompiling
|
|
Kevin Kofler |
0c27e01 |
%global __python %{__python3}
|
|
Kevin Kofler |
0c27e01 |
|
|
Rex Dieter |
7bc6ec8 |
%{?kdevelop_requires}
|
|
Minh Ngo |
71447ad |
|
|
Minh Ngo |
71447ad |
%description
|
|
Kevin Kofler |
4905506 |
Python 3 language support for the KDevelop Integrated Development Environment.
|
|
Minh Ngo |
71447ad |
|
|
Rex Dieter |
7bc6ec8 |
|
|
Minh Ngo |
71447ad |
%prep
|
|
 |
6ecc878 |
%setup -qn kdev-python-%{version}
|
|
Rex Dieter |
7bc6ec8 |
|
|
Kevin Kofler |
f44065a |
# don't use backups because CMakeLists.txt installs the whole directory
|
|
Kevin Kofler |
3440aaa |
# shebang
|
|
Kevin Kofler |
f44065a |
%patch0 -p1
|
|
Kevin Kofler |
3440aaa |
# doc-syntax
|
|
Kevin Kofler |
3440aaa |
%patch1 -p1
|
|
 |
c728538 |
# async
|
|
 |
c728538 |
%patch2 -p1
|
|
Minh Ngo |
71447ad |
|
|
Minh Ngo |
71447ad |
%build
|
|
Rex Dieter |
7bc6ec8 |
mkdir %{_target_platform}
|
|
Minh Ngo |
71447ad |
pushd %{_target_platform}
|
|
Rex Dieter |
7bc6ec8 |
%{cmake_kf5} ..
|
|
Minh Ngo |
71447ad |
popd
|
|
Rex Dieter |
7bc6ec8 |
|
|
 |
fab6a20 |
make %{?_smp_mflags} -C %{_target_platform}
|
|
Minh Ngo |
71447ad |
|
|
Rex Dieter |
7bc6ec8 |
|
|
Minh Ngo |
71447ad |
%install
|
|
Kevin Kofler |
f44065a |
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
Kevin Kofler |
f44065a |
|
|
Kevin Kofler |
f44065a |
# don't ship this Python 2 script, it is only used to generate the
|
|
Kevin Kofler |
f44065a |
# documentation_files, it is not needed at runtime
|
|
 |
8a5ce5c |
rm -f %{buildroot}%{_datadir}/kdevpythonsupport/documentation_files/PyKDE4/parse_xml.py
|
|
Minh Ngo |
71447ad |
|
|
 |
881f5a0 |
# TODO Enable translations in stable build
|
|
 |
0596eef |
%find_lang kdevpython
|
|
Kevin Kofler |
a5f1bbc |
|
|
 |
c2894c8 |
%ldconfig_scriptlets
|
|
Minh Ngo |
71447ad |
|
|
 |
0596eef |
%files -f kdevpython.lang
|
|
 |
8a5ce5c |
%doc DESIGN README
|
|
 |
8a5ce5c |
%{_libdir}/libkdevpythonduchain.so
|
|
 |
8a5ce5c |
%{_libdir}/libkdevpythonparser.so
|
|
 |
8a5ce5c |
%{_libdir}/libkdevpythoncompletion.so
|
|
 |
8a5ce5c |
%{_datadir}/kdevpythonsupport
|
|
 |
8a5ce5c |
%{_datadir}/kdevappwizard/templates/*
|
|
 |
79cbed2 |
%{_kf5_qtplugindir}/kdevplatform/33/kdevpdb.so
|
|
 |
79cbed2 |
%{_kf5_qtplugindir}/kdevplatform/33/kdevpythonlanguagesupport.so
|
|
 |
a9329cf |
%{_datadir}/qlogging-categories5/kdevpythonsupport.categories
|
|
 |
2c98a2f |
%{_datadir}/metainfo/org.kde.kdev-python.metainfo.xml
|
|
Minh Ngo |
71447ad |
|
|
Minh Ngo |
71447ad |
%changelog
|
|
 |
79cbed2 |
* Mon Feb 03 2020 Jan Grulich <jgrulich@redhat.com> - 5.5.0-1
|
|
 |
79cbed2 |
- 5.5.0
|
|
 |
79cbed2 |
|
|
 |
1d9c456 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.6-2
|
|
 |
1d9c456 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
1d9c456 |
|
|
 |
d1418e2 |
* Tue Jan 07 2020 Jan Grulich <jgrulich@redhat.com> - 5.4.6-1
|
|
 |
d1418e2 |
- 5.4.6
|
|
 |
d1418e2 |
|
|
 |
db2ee31 |
* Tue Dec 03 2019 Jan Grulich <jgrulich@redhat.com> - 5.4.5-1
|
|
 |
db2ee31 |
- 5.4.5
|
|
 |
db2ee31 |
|
|
 |
e5d4ec9 |
* Tue Nov 05 2019 Jan Grulich <jgrulich@redhat.com> - 5.4.4-1
|
|
 |
e5d4ec9 |
- 5.4.4
|
|
 |
e5d4ec9 |
|
|
 |
8462076 |
* Thu Oct 24 2019 Jan Grulich <jgrulich@redhat.com> - 5.4.3-2
|
|
 |
8462076 |
- Build against Python 3.8
|
|
 |
8462076 |
|
|
 |
6419c3e |
* Tue Oct 22 2019 Jan Grulich <jgrulich@redhat.com> - 5.4.3-1
|
|
 |
6419c3e |
- 5.4.3
|
|
 |
6419c3e |
|
|
 |
5d6b1d5 |
* Tue Sep 03 2019 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1.py3
|
|
 |
5d6b1d5 |
- 5.4.2
|
|
 |
5d6b1d5 |
|
|
 |
fd9c1a6 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 5.4.1-2.py3
|
|
 |
fd9c1a6 |
- Rebuilt for Python 3.8
|
|
 |
fd9c1a6 |
|
|
 |
deddf52 |
* Tue Aug 13 2019 Jan Grulich <jgrulich@redhat.com> - 5.4.1-1.py3
|
|
 |
deddf52 |
- 5.4.1
|
|
 |
deddf52 |
|
|
 |
045193d |
* Wed Aug 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.4.0-1.py3
|
|
 |
045193d |
- 5.4.0
|
|
 |
045193d |
|
|
 |
9f5c438 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.3-2.py3
|
|
 |
9f5c438 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
9f5c438 |
|
|
 |
a9329cf |
* Thu Jul 18 2019 Jan Grulich <jgrulich@redhat.com> - 5.3.3-1.py3
|
|
 |
a9329cf |
- 5.3.3
|
|
 |
a9329cf |
|
|
 |
9560b87 |
* Fri Mar 15 2019 Jan Grulich <jgrulich@redhat.com> - 5.3.2-1.py3
|
|
 |
a9329cf |
- 5.3.2
|
|
 |
9560b87 |
|
|
 |
da1e54c |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.1-2.py3
|
|
 |
da1e54c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
da1e54c |
|
|
 |
b4dba4e |
* Tue Dec 11 2018 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1.py3
|
|
 |
b4dba4e |
- 5.3.1
|
|
 |
b4dba4e |
|
|
 |
031a89b |
* Wed Nov 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1.py3
|
|
 |
031a89b |
- 5.3.0
|
|
 |
031a89b |
|
|
 |
d09afd6 |
* Tue Oct 02 2018 Jan Grulich <jgrulich@redhat.com> - 5.2.80-1.py3
|
|
 |
d09afd6 |
- 5.2.80 (beta)
|
|
 |
d09afd6 |
|
|
 |
62c79da |
* Mon Aug 27 2018 Jan Grulich <jgrulich@redhat.com> - 5.2.4-1.py3
|
|
 |
62c79da |
- 5.2.4
|
|
 |
62c79da |
|
|
 |
583b787 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.3-4.py3
|
|
 |
583b787 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
583b787 |
|
|
 |
c728538 |
* Thu Jul 12 2018 Sandro Mani <manisandro@gmail.com> - 5.2.3-3.py3
|
|
 |
c728538 |
- Fix FTBFS due to syntax error due to async being a reserved keyword in python3.7
|
|
 |
c728538 |
|
|
 |
75da9ba |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 5.2.3-2.py3
|
|
 |
75da9ba |
- Rebuilt for Python 3.7
|
|
 |
75da9ba |
|
|
 |
2c98a2f |
* Mon May 21 2018 Jan Grulich <jgrulich@redhat.com> - 5.2.3-1.py3
|
|
 |
2c98a2f |
- Update to 5.2.3
|
|
 |
2c98a2f |
|
|
 |
9b25f2b |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-2.py3
|
|
 |
9b25f2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
9b25f2b |
|
|
 |
133746e |
* Fri Nov 24 2017 Jan Grulich <jgrulich@redhat.com> - 5.2.1-1
|
|
 |
133746e |
- Update to 5.2.1
|
|
 |
133746e |
|
|
 |
2744013 |
* Tue Nov 14 2017 Jan Grulich <jgrulich@redhat.com> - 5.2.0-1
|
|
 |
2744013 |
- Update to 5.2.0
|
|
 |
2744013 |
|
|
 |
6c9ca0b |
* Fri Oct 06 2017 Jan Grulich <jgrulich@redhat.com> - 5.1.80
|
|
 |
6c9ca0b |
- Update to 5.1.80 (beta)
|
|
 |
6c9ca0b |
|
|
 |
7161387 |
* Tue Aug 29 2017 Jan Grulich <jgrulich@redhat.com> - 5.1.2-1
|
|
 |
7161387 |
- Update to 5.1.2
|
|
 |
7161387 |
|
|
 |
19c85fc |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-3.py3
|
|
 |
19c85fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
 |
19c85fc |
|
|
 |
f32c08d |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2.py3
|
|
 |
f32c08d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
f32c08d |
|
|
 |
b4d7ce7 |
* Mon May 29 2017 Jan Grulich <jgrulich@redhat.com> - 5.1.1-1
|
|
 |
b4d7ce7 |
- Update to 5.1.1
|
|
 |
b4d7ce7 |
|
|
 |
0596eef |
* Mon Mar 20 2017 Jan Grulich <jgrulich@redhat.com> - 5.1.0-1
|
|
 |
0596eef |
- Update to 5.1.0
|
|
 |
0596eef |
|
|
 |
cc4e521 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.80-2.py3
|
|
 |
cc4e521 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
 |
cc4e521 |
|
|
 |
881f5a0 |
* Tue Jan 17 2017 Jan Grulich <jgrulich@redhat.com> - 5.0.80-1
|
|
 |
881f5a0 |
- Update to 5.0.80 (beta)
|
|
 |
881f5a0 |
|
|
 |
75bb64a |
* Thu Dec 22 2016 Jan Grulich <jgrulich@redhat.com> - 5.0.3-3.py3
|
|
 |
75bb64a |
- Add support for Python 3.6 (taken from upstream)
|
|
 |
75bb64a |
|
|
 |
d218804 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 5.0.3-2.py3
|
|
 |
d218804 |
- Rebuild for Python 3.6
|
|
 |
d218804 |
|
|
 |
9152466 |
* Fri Dec 02 2016 Jan Grulich <jgrulich@redhat.com> - 5.0.3-1
|
|
 |
9152466 |
- Update to 5.0.3
|
|
 |
9152466 |
|
|
 |
e488e6a |
* Mon Oct 17 2016 Jan Grulich <jgrulich@redhat.com> - 5.0.2-1
|
|
 |
e488e6a |
- Update to 5.0.2
|
|
 |
e488e6a |
|
|
 |
6ecc878 |
* Mon Sep 19 2016 Jan Grulich <jgrulich@redhat.com> - 5.0.1-1
|
|
 |
6ecc878 |
- Update to 5.0.1
|
|
 |
6ecc878 |
|
|
Rex Dieter |
7bc6ec8 |
* Wed Sep 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.0.0-2
|
|
Rex Dieter |
7bc6ec8 |
- use %%{?kdevelop_requires}, cosmetics
|
|
Rex Dieter |
7bc6ec8 |
|
|
 |
2305db9 |
* Wed Aug 31 2016 Helio Chissini de Castro <helio@kde.org> - 5.0.0-1
|
|
 |
2305db9 |
- New upstream version
|
|
 |
2305db9 |
|
|
 |
fab6a20 |
* Wed Jun 08 2016 Jan Grulich <jgrulich@redhat.com> - 5.0.0-0.1.20160608git.py3
|
|
 |
fab6a20 |
- Package latest git snapshot to address GCC 6 related crashes
|
|
 |
fab6a20 |
Resolves: bz#1343439
|
|
 |
fab6a20 |
|
|
 |
0211049 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.90.91-2.py3
|
|
 |
0211049 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
 |
0211049 |
|
|
 |
be3bfd5 |
* Tue Jan 26 2016 Jan Grulich <jgrulich@redhat.com> - 4.90.91-1.py3
|
|
 |
be3bfd5 |
- Update to 4.90.91 (beta 2)
|
|
 |
be3bfd5 |
|
|
 |
8a5ce5c |
* Thu Nov 12 2015 Jan Grulich <jgrulich@redhat.com> - 4.90.90-1.py3
|
|
 |
8a5ce5c |
- Update to 4.90.90 (beta 1)
|
|
 |
8a5ce5c |
|
|
 |
8067f9d |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-2.py3
|
|
 |
8067f9d |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
 |
8067f9d |
|
|
 |
685e3a8 |
* Mon Oct 12 2015 Jan Grulich <jgrulich@redhat.com> - 1.7.2-1.py3
|
|
 |
685e3a8 |
- Update to 1.7.2
|
|
 |
685e3a8 |
|
|
 |
8ebb2d0 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-3.py3
|
|
 |
8ebb2d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
 |
8ebb2d0 |
|
|
 |
5fe2884 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.7.1-2.py3
|
|
 |
5fe2884 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
 |
5fe2884 |
|
|
 |
0604e0a |
* Tue Feb 10 2015 Jan Grulich <jgrulich@redhat.com> - 1.7.1-1.py3
|
|
 |
0604e0a |
- update to 1.7.1-py3
|
|
 |
0604e0a |
|
|
Kevin Kofler |
6bc4e56 |
* Sat Sep 27 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.7.0-1.py3
|
|
Kevin Kofler |
d35bbd2 |
- update to 1.7.0-py3 (#1146723)
|
|
Kevin Kofler |
4905506 |
- specfile cleanups
|
|
Kevin Kofler |
f44065a |
- ensure the installed Python 3 scripts have #!/usr/bin/env python3
|
|
Kevin Kofler |
4905506 |
|
|
 |
1ae8b44 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-5
|
|
 |
1ae8b44 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
 |
1ae8b44 |
|
|
 |
73cb04e |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-4
|
|
 |
73cb04e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
 |
73cb04e |
|
|
Minh Ngo |
89f8dd4 |
* Fri Feb 15 2013 Minh Ngo <minh@fedoraproject.org> 1.4.1-3
|
|
Minh Ngo |
89f8dd4 |
- possible fixing a bug with libpython2.7-kdevelop.so.1.0 requirement
|
|
Minh Ngo |
89f8dd4 |
|
|
Minh Ngo |
71447ad |
* Thu Feb 14 2013 Minh Ngo <minh@fedoraproject.org> 1.4.1-2
|
|
Minh Ngo |
71447ad |
- have added _kde4_appsdir macro
|
|
Minh Ngo |
71447ad |
- have dropped updata-mime-database scriptlets
|
|
Minh Ngo |
71447ad |
- have omitted cmake requirement
|
|
Minh Ngo |
71447ad |
- have removed desktop-file-install script
|
|
Minh Ngo |
71447ad |
- removing python2.7 hardcode
|
|
Minh Ngo |
71447ad |
|
|
Kevin Kofler |
246537b |
* Sat Dec 01 2012 Minh Ngo <minh@fedoraproject.org> 1.4.1-1
|
|
Kevin Kofler |
246537b |
- initial build
|