mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/py3-qt.py: upgrade to 1.3.10
includes a fix for python 3.12
This commit is contained in:
parent
b03f07a7d2
commit
ce418cbd3a
@ -1,8 +1,8 @@
|
||||
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
||||
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
||||
pkgname=py3-qt.py
|
||||
pkgver=1.3.8
|
||||
pkgrel=2
|
||||
pkgver=1.3.10
|
||||
pkgrel=0
|
||||
pkgdesc="Minimal Python 2 & 3 shim around all Qt bindings"
|
||||
url="https://github.com/mottosso/Qt.py"
|
||||
arch="noarch !armhf" # no py3-qt5 on armhf
|
||||
@ -10,7 +10,9 @@ license="MIT"
|
||||
depends="python3 py3-qt5 py3-setuptools"
|
||||
checkdepends="py3-nose py3-six"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/mottosso/Qt.py/archive/$pkgver.tar.gz"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/mottosso/Qt.py/archive/$pkgver.tar.gz
|
||||
importlib.patch
|
||||
"
|
||||
builddir="$srcdir/Qt.py-$pkgver"
|
||||
|
||||
build() {
|
||||
@ -26,5 +28,6 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
3d584e1574bbb9458847e44ab4c901cc134d1669c549cfff3c8ac391f3dca87f48166e874305febb5092dea0d8baa58bd66fae71c100aa9b29b089502d341f71 py3-qt.py-1.3.8.tar.gz
|
||||
a8cf1de389881b453dafa53d6bfd9e9bbe263effef03c9eefbc87b33798463d5117996006545687f91329b976a2e94b0b27a1bf8969728685c1a432c7c31a7b6 py3-qt.py-1.3.10.tar.gz
|
||||
0ac7faa921bde9ff487c0f7c1443c2f1390cbd888055cfe174f5a8ab3b1429f695b264b371b8d5f6d0ac07136a5e064bcc534edbd8cbf8bfe65f70dd141a02c4 importlib.patch
|
||||
"
|
||||
|
20
testing/py3-qt.py/importlib.patch
Normal file
20
testing/py3-qt.py/importlib.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff --git a/tests.py b/tests.py
|
||||
index 833fcc6..3c1c937 100644
|
||||
--- a/tests.py
|
||||
+++ b/tests.py
|
||||
@@ -5,3 +5,3 @@ import os
|
||||
import sys
|
||||
-import imp
|
||||
+import importlib
|
||||
import shutil
|
||||
@@ -310,6 +310,6 @@ def test_environment():
|
||||
# PySide is not available for Python > 3.4
|
||||
- imp.find_module("PySide")
|
||||
- imp.find_module("PySide2")
|
||||
- imp.find_module("PyQt4")
|
||||
- imp.find_module("PyQt5")
|
||||
+ importlib.util.find_spec("PySide")
|
||||
+ importlib.util.find_spec("PySide2")
|
||||
+ importlib.util.find_spec("PyQt4")
|
||||
+ importlib.util.find_spec("PyQt5")
|
||||
|
Loading…
Reference in New Issue
Block a user