# Maintainer: Erich Eckner pkgname='python-xraydb' pkgver=4.4.7 pkgrel=52 arch=('any') url='https://github.com/xraypy/XrayDB' license=('Unlicense') pkgdesc='X-ray Reference Data in SQLite library, including a Python interface' _pkgname="XrayDB" source=("$_pkgname-$pkgver.tar.gz::https://github.com/xraypy/XrayDB/archive/$pkgver.tar.gz") sha512sums=('c05f7bd86d22195b92167bad9cd298d4882350fea470823034e66c13a30d992c730d5de0f9f4b94b6764ed78531748f0c86b3b45574ee8dc02a1b5518672f78d') depends=( 'python<3.10' 'python>=3.9' 'python-numpy>=1.10' 'python-scipy>=0.17' 'python-sqlalchemy') makedepends=( 'python-setuptools') build() { cd "${srcdir}/${_pkgname}-${pkgver}/python" python setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}/python" python setup.py install --root="$pkgdir" }