Skip to content

Commit

Permalink
pypi-qtpy: Autospec creation for update from version 2.0.1 to version…
Browse files Browse the repository at this point in the history
… 2.1.0

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
  • Loading branch information
fenrus75 committed May 2, 2022
1 parent 13bffc4 commit 5e36bf9
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 14 deletions.
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion 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 =
Expand Down
32 changes: 23 additions & 9 deletions pypi-qtpy.spec
Expand Up @@ -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}
Expand All @@ -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/)
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 || :
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion release
@@ -1 +1 @@
43
44
2 changes: 1 addition & 1 deletion upstream
@@ -1 +1 @@
3db119c9c13a709282f805f37c1bfaedd2221b78/QtPy-2.0.1.tar.gz
f7625064f2657730c0c16b7f7ffc19cf4ceec4ba/QtPy-2.1.0.tar.gz
2 changes: 1 addition & 1 deletion versions
@@ -1 +1 @@
2.0.1
2.1.0

0 comments on commit 5e36bf9

Please sign in to comment.