[arch-commits] Commit in python-natsort/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Nov 3 21:09:19 UTC 2021
Date: Wednesday, November 3, 2021 @ 21:09:18
Author: dvzrv
Revision: 1035676
archrelease: copy trunk to community-any
Added:
python-natsort/repos/community-any/PKGBUILD
(from rev 1035675, python-natsort/trunk/PKGBUILD)
Deleted:
python-natsort/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-03 21:09:09 UTC (rev 1035675)
+++ PKGBUILD 2021-11-03 21:09:18 UTC (rev 1035676)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=natsort
-pkgname=python-natsort
-pkgver=7.1.1
-pkgrel=2
-pkgdesc="Simple yet flexible natural sorting in Python"
-arch=('any')
-url="https://github.com/SethMMorton/natsort"
-license=('MIT')
-depends=('python')
-makedepends=('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=('1903c933c6203ef0cd194ea444d79276b79ec385728a92b6e73d1698abc8e1351e96ed8ea4ae5f9f413ef6daecfd269a4d0de74c45eedff682fe929d8f977f30')
-b2sums=('dffd5b7b18ac49653d4d65ae1335c85d441748903aa983df092778476988cf0ca59c08526ee0da1761fce1afe4849d4c9a9e2f3e0c5400ebca2478781d0986dc')
-
-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 --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}"
-}
Copied: python-natsort/repos/community-any/PKGBUILD (from rev 1035675, python-natsort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-03 21:09:18 UTC (rev 1035676)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=natsort
+pkgname=python-natsort
+pkgver=8.0.0
+pkgrel=1
+pkgdesc="Simple yet flexible natural sorting in Python"
+arch=('any')
+url="https://github.com/SethMMorton/natsort"
+license=('MIT')
+depends=('python')
+makedepends=('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=('59263d0bda41094c5ab7564f81d53e12bc9695a56a5c63bb2e907b52030a18f68a51e2298c74cc0e87629fb14a9f6d32955caa86a539bc0c2008fbe03aae30d8')
+b2sums=('9649d77e314e515865a4ba905c8db9810031ab1db378e99b935c7b4ca92f59a273930d92535652cb322771ca58ce858c7108db7ec58e512e82390919289f4ba3')
+
+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 --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}"
+}
More information about the arch-commits
mailing list