From 6916d6c9c9bca3abd5c606d3bca37060d4dcf235 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:07:26 +0100 Subject: [PATCH] update to 19.03 [release 19.03-1mamba;Sun Mar 31 2019] --- eric.spec | 59 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/eric.spec b/eric.spec index 793ea5c..09c68ee 100644 --- a/eric.spec +++ b/eric.spec @@ -1,6 +1,6 @@ %define MAJver 6 Name: eric -Version: 17.03.1 +Version: 19.03 Release: 1mamba Summary: A full featured Python and Ruby editor and IDE, written in Python Group: Graphical Desktop/Applications/Development @@ -10,14 +10,14 @@ Packager: Stefano Cotta Ramusino URL: http://eric-ide.python-projects.org Source: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-%{version}.tar.gz #Source: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-%{version}.tar.gz -Source1: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-cs-%{version}.tar.gz +#Source1: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-cs-%{version}.tar.gz Source2: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-de-%{version}.tar.gz Source3: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-es-%{version}.tar.gz -Source4: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-fr-%{version}.tar.gz -Source5: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-it-%{version}.tar.gz -Source6: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-tr-%{version}.tar.gz +#Source4: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-fr-%{version}.tar.gz +#Source5: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-it-%{version}.tar.gz +#Source6: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-tr-%{version}.tar.gz Source7: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-ru-%{version}.tar.gz -Source8: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-zh_CN-%{version}.tar.gz +#Source8: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-zh_CN-%{version}.tar.gz Source10: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-en-%{version}.tar.gz Source9: eric4.desktop Patch0: eric4-4.3.9-python.patch @@ -25,16 +25,16 @@ License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel ## AUTOBUILDREQ-END -BuildRequires: python-qscintilla-py3 -BuildRequires: python-qscintilla-devel +BuildRequires: python-qscintilla-py36 >= 2.10.8-2mamba +BuildRequires: python-qscintilla-devel >= 2.10.8-2mamba BuildRequires: python-xml BuildRequires: qscintilla-devel -BuildRequires: PyQt4-py3 +BuildRequires: PyQt4-py36 BuildRequires: PyQt4-devel -Requires: PyQt4-py3 -Requires: python-qscintilla-py3 +Requires: PyQt4-py36 +Requires: python-qscintilla-py36 Requires: libqt4-designer -Requires: python-sip-py3 +Requires: python-sip-py36 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -43,7 +43,7 @@ It is designed to be usable as everdays' quick and dirty editor as well as being Eric includes a plugin system, which allows easy extension of the IDE functionality with plugins downloadable from the net. %prep -%setup -q -n eric%{MAJver}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a10 +%setup -q -n eric%{MAJver}-%{version} -a2 -a3 -a7 -a10 %patch0 -p1 mv eric%{MAJver}-%{version}/eric/i18n/*.qm eric/i18n/ @@ -53,13 +53,13 @@ rm -fr eric%{MAJver}-%{version} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python3} install.py \ +%{__python36} install.py \ -i %{buildroot}/ \ -b %{_bindir} \ - -d %{python3_sitearch} + -d %{python36_sitearch} # Remove %{builddir} in API path -sed -i -e 's|%{buildroot}||' %{buildroot}%{python3_sitearch}/eric%{MAJver}config.py +sed -i -e 's|%{buildroot}||' %{buildroot}%{python36_sitearch}/eric%{MAJver}config.py # Generate api files install -d %{buildroot}%{_datadir}/eric/ @@ -72,10 +72,10 @@ done # Fix some permission #chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/ThirdParty/brm/bike/parsing/fastparser.py ||: -chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/*.py ||: -chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/uninstall.py -chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/Examples/hallo.py -chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/Examples/rhallo.py +chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/*.py ||: +chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/uninstall.py +chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/Examples/hallo.py +chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/Examples/rhallo.py # Add environment variables for PySide, PyQt5, PyKDE5, Qt, Qt5 and Python documentations sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python-[0-9\.]*/html)\nQT5DOCDIR=%{_qt5_docdir}/html\nPYQT5DOCDIR=\$(echo %{_docdir}/PyQt5-devel-*/html)\nPYKDE5DOCDIR=\$(echo %{_docdir}/PyKDE5-devel-*/html)\nPYSIDEDOCDIR=$(echo %{_docdir}/python-pyside-devel-*/html)\nexport QT5DIR PYTHONDOCDIR QTDOCDIR QT5DOCDIR PYQT5DOCDIR PYKDE5DOCDIR PYSIDEDOCDIR\n&|' %{buildroot}%{_bindir}/eric%{MAJver} @@ -97,23 +97,26 @@ sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python- %defattr(-,root,root) %{_bindir}/eric%{MAJver} %{_bindir}/eric%{MAJver}_* -%dir %{python3_sitearch}/eric%{MAJver} -%{python3_sitearch}/eric%{MAJver}/* -%{python3_sitearch}/eric%{MAJver}config.py -%dir %{python3_sitearch}/eric%{MAJver}plugins -%{python3_sitearch}/eric%{MAJver}plugins/__init__.py +%dir %{python36_sitearch}/eric%{MAJver} +%{python36_sitearch}/eric%{MAJver}/* +%{python36_sitearch}/eric%{MAJver}config.py +%dir %{python36_sitearch}/eric%{MAJver}plugins +%{python36_sitearch}/eric%{MAJver}plugins/__init__.py %{_datadir}/applications/eric%{MAJver}.desktop %{_datadir}/metainfo/eric%{MAJver}.appdata.xml %{_datadir}/applications/eric%{MAJver}_webbrowser.desktop %{_datadir}/applications/eric%{MAJver}_browser.desktop %{_datadir}/pixmaps/eric*.png -%{_datadir}/qt4/qsci/api/python/* -%{_datadir}/qt4/qsci/api/ruby/* -%{_datadir}/qt4/qsci/api/qss/qss.api +%{_datadir}/qt5/qsci/api/python/* +%{_datadir}/qt5/qsci/api/ruby/* +%{_datadir}/qt5/qsci/api/qss/qss.api %doc THANKS #README README-i18n.txt %changelog +* Sun Mar 31 2019 Silvan Calarco 19.03-1mamba +- update to 19.03 + * Mon Mar 20 2017 Automatic Build System 17.03.1-1mamba - automatic version update by autodist