Группа :: Development/Python3
Пакет: eric6
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: eric6
Summary: Python IDE
Version: 19.8
Release: alt4.1
License: GPLv3+
Group: Development/Python3
Url: http://eric-ide.python-projects.org
Packager: Anton Midyukov <antohami at altlinux.org>
# See https://bugzilla.altlinux.org/41476
ExcludeArch: ppc64le
Source: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-%version.tar.gz
Source1: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-i18n-de-%version.tar.gz
Source2: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-i18n-en-%version.tar.gz
Source3: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-i18n-es-%version.tar.gz
Source4: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-i18n-ru-%version.tar.gz
Source30: eric-16.png
Source31: eric-32.png
Source32: eric-48.png
Source33: eric-64.png
# sane defaults: disable version check, qt4/qt5 configuration
Patch1: eric6-19.8-defaults.patch
Patch2: eric6-desktop.patch
Patch3: eric6-19.8-fix-python3-version-check.patch
Patch0: eric6-19.06-fix-install-dir.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: qt5-base-devel
BuildRequires: desktop-file-utils
BuildRequires: python3-devel
BuildRequires: python3-module-PyQt5
BuildRequires: python3-module-PyQtWebEngine
BuildRequires: python3-module-qscintilla2-qt5
BuildRequires: libappstream-glib
# ???
%add_python3_req_skip __builtin__
# See ALT Bug ???
%add_python3_req_skip PyQt5.QtWebKit PyQt5.QtWebKitWidgets
%add_python3_self_prov_path %buildroot%python3_sitelibdir/eric6/
%description
eric6 is a full featured Python IDE.
%prep
%setup -a 1 -a 2 -a 3 -a 4 -n eric6-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p2
%build
# Empty build
%install
python3 install.py \
-i %buildroot/ \
-b %_bindir \
-d %python3_sitelibdir \
-a %_qt5_datadir/qsci/api
# icons
install -m644 -p -D %SOURCE30 %buildroot%_iconsdir/hicolor/16x16/apps/eric.png
install -m644 -p -D %SOURCE31 %buildroot%_iconsdir/hicolor/32x32/apps/eric.png
install -m644 -p -D %SOURCE32 %buildroot%_iconsdir/hicolor/48x48/apps/eric.png
install -m644 -p -D %SOURCE33 %buildroot%_iconsdir/hicolor/64x64/apps/eric.png
## unpackaged files
# deprecated icons
rm -rfv %buildroot%_pixmapsdir/eric*
rm -fv %buildroot%python3_sitelibdir/eric6/LICENSE.GPL3
# not needed
rm -fv %buildroot%_desktopdir/eric6_*.desktop
%check
appstream-util validate-relax --nonet %buildroot%_datadir/metainfo/%name.appdata.xml
desktop-file-validate %buildroot%_desktopdir/eric6.desktop
%files
%doc eric/docs/{changelog,README.rst,THANKS,LICENSE.GPL3}
%_bindir/eric6*
%python3_sitelibdir/eric6config.py*
%python3_sitelibdir/__pycache__/*
%python3_sitelibdir/eric6
%python3_sitelibdir/eric6plugins/
%_datadir/metainfo/%name.appdata.xml
%_desktopdir/eric6.desktop
%_iconsdir/hicolor/*/apps/*
%_qt5_datadir/qsci/api/*/*
%changelog
…
Полный changelog можно просмотреть здесь
Summary: Python IDE
Version: 19.8
Release: alt4.1
License: GPLv3+
Group: Development/Python3
Url: http://eric-ide.python-projects.org
Packager: Anton Midyukov <antohami at altlinux.org>
# See https://bugzilla.altlinux.org/41476
ExcludeArch: ppc64le
Source: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-%version.tar.gz
Source1: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-i18n-de-%version.tar.gz
Source2: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-i18n-en-%version.tar.gz
Source3: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-i18n-es-%version.tar.gz
Source4: http://downloads.sourceforge.net/sourceforge/eric-ide/%name-i18n-ru-%version.tar.gz
Source30: eric-16.png
Source31: eric-32.png
Source32: eric-48.png
Source33: eric-64.png
# sane defaults: disable version check, qt4/qt5 configuration
Patch1: eric6-19.8-defaults.patch
Patch2: eric6-desktop.patch
Patch3: eric6-19.8-fix-python3-version-check.patch
Patch0: eric6-19.06-fix-install-dir.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: qt5-base-devel
BuildRequires: desktop-file-utils
BuildRequires: python3-devel
BuildRequires: python3-module-PyQt5
BuildRequires: python3-module-PyQtWebEngine
BuildRequires: python3-module-qscintilla2-qt5
BuildRequires: libappstream-glib
# ???
%add_python3_req_skip __builtin__
# See ALT Bug ???
%add_python3_req_skip PyQt5.QtWebKit PyQt5.QtWebKitWidgets
%add_python3_self_prov_path %buildroot%python3_sitelibdir/eric6/
%description
eric6 is a full featured Python IDE.
%prep
%setup -a 1 -a 2 -a 3 -a 4 -n eric6-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p2
%build
# Empty build
%install
python3 install.py \
-i %buildroot/ \
-b %_bindir \
-d %python3_sitelibdir \
-a %_qt5_datadir/qsci/api
# icons
install -m644 -p -D %SOURCE30 %buildroot%_iconsdir/hicolor/16x16/apps/eric.png
install -m644 -p -D %SOURCE31 %buildroot%_iconsdir/hicolor/32x32/apps/eric.png
install -m644 -p -D %SOURCE32 %buildroot%_iconsdir/hicolor/48x48/apps/eric.png
install -m644 -p -D %SOURCE33 %buildroot%_iconsdir/hicolor/64x64/apps/eric.png
## unpackaged files
# deprecated icons
rm -rfv %buildroot%_pixmapsdir/eric*
rm -fv %buildroot%python3_sitelibdir/eric6/LICENSE.GPL3
# not needed
rm -fv %buildroot%_desktopdir/eric6_*.desktop
%check
appstream-util validate-relax --nonet %buildroot%_datadir/metainfo/%name.appdata.xml
desktop-file-validate %buildroot%_desktopdir/eric6.desktop
%files
%doc eric/docs/{changelog,README.rst,THANKS,LICENSE.GPL3}
%_bindir/eric6*
%python3_sitelibdir/eric6config.py*
%python3_sitelibdir/__pycache__/*
%python3_sitelibdir/eric6
%python3_sitelibdir/eric6plugins/
%_datadir/metainfo/%name.appdata.xml
%_desktopdir/eric6.desktop
%_iconsdir/hicolor/*/apps/*
%_qt5_datadir/qsci/api/*/*
%changelog
…
Полный changelog можно просмотреть здесь