[arch-commits] Commit in (6 files)

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


    Date: Saturday, June 19, 2021 @ 19:34:05
  Author: arojas
Revision: 965632

New sagemath dependency

Added:
  python-memory-allocator/
  python-memory-allocator/repos/
  python-memory-allocator/repos/community-x86_64/
  python-memory-allocator/repos/community-x86_64/PKGBUILD
  python-memory-allocator/trunk/
  python-memory-allocator/trunk/PKGBUILD

---------------------------------+
 repos/community-x86_64/PKGBUILD |   23 +++++++++++++++++++++++
 trunk/PKGBUILD                  |   24 ++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

Added: python-memory-allocator/repos/community-x86_64/PKGBUILD
===================================================================
--- python-memory-allocator/repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ python-memory-allocator/repos/community-x86_64/PKGBUILD	2021-06-19 19:34:05 UTC (rev 965632)
@@ -0,0 +1,23 @@
+# 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
+}

Added: python-memory-allocator/trunk/PKGBUILD
===================================================================
--- python-memory-allocator/trunk/PKGBUILD	                        (rev 0)
+++ python-memory-allocator/trunk/PKGBUILD	2021-06-19 19:34:05 UTC (rev 965632)
@@ -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