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

David Runge dvzrv at archlinux.org
Sat Nov 21 17:08:55 UTC 2020


    Date: Saturday, November 21, 2020 @ 17:08:55
  Author: dvzrv
Revision: 758504

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-21 17:08:48 UTC (rev 758503)
+++ PKGBUILD	2020-11-21 17:08:55 UTC (rev 758504)
@@ -1,45 +0,0 @@
-# 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/PKGBUILD (from rev 758503, python-natsort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-21 17:08:55 UTC (rev 758504)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=natsort
+pkgname=python-natsort
+pkgver=7.1.0
+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-hypothesis' 'python-mock' 'python-pytest-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=('41293d70c3dc2214f9dc1c123f31cd7886341ae25c6342ac49f3d53d06ba15ecd8d666f1763fe790848c93668940a81b7e7f1fe896f0b91f180ca557dd922ac3')
+b2sums=('3ab6c977aca40330fac0af9e4be36d973e88d931799b3135a81daf0a475988af5cc2f9abb30ade1498aad07d9c986e514c7c8cdbbb63da195a81dded4f6f25da')
+
+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 \
+                          --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {CHANGELOG.md,README.rst} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Deleted: py39.patch
===================================================================
--- py39.patch	2020-11-21 17:08:48 UTC (rev 758503)
+++ py39.patch	2020-11-21 17:08:55 UTC (rev 758504)
@@ -1,63 +0,0 @@
-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