Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
python-qscintilla-qt5
python-qscintilla-qt5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-qscintilla-qt5.spec of Package python-qscintilla-qt5
# # spec file for package python-qscintilla-qt5 # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-qscintilla-qt5 Version: 2.10 Release: 0 Summary: Python Bindings for the C++ Editor Class Library License: GPL-3.0 Group: Development/Libraries/C and C++ Url: http://www.riverbankcomputing.co.uk/qscintilla Source: http://downloads.sourceforge.net/project/pyqt/QScintilla2/QScintilla-%{version}/QScintilla_gpl-%{version}.tar.gz #PATCH-FIX-OPENSUSE: Rename qscintilla2 to qscintilla2-qt5: Patch0: python-config.diff BuildRequires: %{python_module devel} BuildRequires: %{python_module qt5-devel} BuildRequires: %{python_module sip-devel >= 4.19.1} BuildRequires: libqscintilla-qt5-devel BuildRequires: python-rpm-macros BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Widgets) BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{name}-sip = %{version} %ifpython2 %requires_ge python2-qt5 %{requires_python2_sip_api} %endif %ifpython3 %requires_ge python3-qt5 %{requires_python3_sip_api} %endif %python_subpackages %description QScintilla is a Qt port of Neil Hodgson's Scintilla C++ editor class. This is a Qt port from the original Scintilla class (http://www.scintilla.org/). This package is mainly used by eric, the Python IDE. %package -n %{name}-sip Summary: Sip files for PyQScintilla Group: Development/Libraries/Python Provides: %{python_module qscintilla-qt5-sip = %{version}} %description -n %{name}-sip This package is needed to avoid conflicts between python-qscintilla and python3-qscintilla packages. It contains sip files used to generate bindings to QScintilla %prep %setup -q -n QScintilla_gpl-%{version} %patch0 -p1 %build %{python_expand cp -r Python Python_%{$python_bin_suffix} pushd Python_%{$python_bin_suffix} $python configure.py --pyqt=PyQt5 --qmake=%{_bindir}/qmake-qt5 make %{?_smp_mflags} popd } %install %{python_expand pushd Python_%{$python_bin_suffix} %make_install INSTALL_ROOT=%{buildroot} popd mv -T %{buildroot}%{_datadir}/qt5/qsci/api/python %{buildroot}%{_datadir}/qt5/qsci/api/python_%{$python_bin_suffix} } %files %{python_files} %defattr(-,root,root) %doc NEWS README LICENSE %{python_sitearch}/PyQt5/Qsci.so %{python_sitearch}/PyQt5/Qsci.pyi %dir %{_datadir}/qt5/qsci/ %dir %{_datadir}/qt5/qsci/api/ %dir %{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/ %{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/QScintilla2.api %files -n %{name}-sip %defattr(-,root,root) %{_datadir}/sip/PyQt5/Qsci %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor