From 5e36bf95bb66251c0fa3038aafb60e9db78408ea Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 2 May 2022 20:37:13 +0000 Subject: [PATCH] pypi-qtpy: Autospec creation for update from version 2.0.1 to version 2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A. Reit (1): pyside2: Add workaround for `mode` argument in QTextCursor.movePosition() C.A.M. Gerlach (7): Disable --importmode=importlib to work around pytest-dev/pytest#9645 Update a few additional instances of Python 3.6-specific code Fix, clean up and improve new CLI tests Simpifly and improve CLI for Mypy Update and improve Readme and help text for mypy-args CLI command Add version option to QtPy CLI Further improve Mypy section in Readme & add license header/docstring CAM Gerlach (1): Further refine Mypy CLI in readme from reviewer feedback Daniel Althviz Moré (4): Testing: Apply suggestions from code review Testing: Apply suggestions from code review Apply suggestions from code review Apply suggestions from code review Edwin Yllanes (1): Fix typo Eric Larson (5): BUG: Fix bug with environ handling TST: Add tests FIX: Use QT_API FIX: Cap Apply suggestions from code review Julian Gilbey (3): Skip import of QOpenGLTime* on architectures where not available Remove commented code and replace by improved comment Give an example of an architecture where QOpenGLTime* is not present Kyle Altendorf (1): Preliminary cli for mypy options Martin Israel (2): Add missing QWebEngineScript import for PyQt5 and PySide2 adds support for QWebEngineScript in PyQt6 and PySide6 Nicolas Elie (2): Monkey patch UIParser for Python 3.9 compatibility Comment why patching UIParser is needed dalthviz (10): Back to work QtCore: Add missing Qt.MidButton on PyQt6 Drop support for Python 3.6 QtWidgets: Skip .exec_ related test on macOS with Python 3.7 Patch: Remove QHeaderView patch related files uic: Improve skip conditions for uic load* related tests Test: Increase default version for PyQt 6 to 6.3 CI: Enable testing PyQt6/PySide6 6.3 Change bindings 'try order' to PyQt5, PySide2, PyQt6, PySide6 Release 2.1.0 frmdstryr (1): Use QFileDialog.Option to be compatiable with Qt6 --- Makefile | 2 +- options.conf | 2 +- pypi-qtpy.spec | 32 +++++++++++++++++++++++--------- release | 2 +- upstream | 2 +- versions | 2 +- 6 files changed, 28 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 1440442..e14877c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-qtpy -URL = https://files.pythonhosted.org/packages/b4/e3/e095dd82d35bd837b11c5c3fb0883c3dcb9040722ffc80238766680ce01e/QtPy-2.0.1.tar.gz +URL = https://files.pythonhosted.org/packages/4f/8b/2830a11f0773dded3bb9943daeed7c1eefb214f84d72a213a5d4681430b2/QtPy-2.1.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index f963936..74fdd02 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-qtpy -url = https://files.pythonhosted.org/packages/b4/e3/e095dd82d35bd837b11c5c3fb0883c3dcb9040722ffc80238766680ce01e/QtPy-2.0.1.tar.gz +url = https://files.pythonhosted.org/packages/4f/8b/2830a11f0773dded3bb9943daeed7c1eefb214f84d72a213a5d4681430b2/QtPy-2.1.0.tar.gz archives = giturl = https://github.com/spyder-ide/qtpy.git domain = diff --git a/pypi-qtpy.spec b/pypi-qtpy.spec index b38b2c7..674dd85 100644 --- a/pypi-qtpy.spec +++ b/pypi-qtpy.spec @@ -3,13 +3,14 @@ # Generated by: autospec.py # Name : pypi-qtpy -Version : 2.0.1 -Release : 43 -URL : https://files.pythonhosted.org/packages/b4/e3/e095dd82d35bd837b11c5c3fb0883c3dcb9040722ffc80238766680ce01e/QtPy-2.0.1.tar.gz -Source0 : https://files.pythonhosted.org/packages/b4/e3/e095dd82d35bd837b11c5c3fb0883c3dcb9040722ffc80238766680ce01e/QtPy-2.0.1.tar.gz +Version : 2.1.0 +Release : 44 +URL : https://files.pythonhosted.org/packages/4f/8b/2830a11f0773dded3bb9943daeed7c1eefb214f84d72a213a5d4681430b2/QtPy-2.1.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/4f/8b/2830a11f0773dded3bb9943daeed7c1eefb214f84d72a213a5d4681430b2/QtPy-2.1.0.tar.gz Summary : Provides an abstraction layer on top of the various Qt bindings (PyQt5/6 and PySide2/6). Group : Development/Tools License : MIT +Requires: pypi-qtpy-bin = %{version}-%{release} Requires: pypi-qtpy-license = %{version}-%{release} Requires: pypi-qtpy-python = %{version}-%{release} Requires: pypi-qtpy-python3 = %{version}-%{release} @@ -19,7 +20,7 @@ BuildRequires : pypi(setuptools) BuildRequires : pypi(wheel) %description -# QtPy: Abstraction layer for PyQt5/PyQt6/PySide2/PySide6 +# QtPy: Abstraction layer for PyQt5/PySide2/PyQt6/PySide6 [![license](https://img.shields.io/pypi/l/qtpy.svg)](./LICENSE) [![pypi version](https://img.shields.io/pypi/v/qtpy.svg)](https://pypi.org/project/QtPy/) [![conda version](https://img.shields.io/conda/vn/conda-forge/qtpy.svg)](https://www.anaconda.com/download/) @@ -30,6 +31,15 @@ BuildRequires : pypi(wheel) [![Github build status](https://github.com/spyder-ide/qtpy/workflows/Tests/badge.svg)](https://github.com/spyder-ide/qtpy/actions) [![Coverage Status](https://coveralls.io/repos/github/spyder-ide/qtpy/badge.svg?branch=master)](https://coveralls.io/github/spyder-ide/qtpy?branch=master) +%package bin +Summary: bin components for the pypi-qtpy package. +Group: Binaries +Requires: pypi-qtpy-license = %{version}-%{release} + +%description bin +bin components for the pypi-qtpy package. + + %package license Summary: license components for the pypi-qtpy package. Group: Default @@ -59,15 +69,15 @@ python3 components for the pypi-qtpy package. %prep -%setup -q -n QtPy-2.0.1 -cd %{_builddir}/QtPy-2.0.1 +%setup -q -n QtPy-2.1.0 +cd %{_builddir}/QtPy-2.1.0 %build export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C.UTF-8 -export SOURCE_DATE_EPOCH=1643907240 +export SOURCE_DATE_EPOCH=1651523829 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib @@ -83,7 +93,7 @@ python3 -m build --wheel --skip-dependency-check --no-isolation export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-qtpy -cp %{_builddir}/QtPy-2.0.1/LICENSE.txt %{buildroot}/usr/share/package-licenses/pypi-qtpy/23f0f8972f5c9d62a7def9b191f5b7a5ee688acd +cp %{_builddir}/QtPy-2.1.0/LICENSE.txt %{buildroot}/usr/share/package-licenses/pypi-qtpy/23f0f8972f5c9d62a7def9b191f5b7a5ee688acd pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : @@ -92,6 +102,10 @@ echo ----[ mark ]---- %files %defattr(-,root,root,-) +%files bin +%defattr(-,root,root,-) +/usr/bin/qtpy + %files license %defattr(0644,root,root,0755) /usr/share/package-licenses/pypi-qtpy/23f0f8972f5c9d62a7def9b191f5b7a5ee688acd diff --git a/release b/release index 920a139..c739b42 100644 --- a/release +++ b/release @@ -1 +1 @@ -43 +44 diff --git a/upstream b/upstream index 9ed7a1d..b2b3fca 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -3db119c9c13a709282f805f37c1bfaedd2221b78/QtPy-2.0.1.tar.gz +f7625064f2657730c0c16b7f7ffc19cf4ceec4ba/QtPy-2.1.0.tar.gz diff --git a/versions b/versions index 38f77a6..7ec1d6d 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -2.0.1 +2.1.0