[arch-commits] Commit in python-toolz/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sat Nov 6 16:43:22 UTC 2021


    Date: Saturday, November 6, 2021 @ 16:43:21
  Author: dvzrv
Revision: 1037638

upgpkg: python-toolz 0.11.2-1: Upgrade to 0.11.2.

Simplify installation in package() to adhere to python package guidelines.

Modified:
  python-toolz/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-06 16:15:46 UTC (rev 1037637)
+++ PKGBUILD	2021-11-06 16:43:21 UTC (rev 1037638)
@@ -2,8 +2,8 @@
 
 _name=toolz
 pkgname=python-toolz
-pkgver=0.11.1
-pkgrel=3
+pkgver=0.11.2
+pkgrel=1
 pkgdesc="A functional standard library for Python"
 arch=('any')
 url="https://github.com/pytoolz/toolz/"
@@ -12,8 +12,8 @@
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('8bea2b75b74d9da988c777577f3ad574192659dcc4bea54ac6d1400a81bef07818c49c8da40028a8c42905f9ab5b5111c50c239fb56f34c315865f90413af68b')
-b2sums=('934f122bbf9e762e72f502f8b9ba8b5aa946b6e2b758e9501c2bc58fefa3443cda4b3e2c423be221643f51b2a12de0961be835ae3a23e97525fa203c969edff4')
+sha512sums=('67e8aaea3f9fb8811027f19aa9cf56ab980e4f9cea43978ed9515662c78a7bea12314054b2c26da483b055382d4b080125c011fc43bc48b0965a6ff8415f7168')
+b2sums=('3a2baddae437272e8f3efb665b63df127b3ec6bc2a68f3381651a1a3a3b45e4de6e575a328306fac95e9261228ee91193effd4aeca8d115f1608cb2561d50f13')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
@@ -32,9 +32,7 @@
 
 package() {
   cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --root="${pkgdir}"
+  python setup.py install --optimize=1 --root="${pkgdir}"
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }



More information about the arch-commits mailing list