[arch-commits] Commit in python-natsort/repos/community-staging-any (3 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 23:09:18 UTC 2019
Date: Thursday, October 31, 2019 @ 23:09:18
Author: felixonmars
Revision: 521727
archrelease: copy trunk to community-staging-any
Added:
python-natsort/repos/community-staging-any/PKGBUILD
(from rev 521726, python-natsort/trunk/PKGBUILD)
python-natsort/repos/community-staging-any/natsort-python-3.8.patch
(from rev 521726, python-natsort/trunk/natsort-python-3.8.patch)
Deleted:
python-natsort/repos/community-staging-any/PKGBUILD
--------------------------+
PKGBUILD | 88 ++++++++++++++++---------------
natsort-python-3.8.patch | 126 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 173 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 23:09:05 UTC (rev 521726)
+++ PKGBUILD 2019-10-31 23:09:18 UTC (rev 521727)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=natsort
-pkgname=python-natsort
-pkgver=6.0.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-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=('d051de6824a727ead814c0305beefaa61ee64038999187b95db5395c761f623077b086ef453c134668cb764f4fc5e72a767177442f6ac3d71ec9b491e8876d5b')
-
-prepare() {
- mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH=build:${PYTHONPATH}
- py.test
-}
-
-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 521726, python-natsort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 23:09:18 UTC (rev 521727)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=natsort
+pkgname=python-natsort
+pkgver=6.0.0
+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"
+ natsort-python-3.8.patch)
+sha512sums=('d051de6824a727ead814c0305beefaa61ee64038999187b95db5395c761f623077b086ef453c134668cb764f4fc5e72a767177442f6ac3d71ec9b491e8876d5b'
+ '132b40e2dced414f6b1969b31e7d2b71a2b44778aff0cfb0106c8e83d8c62a178cef61d64e6a7583fa05e1f1a9d663c7c1e5c6af2aeb4863cc1bfe0d09957302')
+
+prepare() {
+ cd $_name-$pkgver
+ patch -p1 -i ../natsort-python-3.8.patch # Update unicode_numeric_hex list for python 3.8
+ cd ..
+
+ mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH=build:${PYTHONPATH}
+ py.test
+}
+
+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/natsort-python-3.8.patch (from rev 521726, python-natsort/trunk/natsort-python-3.8.patch)
===================================================================
--- natsort-python-3.8.patch (rev 0)
+++ natsort-python-3.8.patch 2019-10-31 23:09:18 UTC (rev 521727)
@@ -0,0 +1,126 @@
+diff --git a/natsort/unicode_numeric_hex.py b/natsort/unicode_numeric_hex.py
+index de28f3b..06a7aca 100644
+--- a/natsort/unicode_numeric_hex.py
++++ b/natsort/unicode_numeric_hex.py
+@@ -1360,6 +1360,27 @@ numeric_hex = (
+ 0X11DA7,
+ 0X11DA8,
+ 0X11DA9,
++ 0X11FC0,
++ 0X11FC1,
++ 0X11FC2,
++ 0X11FC3,
++ 0X11FC4,
++ 0X11FC5,
++ 0X11FC6,
++ 0X11FC7,
++ 0X11FC8,
++ 0X11FC9,
++ 0X11FCA,
++ 0X11FCB,
++ 0X11FCC,
++ 0X11FCD,
++ 0X11FCE,
++ 0X11FCF,
++ 0X11FD0,
++ 0X11FD1,
++ 0X11FD2,
++ 0X11FD3,
++ 0X11FD4,
+ 0X12400,
+ 0X12401,
+ 0X12402,
+@@ -1616,6 +1637,26 @@ numeric_hex = (
+ 0X1D7FD,
+ 0X1D7FE,
+ 0X1D7FF,
++ 0X1E140,
++ 0X1E141,
++ 0X1E142,
++ 0X1E143,
++ 0X1E144,
++ 0X1E145,
++ 0X1E146,
++ 0X1E147,
++ 0X1E148,
++ 0X1E149,
++ 0X1E2F0,
++ 0X1E2F1,
++ 0X1E2F2,
++ 0X1E2F3,
++ 0X1E2F4,
++ 0X1E2F5,
++ 0X1E2F6,
++ 0X1E2F7,
++ 0X1E2F8,
++ 0X1E2F9,
+ 0X1E8C7,
+ 0X1E8C8,
+ 0X1E8C9,
+@@ -1701,6 +1742,66 @@ num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