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

David Runge dvzrv at archlinux.org
Mon Sep 10 17:30:02 UTC 2018


    Date: Monday, September 10, 2018 @ 17:30:01
  Author: dvzrv
Revision: 379228

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-10 17:29:55 UTC (rev 379227)
+++ PKGBUILD	2018-09-10 17:30:01 UTC (rev 379228)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=natsort
-pkgname=python-natsort
-pkgver=5.4.0
-pkgrel=1
-pkgdesc="Simple yet flexible natural sorting in Python"
-arch=('any')
-url="https://github.com/SethMMorton/natsort"
-license=('MIT')
-depends=('python-setuptools')
-makedepends=('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=('b7c8af5d255ef2131a92a0e433fb12a0d0ade1094eb9ce33143706eb5083c91b56d2073128013769aa64b172f2b8113608f3072691a5f2978dbcc8cbcd612bfc')
-
-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-testing-any/PKGBUILD (from rev 379227, python-natsort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-10 17:30:01 UTC (rev 379228)
@@ -0,0 +1,41 @@
+# 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}"
+}



More information about the arch-commits mailing list