Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages /
python-six
Commits:
00b9d635 by Jelle van der Waa at 2024-11-16T15:01:09+01:00
upgpkg: 1.16.0-10: Rebuild for Python 3.13
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + skip-tkinter-test.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-six
pkgdesc = Python 2 and 3 compatibility utilities
pkgver = 1.16.0
- pkgrel = 9
+ pkgrel = 10
url = https://pypi.python.org/pypi/six/
arch = any
license = MIT
@@ -10,6 +10,8 @@ pkgbase = python-six
makedepends = python-setuptools
depends = python
source = https://pypi.io/packages/source/s/six/six-1.16.0.tar.gz
+ source = skip-tkinter-test.patch
sha512sums =
076fe31c8f03b0b52ff44346759c7dc8317da0972403b84dfe5898179f55acdba6c78827e0f8a53ff20afe8b76432c6fe0d655a75c24259d9acbaa4d9e8015c0
+ sha512sums =
fe761577fcb5067434527b22f36fd185af3b63e5435bbe3c555471088975f07ff3e5020296bf0f91a07f5846446d086ec322046dbf936ab80f65d1ca593a1f4a
pkgname = python-six
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
pkgname=python-six
pkgver=1.16.0
-pkgrel=9
+pkgrel=10
pkgdesc="Python 2 and 3 compatibility utilities"
arch=('any')
url="https://pypi.python.org/pypi/six/"
@@ -12,8 +12,15 @@ license=('MIT')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'tk')
-source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
-sha512sums=('076fe31c8f03b0b52ff44346759c7dc8317da0972403b84dfe5898179f55acdba6c78827e0f8a53ff20afe8b76432c6fe0d655a75c24259d9acbaa4d9e8015c0')
+source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz"
+ "skip-tkinter-test.patch")
+sha512sums=('076fe31c8f03b0b52ff44346759c7dc8317da0972403b84dfe5898179f55acdba6c78827e0f8a53ff20afe8b76432c6fe0d655a75c24259d9acbaa4d9e8015c0'
+
'fe761577fcb5067434527b22f36fd185af3b63e5435bbe3c555471088975f07ff3e5020296bf0f91a07f5846446d086ec322046dbf936ab80f65d1ca593a1f4a')
+
+prepare() {
+ cd six-$pkgver
+ patch -Np1 -i ${srcdir}/skip-tkinter-test.patch
+}
check() {
cd six-$pkgver
=====================================
skip-tkinter-test.patch
=====================================
@@ -0,0 +1,12 @@
+diff -aur six-1.16.0.old/test_six.py six-1.16.0/test_six.py
+--- six-1.16.0.old/test_six.py 2024-11-16 14:59:08.926994916 +0100
++++ six-1.16.0/test_six.py 2024-11-16 14:59:45.527903915 +0100
+@@ -127,6 +127,8 @@
+ if item_name.startswith("tkinter"):
+ if not have_tkinter:
+ pytest.skip("requires tkinter")
++ if item_name == "tkinter_tix" and sys.version_info >= (3, 13):
++ pytest.skip("tkinter.tix removed from Python 3.13")
+ if item_name.startswith("dbm_gnu") and not have_gdbm:
+ pytest.skip("requires gdbm")
+ raise
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-six/-/commit/00b9d63568c7d46cc56c04211f72933e35ca3baf
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-six/-/commit/00b9d63568c7d46cc56c04211f72933e35ca3baf
You're receiving this email because of your account on gitlab.archlinux.org.