# Maintainer: Erich Eckner pkgname='python-xraydb' pkgver=4.5.0 pkgrel=7 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=('3a13e5bfef4d92eb58d44752171fc7c83be26402047b5b3aaee11e1a4cbf1eb5b8a4eb3d32f1cb98690b0ed5fd78191451c9659b1c90ed28b4bb4378679e1bac') depends=( 'python>=3.12' 'python<3.13' 'python-numpy>=1.10' 'python-scipy>=0.17' 'python-sqlalchemy>1.4') 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" }