[arch-commits] Commit in python-cytoolz/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sat Nov 6 16:46:13 UTC 2021
Date: Saturday, November 6, 2021 @ 16:46:13
Author: dvzrv
Revision: 1037640
upgpkg: python-cytoolz 0.11.2-1: Upgrade to 0.11.2.
Simplify installation in package() to adhere to python package guidelines.
Modified:
python-cytoolz/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-06 16:43:28 UTC (rev 1037639)
+++ PKGBUILD 2021-11-06 16:46:13 UTC (rev 1037640)
@@ -2,8 +2,8 @@
_name=cytoolz
pkgname=python-cytoolz
-pkgver=0.11.0
-pkgrel=3
+pkgver=0.11.2
+pkgrel=1
pkgdesc="Cython implementation of Toolz: High performance functional utilities"
arch=('x86_64')
url="https://github.com/pytoolz/cytoolz/"
@@ -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=('d7ab7317a8c9b26136dfa1ef0bbe719a09d5ac290d73ad16596c8624976ad4eb50d826fb02885cd1979279057698ceab9276f14687791b6c4adc33fa4650dd6d')
-b2sums=('1df4d2342393ab9e58fcdeae7c48cff31a8c4ff02b928f4a1a73e089408349ae121ce9e7ee2cefe2ec92d183d00959cb913273eee78360da75faa813308a6cc6')
+sha512sums=('7df91df94eee56097798ab75222a8c48d7bab042bfb284230c8888121a166fbf356a13ee49dc5fc54d5a8aad3c7bfbe0e4225ba20dbe36927655154e93b7bd13')
+b2sums=('9ed21c1a285b2d7dbe5c7e93656f9f062a184c20d81f9739d0c7173deae7c6d90fe85d77a56f08fc9af1cbce8fd6d6cdccdd44a6bfb2eb69268ae4fdee006147')
prepare() {
mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
@@ -37,9 +37,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