summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Irofti2021-03-25 17:02:01 +0200
committerPaul Irofti2021-03-25 17:02:01 +0200
commit675722d6030956146b26fd84fb12604d55bec27f (patch)
tree22ae9d8d9ceb3bbb1d73492e8ee9542fada6b819
downloadaur-675722d6030956146b26fd84fb12604d55bec27f.tar.gz
initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD34
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2c7c55e21ba
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = python-kymatio
+ pkgdesc = Python interface for SPArse Modeling Software (SPAMS)
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = http://spams-devel.gforge.inria.fr/
+ arch = any
+ license = GPLv3
+ makedepends = python-setuptools
+ depends = python
+ depends = python-numpy
+ depends = python-scipy
+ depends = python-appdirs
+ depends = python-configparser
+ depends = python-packaging
+ source = https://files.pythonhosted.org/packages/source/k/kymatio/kymatio-0.2.0.tar.gz
+ sha256sums = 32fbb2b5c1ceeeadc30029d6d9d4590a35052cc7c685cf2bb049690708bd3dfb
+
+pkgname = python-kymatio
+
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: