[arch-commits] Commit in python-natsort/trunk (PKGBUILD py39.patch)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 14:35:23 UTC 2020
Date: Wednesday, November 11, 2020 @ 14:35:22
Author: foutrelis
Revision: 750783
Update unicode_numeric_hex.py for Python 3.9
Added:
python-natsort/trunk/py39.patch
Modified:
python-natsort/trunk/PKGBUILD
------------+
PKGBUILD | 9 +++++---
py39.patch | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 14:32:23 UTC (rev 750782)
+++ PKGBUILD 2020-11-11 14:35:22 UTC (rev 750783)
@@ -10,14 +10,17 @@
license=('MIT')
depends=('python-setuptools')
checkdepends=('python-pytest-cov' 'python-pytest-mock' 'python-pyflakes'
-'flake8' 'python-hypothesis' 'python-mock')
+ 'flake8' 'python-hypothesis' 'python-mock')
optdepends=('python-fastnumbers: more efficient sorting'
'python-pyicu: sort in locale dependant manner')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('48bfda8a42b951287d984e38c474b71233d56a578d8bec12e657413b3cdb71dd27103acda8dca359d87efd761e775deff0775a81d8dfa18df24c364921028c2b')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+ py39.patch)
+sha512sums=('48bfda8a42b951287d984e38c474b71233d56a578d8bec12e657413b3cdb71dd27103acda8dca359d87efd761e775deff0775a81d8dfa18df24c364921028c2b'
+ '58bf2e058094728e50f40c4dae15a3d29c1dbf94ffc15a212876517a596da7ce03237983d32f47dbd7df0cb4067decea4b9f7123aa4c411119670437d4d5946a')
prepare() {
mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+ patch -Np1 -d "$pkgname-$pkgver" <py39.patch
}
build() {
Added: py39.patch
===================================================================
--- py39.patch (rev 0)
+++ py39.patch 2020-11-11 14:35:22 UTC (rev 750783)
@@ -0,0 +1,63 @@
+From 9543c64b07144b203ac0db4cf2b2ceefebefacfe Mon Sep 17 00:00:00 2001
+From: Scott Talbert <swt at techie.net>
+Date: Mon, 2 Nov 2020 22:26:44 -0500
+Subject: [PATCH] Update unicode_numeric_hex.py with Python 3.9's Unicode
+ Database
+
+Fixes #118.
+---
+ natsort/unicode_numeric_hex.py | 27 +++++++++++++++++++++++++++
+ 1 file changed, 27 insertions(+)
+
+diff --git a/natsort/unicode_numeric_hex.py b/natsort/unicode_numeric_hex.py
+index 92aecf1..ba5841b 100644
+--- a/natsort/unicode_numeric_hex.py
++++ b/natsort/unicode_numeric_hex.py
+@@ -1150,6 +1150,13 @@
+ 0x10F52,
+ 0x10F53,
+ 0x10F54,
++ 0x10FC5,
++ 0x10FC6,
++ 0x10FC7,
++ 0x10FC8,
++ 0x10FC9,
++ 0x10FCA,
++ 0x10FCB,
+ 0x11052,
+ 0x11053,
+ 0x11054,
+@@ -1311,6 +1318,16 @@
+ 0x118F0,
+ 0x118F1,
+ 0x118F2,
++ 0x11950,
++ 0x11951,
++ 0x11952,
++ 0x11953,
++ 0x11954,
++ 0x11955,
++ 0x11956,
++ 0x11957,
++ 0x11958,
++ 0x11959,
+ 0x11C50,
+ 0x11C51,
+ 0x11C52,
+@@ -1815,6 +1832,16 @@
+ 0x1F10A,
+ 0x1F10B,
+ 0x1F10C,
++ 0x1FBF0,
++ 0x1FBF1,
++ 0x1FBF2,
++ 0x1FBF3,
++ 0x1FBF4,
++ 0x1FBF5,
++ 0x1FBF6,
++ 0x1FBF7,
++ 0x1FBF8,
++ 0x1FBF9,
+ 0x20001,
+ 0x20064,
+ 0x200E2,
More information about the arch-commits
mailing list