blob: d5b65bf24d1f72b6db2b32b7c522654ee66d8b56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Maurizio D'Addona <mauritiusdadd@gmail.com>
_pkgname="desispec"
pkgname=python-desispec
pkgver=0.61.0
pkgrel=1
pkgdesc="Scripts and packages for building and running DESI spectroscopic analyses"
arch=(any)
url="https://github.com/desihub/desispec"
license=('custom')
depends=('python-requests' 'python-astropy' 'python-numba' 'python-healpy'
'python-speclite' 'python-sqlalchemy' 'python-fitsio'
'python-desiutil' 'python-desimodel')
source=("$_pkgname-$pkgver"::"https://github.com/desihub/${_pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('5c7430126f7a5a33d2ca80dd6ac0f4d23488c4d68552bbfdbc09c2e4774ab044')
build() {
cd "$srcdir/${_pkgname}-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/${_pkgname}-$pkgver"
install -dm755 "$pkgdir/usr"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 "LICENSE.rst" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
python setup.py install --root="$pkgdir"
}
|