[arch-commits] Commit in python-natsort/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Nov 20 16:14:12 UTC 2018


    Date: Tuesday, November 20, 2018 @ 16:14:11
  Author: dvzrv
Revision: 409180

archrelease: copy trunk to community-any

Added:
  python-natsort/repos/community-any/PKGBUILD
    (from rev 409179, python-natsort/trunk/PKGBUILD)
Deleted:
  python-natsort/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-20 16:14:04 UTC (rev 409179)
+++ PKGBUILD	2018-11-20 16:14:11 UTC (rev 409180)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=natsort
-pkgname=python-natsort
-pkgver=5.4.1
-pkgrel=1
-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=('355aa834bec655232774b18f142fb5b296e427080f67778db2ee5a52cd3f0255adaa695c8adcc5b03b05884943e400dd682e82ba3d84235d0881ac37b1f84d62')
-
-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-any/PKGBUILD (from rev 409179, python-natsort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-20 16:14:11 UTC (rev 409180)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=natsort
+pkgname=python-natsort
+pkgver=5.5.0
+pkgrel=1
+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=('9d65c67bd9f441b1b0b16e048bc6ed6e9df21b8c18ae449ea0b86fec8c1c5a2f0d7bba0b8739481ed44ded1b5d692728ef1fca7c2b77cae272e729460d7eefed')
+
+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}"
+}


More information about the arch-commits mailing list