diff options
author | Dylan Delgado | 2021-03-12 01:07:52 -0500 |
---|---|---|
committer | Dylan Delgado | 2021-03-12 01:07:52 -0500 |
commit | 51673202ddd0b70ae040d4c0900f18bc240777e4 (patch) | |
tree | ca68be91d04896cfa7dff602c09ebf2fa482c990 | |
download | aur-51673202ddd0b70ae040d4c0900f18bc240777e4.tar.gz |
Initial commit, based on version 1.4.2
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1c88a3c30847 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = python-pykeops + pkgdesc = Python bindings for the cpp/cuda library KeOps. + pkgver = 1.4.2 + pkgrel = 1 + url = http://www.kernel-operations.io/keops/index.html + arch = x86_64 + license = MIT + makedepends = python-setuptools + depends = python + depends = python-numpy + depends = gcc>=7.0.0 + depends = cmake + depends = cuda + depends = python-pytorch>=1.5.0 + source = https://files.pythonhosted.org/packages/18/5a/896032f7ab0bf6eee12af5373aa714bbf4e58314684c04e8c17a6a5e4914/pykeops-1.4.2.tar.gz + sha256sums = 21c3f6bcf44f737703f1b1ff5f888e3a837eb79315f2594b344eeffca3a7640b + +pkgname = python-pykeops + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5bbc476de3a2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Dylan14 <dylan1496 at live dot com> + +pkgname=python-pykeops +pkgver=1.4.2 +pkgrel=1 +pkgdesc="Python bindings for the cpp/cuda library KeOps." +arch=('x86_64') +url="http://www.kernel-operations.io/keops/index.html" +license=('MIT') +depends=('python' 'python-numpy' 'gcc>=7.0.0' 'cmake' 'cuda' 'python-pytorch>=1.5.0') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/18/5a/896032f7ab0bf6eee12af5373aa714bbf4e58314684c04e8c17a6a5e4914/pykeops-$pkgver.tar.gz") +sha256sums=('21c3f6bcf44f737703f1b1ff5f888e3a837eb79315f2594b344eeffca3a7640b') + +_pkgname=pykeops + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --root="$pkgdir"/ --optimize=1 +}
\ No newline at end of file |