summaryrefslogtreecommitdiff
path: root/python-xraydb/PKGBUILD
blob: 9ce1905b4b3a0a70b226483930e6f89b5b4b33f2 (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
# Maintainer: Erich Eckner <arch at eckner dot net>

pkgname='python-xraydb'
pkgver=4.3.2
pkgrel=1
arch=('any')
url='https://github.com/xraypy/XrayDB'
license=('Unlicense')
pkgdesc='X-ray Reference Data in SQLite library, including a Python interface'
source=("$pkgname-$pkgver.tar.gz::https://github.com/xraypy/XrayDB/archive/$pkgver.tar.gz")
sha512sums=('aef5f0da10e1bc14644bbd553c17dfd9483cd8935343c48a76fc45b7a36e7f2b724e8c3a8460cb298111d53b2da5d17858acab413983320a2a8caa8479bbf845')
depends=(
  'python>=3.8'
  'python<3.9'
)
makedepends=(
  'python-setuptools'
)

build() {
  cd "XrayDB-$pkgver/python"
  python setup.py build
}

package() {
  cd "XrayDB-$pkgver/python"
  python setup.py install --root="$pkgdir"
}