[arch-commits] Commit in python-memory-allocator/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Jun 2 15:28:56 UTC 2022
Date: Thursday, June 2, 2022 @ 15:28:55
Author: arojas
Revision: 1218686
Update to 0.1.3
Modified:
python-memory-allocator/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-02 15:28:26 UTC (rev 1218685)
+++ PKGBUILD 2022-06-02 15:28:55 UTC (rev 1218686)
@@ -2,23 +2,23 @@
pkgname=python-memory-allocator
_pypiname=memory_allocator
-pkgver=0.1.2
-pkgrel=3
+pkgver=0.1.3
+pkgrel=1
pkgdesc='An extension class to allocate memory easily with cython'
arch=(x86_64)
url='https://github.com/sagemath/memory_allocator'
license=(GPL3)
depends=(python)
-makedepends=(cython python-setuptools)
+makedepends=(cython python-build python-installer python-setuptools python-wheel)
source=(https://pypi.io/packages/source/m/$_pypiname/$_pypiname-$pkgver.tar.gz)
-sha256sums=('ddf42a2dcc678062f30c63c868335204d46a4ecdf4db0dc43ed4529f1d0ffab9')
+sha256sums=('13805c2ae1c01b7489fab5e8eac9361662b4f2c02412e3652eece48ff6953162')
build() {
cd $_pypiname-$pkgver
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
cd $_pypiname-$pkgver
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
More information about the arch-commits
mailing list