[arch-commits] Commit in python-memory-allocator/repos/community-x86_64 (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Jun 2 15:29:06 UTC 2022


    Date: Thursday, June 2, 2022 @ 15:29:06
  Author: arojas
Revision: 1218687

archrelease: copy trunk to community-x86_64

Added:
  python-memory-allocator/repos/community-x86_64/PKGBUILD
    (from rev 1218686, python-memory-allocator/trunk/PKGBUILD)
Deleted:
  python-memory-allocator/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++------------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-02 15:28:55 UTC (rev 1218686)
+++ PKGBUILD	2022-06-02 15:29:06 UTC (rev 1218687)
@@ -1,24 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=python-memory-allocator
-_pypiname=memory_allocator
-pkgver=0.1.2
-pkgrel=3
-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)
-source=(https://pypi.io/packages/source/m/$_pypiname/$_pypiname-$pkgver.tar.gz)
-sha256sums=('ddf42a2dcc678062f30c63c868335204d46a4ecdf4db0dc43ed4529f1d0ffab9')
-
-build() {
-  cd $_pypiname-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd $_pypiname-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-}

Copied: python-memory-allocator/repos/community-x86_64/PKGBUILD (from rev 1218686, python-memory-allocator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-02 15:29:06 UTC (rev 1218687)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-memory-allocator
+_pypiname=memory_allocator
+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-build python-installer python-setuptools python-wheel)
+source=(https://pypi.io/packages/source/m/$_pypiname/$_pypiname-$pkgver.tar.gz)
+sha256sums=('13805c2ae1c01b7489fab5e8eac9361662b4f2c02412e3652eece48ff6953162')
+
+build() {
+  cd $_pypiname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd $_pypiname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list