Date: Tuesday, November 30, 2021 @ 20:18:38
  Author: foutrelis
Revision: 1057971

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 1057969, python-memory-allocator/trunk/PKGBUILD)

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

Copied: python-memory-allocator/repos/community-staging-x86_64/PKGBUILD (from 
rev 1057969, python-memory-allocator/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-30 20:18:38 UTC (rev 1057971)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=python-memory-allocator
+_pypiname=memory_allocator
+pkgver=0.1.2
+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-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
+}

Reply via email to