summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPaul Irofti2021-03-25 17:02:01 +0200
committerPaul Irofti2021-03-25 17:02:01 +0200
commit675722d6030956146b26fd84fb12604d55bec27f (patch)
tree22ae9d8d9ceb3bbb1d73492e8ee9542fada6b819 /PKGBUILD
downloadaur-675722d6030956146b26fd84fb12604d55bec27f.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9035f9c05fa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Paul Irofti <paul@irofti.net>
+_name=kymatio
+pkgname="python-$_name"
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Python interface for SPArse Modeling Software (SPAMS)"
+
+arch=('any')
+url="http://spams-devel.gforge.inria.fr/"
+license=('GPLv3')
+
+depends=('python' 'python-numpy' 'python-scipy' 'python-appdirs'
+ 'python-configparser' 'python-packaging')
+makedepends=('python-setuptools')
+
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('32fbb2b5c1ceeeadc30029d6d9d4590a35052cc7c685cf2bb049690708bd3dfb')
+
+prepare() {
+ cd "$srcdir/$_name-$pkgver"
+ sed -i s,requirements.txt,${_name}.egg-info\/requires.txt, setup.py
+}
+
+build() {
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set sw=2 et: