[arch-commits] Commit in python-natsort/repos/community-staging-any (3 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 14:36:15 UTC 2020


    Date: Wednesday, November 11, 2020 @ 14:36:14
  Author: foutrelis
Revision: 750785

archrelease: copy trunk to community-staging-any

Added:
  python-natsort/repos/community-staging-any/PKGBUILD
    (from rev 750784, python-natsort/trunk/PKGBUILD)
  python-natsort/repos/community-staging-any/py39.patch
    (from rev 750784, python-natsort/trunk/py39.patch)
Deleted:
  python-natsort/repos/community-staging-any/PKGBUILD

------------+
 PKGBUILD   |   87 ++++++++++++++++++++++++++++++-----------------------------
 py39.patch |   63 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 14:36:10 UTC (rev 750784)
+++ PKGBUILD	2020-11-11 14:36:14 UTC (rev 750785)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=natsort
-pkgname=python-natsort
-pkgver=7.0.1
-pkgrel=2
-pkgdesc="Simple yet flexible natural sorting in Python"
-arch=('any')
-url="https://github.com/SethMMorton/natsort"
-license=('MIT')
-depends=('python-setuptools')
-checkdepends=('python-pytest-cov' 'python-pytest-mock' 'python-pyflakes'
-'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')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-natsort/repos/community-staging-any/PKGBUILD (from rev 750784, python-natsort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 14:36:14 UTC (rev 750785)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=natsort
+pkgname=python-natsort
+pkgver=7.0.1
+pkgrel=3
+pkgdesc="Simple yet flexible natural sorting in Python"
+arch=('any')
+url="https://github.com/SethMMorton/natsort"
+license=('MIT')
+depends=('python-setuptools')
+checkdepends=('python-pytest-cov' 'python-pytest-mock' 'python-pyflakes'
+              '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"
+        py39.patch)
+sha512sums=('48bfda8a42b951287d984e38c474b71233d56a578d8bec12e657413b3cdb71dd27103acda8dca359d87efd761e775deff0775a81d8dfa18df24c364921028c2b'
+            '58bf2e058094728e50f40c4dae15a3d29c1dbf94ffc15a212876517a596da7ce03237983d32f47dbd7df0cb4067decea4b9f7123aa4c411119670437d4d5946a')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  patch -Np1 -d "$pkgname-$pkgver" <py39.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Copied: python-natsort/repos/community-staging-any/py39.patch (from rev 750784, python-natsort/trunk/py39.patch)
===================================================================
--- py39.patch	                        (rev 0)
+++ py39.patch	2020-11-11 14:36:14 UTC (rev 750785)
@@ -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