[arch-commits] Commit in simplespectral/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 05:30:30 UTC 2019
Date: Saturday, October 26, 2019 @ 05:30:29
Author: felixonmars
Revision: 520099
archrelease: copy trunk to community-staging-any
Added:
simplespectral/repos/community-staging-any/
simplespectral/repos/community-staging-any/PKGBUILD
(from rev 520095, simplespectral/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: simplespectral/repos/community-staging-any/PKGBUILD (from rev 520095, simplespectral/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 05:30:29 UTC (rev 520099)
@@ -0,0 +1,28 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Michal Krenek (Mikos) <m.krenek at gmail.com>
+
+pkgname=simplespectral
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="Heavily simplified scipy.signal.spectral module"
+arch=('any')
+url="https://github.com/xmikos/simplespectral"
+license=('MIT')
+depends=('python' 'python-numpy')
+makedepends=('python-setuptools')
+optdepends=('python-pyfftw: fastest FFT calculations with FFTW library'
+ 'python-scipy: faster FFT calculations with scipy.fftpack library')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/xmikos/simplespectral/archive/v$pkgver.tar.gz")
+sha256sums=('4342741f7054c71f7c5fb9d38df49e048e0a4e20eb53cefd247e47937644cad0')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ python setup.py install --root="$pkgdir"
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list