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

Antonio Rojas arojas at archlinux.org
Sat Jun 19 19:34:17 UTC 2021


    Date: Saturday, June 19, 2021 @ 19:34:17
  Author: arojas
Revision: 965633

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-19 19:34:05 UTC (rev 965632)
+++ PKGBUILD	2021-06-19 19:34:17 UTC (rev 965633)
@@ -1,23 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
-# Contributor: David Scholl <djscholl at gmail.com> 
-# Contributor: David Pretty <david.pretty at gmail.com> 
-
-pkgname=python-rpy2
-pkgver=3.4.5
-pkgrel=1
-pkgdesc='A very simple, yet robust, Python interface to the R Programming Language'
-arch=(x86_64)
-url='https://rpy2.github.io/'
-license=(MPL GPL LGPL)
-depends=(python-cffi python-numpy python-tzlocal r)
-makedepends=(python-setuptools)
-optdepends=('python-pandas: conversion between rpy and pandas')
-source=(https://pypi.io/packages/source/r/rpy2/rpy2-$pkgver.tar.gz)
-sha256sums=('5d31a5ea43f5a59f6dec30faca87edb01fc9b8affa0beae96a99be923bd7dab3')
-
-package() {
-  cd rpy2-$pkgver
-
-  python setup.py install --prefix=/usr --install-data=/usr/share --root="$pkgdir" --optimize=1
-}

Copied: python-memory-allocator/repos/community-x86_64/PKGBUILD (from rev 965632, python-memory-allocator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-19 19:34:17 UTC (rev 965633)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-memory-allocator
+_pypiname=memory_allocator
+pkgver=0.1.0
+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)
+source=(https://pypi.io/packages/source/m/$_pypiname/$_pypiname-$pkgver.tar.gz)
+sha256sums=('514711ef57b778040842999633e01543156d807beb363688947a39a54454967d')
+
+build() {
+  cd $_pypiname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_pypiname-$pkgver
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list