diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,26 +1,26 @@ # Maintainer: Popolon <popolon@popolon.org> -pkgbase='python-redis-collections' -pkgname=('python-redis-collections') _module='redis-collections' -pkgver='0.9.1' +pkgbase="python-${_module}" +pkgname="python-${_module}" +pkgver=0.12.0 pkgrel=1 pkgdesc="Set of basic Python collections backed by Redis." url="https://github.com/redis-collections/redis-collections" depends=('python') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-pip') license=('custom:ISC License (ISCL)') arch=('any') source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") -sha256sums=('b018cddabfc9f2bdae63a771607051e5f88857219e421281168a67dfe17aa1d1') +sha256sums=('d7ccc40ddb174eef8343e85b40a33cea4b1faae5e45bdd95cb51bd7aeeba2b6e') build() { cd "${srcdir}/${_module}-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } package() { depends+=() cd "${srcdir}/${_module}-${pkgver}" - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="${pkgdir}" dist/*.whl } |