Date: Thursday, April 6, 2023 @ 17:02:22
  Author: felixonmars
Revision: 1439875

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: python-memory-allocator/repos/community-staging-x86_64/PKGBUILD (from 
rev 1439874, python-memory-allocator/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-04-06 17:02:22 UTC (rev 1439875)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=python-memory-allocator
+_pypiname=memory_allocator
+pkgver=0.1.3
+pkgrel=2
+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
+}

Reply via email to