* update python-six to 1.17.0-1
This commit is contained in:
parent
747ebca673
commit
4fe9990a86
@ -1,7 +1,7 @@
|
||||
pkgbase = python-six
|
||||
pkgdesc = Python 2 and 3 compatibility utilities
|
||||
pkgver = 1.16.0
|
||||
pkgrel = 10
|
||||
pkgver = 1.17.0
|
||||
pkgrel = 1
|
||||
url = https://pypi.python.org/pypi/six/
|
||||
arch = any
|
||||
license = MIT
|
||||
@ -9,9 +9,7 @@ pkgbase = python-six
|
||||
checkdepends = tk
|
||||
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
|
||||
source = https://pypi.io/packages/source/s/six/six-1.17.0.tar.gz
|
||||
sha512sums = fcfa58b03877ac3ac00a4f85b5fea4fecb2a010244451aa95013637a0aa21529f3dcfe25c0a07c72da46da1fa12bc0c16b6c641c40c6ab2133e5b5cbb5a71e4b
|
||||
|
||||
pkgname = python-six
|
||||
|
@ -4,8 +4,8 @@
|
||||
# Contributer: Allan McRae <allan@archlinux.org>
|
||||
|
||||
pkgname=python-six
|
||||
pkgver=1.16.0
|
||||
pkgrel=10
|
||||
pkgver=1.17.0
|
||||
pkgrel=1
|
||||
pkgdesc="Python 2 and 3 compatibility utilities"
|
||||
arch=(any)
|
||||
url="https://pypi.python.org/pypi/six/"
|
||||
@ -13,15 +13,8 @@ license=('MIT')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
checkdepends=('python-pytest' 'tk')
|
||||
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
|
||||
}
|
||||
source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
|
||||
sha512sums=('fcfa58b03877ac3ac00a4f85b5fea4fecb2a010244451aa95013637a0aa21529f3dcfe25c0a07c72da46da1fa12bc0c16b6c641c40c6ab2133e5b5cbb5a71e4b')
|
||||
|
||||
check() {
|
||||
cd six-$pkgver
|
||||
|
@ -1,12 +0,0 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user