Accepting request 678115 from home:TheBlackCat:branches:KDE:Qt5
- Update to 5.12 * Fixed the QValueAxis.tickTypeChanged() signal. * Updated for Qt v5.12. - Build both python2 and python3 flavors in a single spec file. OBS-URL: https://build.opensuse.org/request/show/678115 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python-qtcharts-qt5?expand=0&rev=7
This commit is contained in:
parent
88348b0d90
commit
fe857948c5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89abf5e48c79c4db42a01f80433bb97d64b117f801be5e4cb0b9839efc99472f
|
||||
size 62791
|
3
PyQtChart_gpl-5.12.tar.gz
Normal file
3
PyQtChart_gpl-5.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aceac6a09f81dfb1a58bb571ac87ce5284237b1204c4030f63ab6bab273bc0d7
|
||||
size 63672
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 21 18:05:43 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Update to 5.12
|
||||
* Fixed the QValueAxis.tickTypeChanged() signal.
|
||||
* Updated for Qt v5.12.
|
||||
- Build both python2 and python3 flavors in a single spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 22 12:42:47 UTC 2018 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-qtcharts-qt5
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@ -16,90 +16,108 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-qtcharts-qt5
|
||||
Version: 5.11.3
|
||||
Version: 5.12
|
||||
Release: 0
|
||||
Summary: PyQtChart - python bindings for Qt5 Charts
|
||||
Summary: Python bindings for the Qt5 Charts library
|
||||
License: GPL-3.0-only
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://www.riverbankcomputing.com/software/pyqtchart/intro
|
||||
Source: https://sourceforge.net/projects/pyqt/files/PyQtChart/PyQtChart-%{version}/PyQtChart_gpl-%{version}.tar.gz
|
||||
BuildRequires: libQt5Charts5
|
||||
BuildRequires: libQt5Charts5-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-qt5
|
||||
BuildRequires: python-qt5-devel
|
||||
BuildRequires: python-sip >= 4.19.1
|
||||
BuildRequires: python-sip-devel >= 4.19.1
|
||||
Source: https://www.riverbankcomputing.com/static/Downloads/PyQtChart/PyQtChart_gpl-%{version}.tar.gz
|
||||
BuildRequires: pkgconfig(Qt5Charts)
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module qt5-devel}
|
||||
BuildRequires: %{python_module sip-devel >= 4.19.1}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-qt5
|
||||
|
||||
%ifpython2
|
||||
%requires_python_sip_api
|
||||
%endif
|
||||
%ifpython3
|
||||
%requires_python3_sip_api
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This package provides python bindings to Qt5 Charts module.
|
||||
PyQtChart is a set of Python bindings for the Qt5 Charts library.
|
||||
|
||||
%package sip
|
||||
Summary: Sip files for PyQtChart
|
||||
Group: Development/Libraries/Python
|
||||
Recommends: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description sip
|
||||
This package contains sip files used to generate
|
||||
bindings to QtCharts
|
||||
|
||||
%package api
|
||||
Summary: API files for eric6
|
||||
%package -n %{name}-api
|
||||
Summary: Eric6 API files for %{name}
|
||||
Group: Development/Tools/IDE
|
||||
Recommends: %{name} = %{version}
|
||||
Provides: %{python_module qtcharts-qt5-api = %{version}}
|
||||
BuildArch: noarch
|
||||
|
||||
%description api
|
||||
This package provides API files for eric6.
|
||||
%description -n %{name}-api
|
||||
This package provides Qt5 Charts library API files for eric6.
|
||||
|
||||
%package examples
|
||||
Summary: PyQtChart examles
|
||||
%package -n %{name}-sip
|
||||
Summary: Sip files for %{name}
|
||||
Group: Development/Libraries/Python
|
||||
Recommends: %{name} = %{version}
|
||||
Provides: %{python_module qtcharts-qt5-sip = %{version}}
|
||||
BuildArch: noarch
|
||||
|
||||
%description examples
|
||||
This package provides PyQtChart examples.
|
||||
%description -n %{name}-sip
|
||||
This package contains sip files used to generate
|
||||
bindings to the Qt5 Charts library.
|
||||
|
||||
%package -n %{name}-examples
|
||||
Summary: Examples for %{name}
|
||||
Group: Documentation/Other
|
||||
Provides: %{python_module qtcharts-qt5-examples = %{version}}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-examples
|
||||
This package provides %{name} examples.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyQtChart_gpl-%{version}
|
||||
%{python_expand mkdir build_%{$python_bin_suffix}
|
||||
cp *.py build_%{$python_bin_suffix}
|
||||
cp -r sip build_%{$python_bin_suffix}
|
||||
}
|
||||
|
||||
%build
|
||||
python2 configure.py \
|
||||
%{python_expand pushd build_%{$python_bin_suffix}
|
||||
$python configure.py \
|
||||
--no-dist-info \
|
||||
--no-stubs \
|
||||
--qmake=%{_bindir}/qmake-qt5
|
||||
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
}
|
||||
|
||||
%install
|
||||
%{python_expand pushd build_%{$python_bin_suffix}
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
popd
|
||||
}
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
find examples -type f -executable -exec sed -i '1s=^#!%{_bindir}/\(python\|env python\)3\?=#!%{_bindir}/env python=' {} +
|
||||
find examples -type f -executable -exec sed -i '1s=^#!%{_bindir}/\(python\|env python\)3\?=#!%{_bindir}/python3=' {} +
|
||||
cp -r examples %{buildroot}%{_docdir}/%{name}
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc NEWS README
|
||||
%{python_sitearch}/PyQt5/
|
||||
%dir %{python_sitearch}/PyQt5/
|
||||
%{python_sitearch}/PyQt5/QtChart.so
|
||||
%exclude %{_docdir}/%{name}/examples
|
||||
%exclude %{_docdir}/%{name}/examples/
|
||||
|
||||
%files api
|
||||
%files -n %{name}-api
|
||||
%license LICENSE
|
||||
%{_datadir}/qt5/qsci/api/python
|
||||
%dir %{_datadir}/qt5/qsci/api/python/
|
||||
%{_datadir}/qt5/qsci/api/python/PyQtChart.api
|
||||
|
||||
%files sip
|
||||
%files -n %{name}-sip
|
||||
%license LICENSE
|
||||
%{_datadir}/sip/PyQt5/QtChart
|
||||
%{_datadir}/sip/PyQt5/QtChart/
|
||||
|
||||
%files examples
|
||||
%files -n %{name}-examples
|
||||
%license LICENSE
|
||||
%{_docdir}/%{name}/examples
|
||||
%dir %{_docdir}/%{name}/
|
||||
%{_docdir}/%{name}/examples/
|
||||
|
||||
%changelog
|
||||
|
@ -1,34 +0,0 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 22 12:42:47 UTC 2018 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Update to 5.11.3. Changes since 5.10.1:
|
||||
* Update the PyQt5 wheel to use.
|
||||
* Fixed all signal signatures.
|
||||
- Run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 01:58:49 UTC 2018 - termim@gmail.com
|
||||
|
||||
- Update to 5.10.1
|
||||
* Added support for Qt Charts v5.10.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 11:39:48 UTC 2018 - aloisio@gmx.com
|
||||
|
||||
- Update to 5.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 19:51:54 UTC 2017 - termim@gmail.com
|
||||
|
||||
- Update to 5.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 22:09:03 UTC 2017 - termim@gmail.com
|
||||
|
||||
- Update to 5.7.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 05:02:14 UTC 2016 - termim@gmail.com
|
||||
|
||||
- initial checkin rev. 2.0.1
|
||||
|
@ -1,104 +0,0 @@
|
||||
#
|
||||
# spec file for package python3-qtcharts-qt5
|
||||
#
|
||||
# Copyright (c) 2018 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python3-qtcharts-qt5
|
||||
Version: 5.11.3
|
||||
Release: 0
|
||||
Summary: PyQtChart - python3 bindings for Qt5 Charts
|
||||
License: GPL-3.0-only
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://www.riverbankcomputing.com/software/pyqtchart/intro
|
||||
Source: https://sourceforge.net/projects/pyqt/files/PyQtChart/PyQtChart-%{version}/PyQtChart_gpl-%{version}.tar.gz
|
||||
BuildRequires: libQt5Charts5
|
||||
BuildRequires: libQt5Charts5-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-qt5
|
||||
BuildRequires: python3-qt5-devel
|
||||
BuildRequires: python3-sip >= 4.19.1
|
||||
BuildRequires: python3-sip-devel >= 4.19.1
|
||||
Requires: python3-qt5
|
||||
%requires_python3_sip_api
|
||||
|
||||
%description
|
||||
This package provides python3 bindings to Qt5 Charts module.
|
||||
|
||||
%package sip
|
||||
Summary: Sip files for PyQtChart
|
||||
Group: Development/Libraries/Python
|
||||
Recommends: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description sip
|
||||
This package contains sip files used to generate
|
||||
bindings to QtCharts
|
||||
|
||||
%package api
|
||||
Summary: API files for eric6
|
||||
Group: Development/Tools/IDE
|
||||
Recommends: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description api
|
||||
This package provides API files for eric6.
|
||||
|
||||
%package examples
|
||||
Summary: PyQtChart examles
|
||||
Group: Development/Libraries/Python
|
||||
Recommends: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description examples
|
||||
This package provides PyQtChart examples.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyQtChart_gpl-%{version}
|
||||
|
||||
%build
|
||||
python3 configure.py \
|
||||
--no-dist-info \
|
||||
--no-stubs \
|
||||
--qmake=%{_bindir}/qmake-qt5
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
cp -r examples %{buildroot}%{_docdir}/%{name}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc NEWS README
|
||||
%{python3_sitearch}/PyQt5/
|
||||
%{python3_sitearch}/PyQt5/QtChart.so
|
||||
%exclude %{_docdir}/%{name}/examples
|
||||
|
||||
%files api
|
||||
%license LICENSE
|
||||
%{_datadir}/qt5/qsci/api/python
|
||||
|
||||
%files sip
|
||||
%license LICENSE
|
||||
%{_datadir}/sip/PyQt5/QtChart
|
||||
|
||||
%files examples
|
||||
%license LICENSE
|
||||
%{_docdir}/%{name}/examples
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user